##// END OF EJS Templates
fixed and new-ui changes on the inputs, tags, dropdowns
Liviu -
r3594:b948a42f new-ui
parent child Browse files
Show More
@@ -60,13 +60,13 b' form.rcform {'
60 max-width: 500px;
60 max-width: 500px;
61 margin: 0 0 @padding -@legend-width;
61 margin: 0 0 @padding -@legend-width;
62 padding: 0 0 0 @legend-width;
62 padding: 0 0 0 @legend-width;
63
63
64 .btn {
64 .btn {
65 display: inline-block;
65 display: inline-block;
66 margin: 0 1em @padding 0;
66 margin: 0 1em @padding 0;
67 }
67 }
68 }
68 }
69
69
70 input,
70 input,
71 textarea {
71 textarea {
72 float: left;
72 float: left;
@@ -113,7 +113,7 b' form.rcform {'
113 opacity: 0.5;
113 opacity: 0.5;
114 }
114 }
115 }
115 }
116
116
117 input[type="radio"]:not(#ie),
117 input[type="radio"]:not(#ie),
118 input[type="checkbox"]:not(#ie) {
118 input[type="checkbox"]:not(#ie) {
119 // Hide the input, but have it still be clickable
119 // Hide the input, but have it still be clickable
@@ -187,13 +187,13 b' form.rcform {'
187 filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */
187 filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */
188
188
189 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */ }
189 -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */ }
190
190
191 & + .label {
191 & + .label {
192 float: left;
192 float: left;
193 margin-top: 5px
193 margin-top: 5px
194 }
194 }
195 }
195 }
196
196
197 input[type=checkbox]:not(#ie) {
197 input[type=checkbox]:not(#ie) {
198 visibility: hidden;
198 visibility: hidden;
199 &:checked + label:after {
199 &:checked + label:after {
@@ -244,7 +244,7 b' form.rcform {'
244 .error-message {
244 .error-message {
245 margin-top: 5px;
245 margin-top: 5px;
246 }
246 }
247
247
248 input[type=submit] {
248 input[type=submit] {
249 &:extend(.btn-primary);
249 &:extend(.btn-primary);
250
250
@@ -271,14 +271,15 b' form.rcform {'
271 .badged-field {
271 .badged-field {
272 .user-badge {
272 .user-badge {
273 line-height: 25px;
273 line-height: 25px;
274 padding: 10px 5px;
274 padding: .5em;
275 border-radius: @border-radius;
275 border-radius: @border-radius;
276 border-top: 1px solid @rclightblue;
276 border-top: 1px solid @grey4;
277 border-left: 1px solid @rclightblue;
277 border-left: 1px solid @grey4;
278 border-bottom: 1px solid @rclightblue;
278 border-bottom: 1px solid @grey4;
279 font-size: 14px;
279 font-size: 14px;
280 font-style: normal;
280 font-style: normal;
281 color: @text-light;
281 color: @text-light;
282 background: @grey7;
282 display: inline-block;
283 display: inline-block;
283 vertical-align: top;
284 vertical-align: top;
284 cursor: default;
285 cursor: default;
@@ -605,10 +605,20 b' button.close {'
605 }
605 }
606
606
607
607
608 input {
608 input, textarea {
609 &.disabled {
609 &.disabled {
610 opacity: .5;
610 opacity: .5;
611 }
611 }
612
613 &:hover {
614 border-color: @grey3;
615 box-shadow: @button-shadow;
616 }
617
618 &:focus {
619 border-color: @rcblue;
620 box-shadow: @button-shadow;
621 }
612 }
622 }
613
623
614 // remove extra padding in firefox
624 // remove extra padding in firefox
@@ -643,16 +653,20 b' select {'
643 padding: 0 18px 0 8px;
653 padding: 0 18px 0 8px;
644 line-height:1em;
654 line-height:1em;
645 font-size: @basefontsize;
655 font-size: @basefontsize;
646 border: @border-thickness solid @rcblue;
656 border: @border-thickness solid @grey5;
657 border-radius: @border-radius;
647 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
658 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
648 color: @rcblue;
659 color: @grey4;
660 box-shadow: @button-shadow;
649
661
650 &:after {
662 &:after {
651 content: "\00A0\25BE";
663 content: "\00A0\25BE";
652 }
664 }
653
665
654 &:focus {
666 &:focus, &:hover {
655 outline: none;
667 outline: none;
668 border-color: @grey4;
669 color: @rcdarkblue;
656 }
670 }
657 }
671 }
658
672
@@ -2112,7 +2126,7 b' h3.files_location{'
2112 box-shadow: @button-shadow;
2126 box-shadow: @button-shadow;
2113
2127
2114 #at_rev, a {
2128 #at_rev, a {
2115 padding: 0.6em 0.9em;
2129 padding: 0.6em 0.4em;
2116 margin: 0;
2130 margin: 0;
2117 .box-shadow(none);
2131 .box-shadow(none);
2118 border: 0;
2132 border: 0;
@@ -2122,7 +2136,7 b' h3.files_location{'
2122
2136
2123 input#at_rev {
2137 input#at_rev {
2124 max-width: 50px;
2138 max-width: 50px;
2125 text-align: right;
2139 text-align: center;
2126 }
2140 }
2127
2141
2128 &.previous {
2142 &.previous {
@@ -536,8 +536,9 b' ul#context-pages {'
536 // PAGINATION
536 // PAGINATION
537
537
538 .pagination {
538 .pagination {
539 border: @border-thickness solid @rcblue;
539 border: @border-thickness solid @grey5;
540 color: @rcblue;
540 color: @grey2;
541 box-shadow: @button-shadow;
541
542
542 .current {
543 .current {
543 color: @grey4;
544 color: @grey4;
@@ -554,19 +555,24 b' ul#context-pages {'
554 .dataTables_paginate, .pagination-wh {
555 .dataTables_paginate, .pagination-wh {
555 text-align: left;
556 text-align: left;
556 display: inline-block;
557 display: inline-block;
557 border-left: 1px solid @rcblue;
558 border-left: 1px solid @grey5;
558 float: none;
559 float: none;
559 overflow: hidden;
560 overflow: hidden;
561 box-shadow: @button-shadow;
560
562
561 .paginate_button, .pager_curpage,
563 .paginate_button, .pager_curpage,
562 .pager_link, .pg-previous, .pg-next, .pager_dotdot {
564 .pager_link, .pg-previous, .pg-next, .pager_dotdot {
563 display: inline-block;
565 display: inline-block;
564 padding: @menupadding/4 @menupadding;
566 padding: @menupadding/4 @menupadding;
565 border: 1px solid @rcblue;
567 border: 1px solid @grey5;
566 border-left: 0;
568 border-left: 0;
567 color: @rcblue;
569 color: @grey2;
568 cursor: pointer;
570 cursor: pointer;
569 float: left;
571 float: left;
572
573 &:hover {
574 color: @rcdarkblue;
575 }
570 }
576 }
571
577
572 .pager_curpage, .pager_dotdot,
578 .pager_curpage, .pager_dotdot,
@@ -580,7 +586,7 b' ul#context-pages {'
580 display: inline-block;
586 display: inline-block;
581 text-align: left;
587 text-align: left;
582 padding: @menupadding/4 @menupadding;
588 padding: @menupadding/4 @menupadding;
583 border: 1px solid @rcblue;
589 border: 1px solid @grey5;
584 border-left: 0;
590 border-left: 0;
585 float: left;
591 float: left;
586 }
592 }
@@ -169,6 +169,12 b' select.select2{height:28px;visibility:hi'
169 width: 100%;
169 width: 100%;
170 margin: .5em 0;
170 margin: .5em 0;
171 padding: .5em;
171 padding: .5em;
172 border-color: @grey4;
173
174 &:focus, &:hover {
175 border-color: @rcblue;
176 box-shadow: @button-shadow;
177 }
172 }
178 }
173
179
174 .select2-no-results {
180 .select2-no-results {
@@ -13,15 +13,19 b''
13 font-size: (-1 + @basefontsize); //fit in tables
13 font-size: (-1 + @basefontsize); //fit in tables
14 line-height: .9em;
14 line-height: .9em;
15 border: none;
15 border: none;
16 box-shadow: @button-shadow;
16 .border-radius(@border-radius);
17 .border-radius(@border-radius);
17 font-family: @text-regular;
18 font-family: @text-regular;
18 background-image: none;
19 background-image: none;
19 color: @grey4;
20 color: @grey4;
20 .border ( @border-thickness-tags, @grey4 );
21 .border ( @border-thickness-tags, @grey5 );
21 white-space: nowrap;
22 white-space: nowrap;
22 a {
23 a {
23 color: inherit;
24 color: inherit;
24 text-decoration: underline;
25
26 &:hover {
27 color: @grey2;
28 }
25
29
26 i,
30 i,
27 [class^="icon-"]:before,
31 [class^="icon-"]:before,
@@ -29,6 +33,10 b''
29 text-decoration: none;
33 text-decoration: none;
30 }
34 }
31 }
35 }
36
37 &:hover {
38 border-color: @grey4;
39 }
32 }
40 }
33
41
34 .tag0 { .border ( @border-thickness-tags, @grey4 ); color:@grey4; }
42 .tag0 { .border ( @border-thickness-tags, @grey4 ); color:@grey4; }
General Comments 0
You need to be logged in to leave comments. Login now