Author: sevein
Date: Fri Sep 30 15:50:05 2011
New Revision: 9895
Log:
Trillium, editLink style and search boxes in sidebar
Modified:
trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
Modified: trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Fri Sep 30 15:39:14
2011 (r9894)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Fri Sep 30 15:50:05
2011 (r9895)
@@ -120,6 +120,32 @@
}
+ .editLink {
+
+ position: absolute;
+ top: 5px;
+ right: 0px;
+ width: 24px;
+ height: 24px;
+ text-indent: -10000em;
+ border: 1px solid @grayLighter;
+ background: white url(../../../../images/pencil.png) no-repeat 50% 50%;
+
+ h2 {
+
+ display: inline;
+ border: 0;
+
+ }
+
+ &:hover {
+
+ background-color: #eee;
+
+ }
+
+ }
+
> h2,
> a > h2,
> span > h2 {
@@ -273,6 +299,13 @@
}
+ .section {
+
+ margin-top: 28px;
+
+ }
+
+ .section,
.field {
margin-bottom: 8px;
@@ -281,6 +314,7 @@
font-size: inherit;
line-height: inherit;
+ font-weight: normal;
margin-bottom: 4px;
}
@@ -376,9 +410,15 @@
.yui-dialog {
+ fieldset {
+
+ padding: 1em;
+
+ }
+
.form-item {
- margin-bottom: 6px !important;
+ margin-bottom: 8px !important;
> label {
@@ -394,28 +434,6 @@
}
- > div {
-
- display: block;
- clear: both;
- margin-left: 0;
- width: auto;
-
- input,
- textarea {
-
- width: 380px;
-
- }
-
- select {
-
- width: 390px;
-
- }
-
- }
-
}
}
@@ -755,6 +773,80 @@
}
+ .search {
+
+ input[name="query"] {
+
+ background-color: #fff;
+ #font > .sans-serif(normal, 14px, 1);
+ width: 218px;
+ padding: 6px 9px;
+ color: @gray;
+ border: 1px solid @grayLight;
+ .border-radius(4px);
+ @shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.25);
+ .box-shadow(@shadow);
+ .transition(none);
+
+ display: block;
+ float: left;
+
+ &:-moz-placeholder {
+
+ color: @grayLighter;
+
+ }
+
+ &::-webkit-input-placeholder {
+
+ color: @grayLighter;
+
+ }
+
+ &:hover {
+
+ background-color: #f0f0f0;
+
+ }
+
+ &:focus,
+ &.focused {
+
+ outline: none;
+ background-color: #f0f0f0;
+ color: @grayDark;
+
+ }
+
+ }
+
+ input[type=submit] {
+
+ margin: 0 0 0 10px;
+ padding: 0 20px;
+ border: 1px solid #444;
+ #gradient > .horizontal(#333, #444);
+ background-image: url(../../../sfCaribouPlugin/images/search.png);
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+ .border-radius(4px);
+ font-size: 0px;
+ height: 30px;
+ width: 26px;
+
+ &:hover {
+
+ #gradient > .horizontal(darken(#4d90fe, 5%), darken(#4787ed, 5%));
+ background-image: url(../../../sfCaribouPlugin/images/search.png);
+ background-repeat: no-repeat;
+ background-position: 50% 50%;
+
+ }
+
+ }
+
+ }
+
}
/*
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.