##// 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
@@ -1,319 +1,320 b''
1 // forms.less
1 // forms.less
2 // For use in RhodeCode applications;
2 // For use in RhodeCode applications;
3 // see style guide documentation for guidelines.
3 // see style guide documentation for guidelines.
4
4
5 form.rcform {
5 form.rcform {
6
6
7 // reset for ie
7 // reset for ie
8 // using :not(#ie) prevents older browsers from applying these rules
8 // using :not(#ie) prevents older browsers from applying these rules
9 input[type="radio"],
9 input[type="radio"],
10 input[type="checkbox"] {
10 input[type="checkbox"] {
11 padding: 0;
11 padding: 0;
12 border: none;
12 border: none;
13 }
13 }
14 label { display: inline; border:none; padding:0; }
14 label { display: inline; border:none; padding:0; }
15 .label { display: none; }
15 .label { display: none; }
16
16
17 max-width: 940px;
17 max-width: 940px;
18 line-height: normal;
18 line-height: normal;
19 white-space: normal;
19 white-space: normal;
20 font-size: @basefontsize;
20 font-size: @basefontsize;
21 font-family: @text-light;
21 font-family: @text-light;
22 color: @form-textcolor;
22 color: @form-textcolor;
23
23
24 fieldset,
24 fieldset,
25 .buttons {
25 .buttons {
26 clear: both;
26 clear: both;
27 position: relative;
27 position: relative;
28 display:block;
28 display:block;
29 width: 100%;
29 width: 100%;
30 min-height: 3em;
30 min-height: 3em;
31 margin-bottom: @form-vertical-margin;
31 margin-bottom: @form-vertical-margin;
32 line-height: 1.2em;
32 line-height: 1.2em;
33
33
34 &:after { //clearfix
34 &:after { //clearfix
35 content: "";
35 content: "";
36 clear: both;
36 clear: both;
37 width: 100%;
37 width: 100%;
38 height: 1em;
38 height: 1em;
39 }
39 }
40
40
41 .label:not(#ie) {
41 .label:not(#ie) {
42 display: inline;
42 display: inline;
43 margin: 0 1em 0 .5em;
43 margin: 0 1em 0 .5em;
44 line-height: 1em;
44 line-height: 1em;
45 }
45 }
46 }
46 }
47
47
48 legend {
48 legend {
49 float: left;
49 float: left;
50 display: block;
50 display: block;
51 width: @legend-width;
51 width: @legend-width;
52 margin: 0;
52 margin: 0;
53 padding: 0 @padding 0 0;
53 padding: 0 @padding 0 0;
54 }
54 }
55
55
56 .fields {
56 .fields {
57 float: left;
57 float: left;
58 display: block;
58 display: block;
59 width: 100%;
59 width: 100%;
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;
73 .box-sizing(content-box);
73 .box-sizing(content-box);
74 padding: @input-padding;
74 padding: @input-padding;
75 border: @border-thickness-inputs solid @grey4;
75 border: @border-thickness-inputs solid @grey4;
76 }
76 }
77
77
78 input {
78 input {
79 float: left;
79 float: left;
80 margin: 0 @input-padding 0 0;
80 margin: 0 @input-padding 0 0;
81 line-height: 1em;
81 line-height: 1em;
82 }
82 }
83
83
84 input[type="text"],
84 input[type="text"],
85 input[type="password"],
85 input[type="password"],
86 textarea {
86 textarea {
87 float: left;
87 float: left;
88 min-width: 200px;
88 min-width: 200px;
89 margin: 0 1em @padding 0;
89 margin: 0 1em @padding 0;
90 color: @form-textcolor;
90 color: @form-textcolor;
91 }
91 }
92
92
93 input[type="text"],
93 input[type="text"],
94 input[type="password"] {
94 input[type="password"] {
95 height: 1em;
95 height: 1em;
96 }
96 }
97
97
98 textarea {
98 textarea {
99 width: 100%;
99 width: 100%;
100 margin-top: -1em; //so it lines up with legend
100 margin-top: -1em; //so it lines up with legend
101 overflow: auto;
101 overflow: auto;
102 }
102 }
103
103
104 label:not(#ie) {
104 label:not(#ie) {
105 cursor: pointer;
105 cursor: pointer;
106 display: inline-block;
106 display: inline-block;
107 position: relative;
107 position: relative;
108 background: white;
108 background: white;
109 border-radius: 4px;
109 border-radius: 4px;
110 box-shadow: none;
110 box-shadow: none;
111
111
112 &:hover::after {
112 &:hover::after {
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
120 opacity: 0;
120 opacity: 0;
121 float: left;
121 float: left;
122 height: 0;
122 height: 0;
123 width: 0;
123 width: 0;
124 margin: 0;
124 margin: 0;
125 padding: 0;
125 padding: 0;
126 }
126 }
127 input[type='radio'] + label:not(#ie),
127 input[type='radio'] + label:not(#ie),
128 input[type='checkbox'] + label:not(#ie) {
128 input[type='checkbox'] + label:not(#ie) {
129 margin: 0;
129 margin: 0;
130 clear: none;
130 clear: none;
131 }
131 }
132
132
133 input[type='radio'] + label:not(#ie) {
133 input[type='radio'] + label:not(#ie) {
134 .circle (@form-radio-width,white);
134 .circle (@form-radio-width,white);
135 float: left;
135 float: left;
136 display: inline-block;
136 display: inline-block;
137 height: @form-radio-width;
137 height: @form-radio-width;
138 width: @form-radio-width;
138 width: @form-radio-width;
139 margin: 2px 6px 2px 0;
139 margin: 2px 6px 2px 0;
140 border: 1px solid @grey4;
140 border: 1px solid @grey4;
141 background-color: white;
141 background-color: white;
142 box-shadow: none;
142 box-shadow: none;
143 text-indent: -9999px;
143 text-indent: -9999px;
144 transition: none;
144 transition: none;
145
145
146 & + .label {
146 & + .label {
147 float: left;
147 float: left;
148 margin-top: 7px
148 margin-top: 7px
149 }
149 }
150 }
150 }
151
151
152 input[type='radio']:checked + label:not(#ie) {
152 input[type='radio']:checked + label:not(#ie) {
153 margin: 0 4px 0 -2px;
153 margin: 0 4px 0 -2px;
154 padding: 3px;
154 padding: 3px;
155 border-style: double;
155 border-style: double;
156 border-color: white;
156 border-color: white;
157 border-width: thick;
157 border-width: thick;
158 background-color: @rcblue;
158 background-color: @rcblue;
159 box-shadow: none;
159 box-shadow: none;
160 }
160 }
161
161
162 input[type='checkbox'] + label:not(#ie) {
162 input[type='checkbox'] + label:not(#ie) {
163 float: left;
163 float: left;
164 width: @form-check-width;
164 width: @form-check-width;
165 height: @form-check-width;
165 height: @form-check-width;
166 margin: 0 5px 1em 0;
166 margin: 0 5px 1em 0;
167 border: 1px solid @grey3;
167 border: 1px solid @grey3;
168 .border-radius(@border-radius);
168 .border-radius(@border-radius);
169 background-color: white;
169 background-color: white;
170 box-shadow: none;
170 box-shadow: none;
171 text-indent: -9999px;
171 text-indent: -9999px;
172 transition: none;
172 transition: none;
173
173
174 &:after {
174 &:after {
175 content: '';
175 content: '';
176 width: 9px;
176 width: 9px;
177 height: 5px;
177 height: 5px;
178 position: absolute;
178 position: absolute;
179 top: 4px;
179 top: 4px;
180 left: 4px;
180 left: 4px;
181 border: 3px solid @grey3;
181 border: 3px solid @grey3;
182 border-top: none;
182 border-top: none;
183 border-right: none;
183 border-right: none;
184 background: transparent;
184 background: transparent;
185 opacity: 0;
185 opacity: 0;
186 transform: rotate(-45deg);
186 transform: rotate(-45deg);
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 {
200 opacity: 1;
200 opacity: 1;
201 }
201 }
202 }
202 }
203
203
204 // center checkbox and label on a drop-down
204 // center checkbox and label on a drop-down
205 .drop-menu + select + input[type='checkbox'] + label:not(#ie) {
205 .drop-menu + select + input[type='checkbox'] + label:not(#ie) {
206 margin-top:10px;
206 margin-top:10px;
207
207
208 & + .label {
208 & + .label {
209 margin-top: 15px;
209 margin-top: 15px;
210 }
210 }
211 }
211 }
212
212
213 .formlist {
213 .formlist {
214 position: relative;
214 position: relative;
215 float: left;
215 float: left;
216 margin: 0;
216 margin: 0;
217 padding: 0;
217 padding: 0;
218
218
219 li {
219 li {
220 list-style-type: none;
220 list-style-type: none;
221
221
222 &:after {
222 &:after {
223 content: "";
223 content: "";
224 float: left;
224 float: left;
225 display: block;
225 display: block;
226 height: @padding;
226 height: @padding;
227 width: 100%;
227 width: 100%;
228 }
228 }
229 }
229 }
230 }
230 }
231
231
232 .drop-menu {
232 .drop-menu {
233 float: left;
233 float: left;
234 margin: 0 @input-padding 0 0;
234 margin: 0 @input-padding 0 0;
235 }
235 }
236
236
237 .help-block,
237 .help-block,
238 .error-message {
238 .error-message {
239 display: block;
239 display: block;
240 clear: both;
240 clear: both;
241 margin: @textmargin 0;
241 margin: @textmargin 0;
242 }
242 }
243
243
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
251 &:hover {
251 &:hover {
252 &:extend(.btn-primary:hover);
252 &:extend(.btn-primary:hover);
253 }
253 }
254 }
254 }
255
255
256 input[type=reset] {
256 input[type=reset] {
257 &:extend(.btn-default);
257 &:extend(.btn-default);
258
258
259 &:hover {
259 &:hover {
260 &:extend(.btn-default:hover);
260 &:extend(.btn-default:hover);
261 }
261 }
262 }
262 }
263
263
264 select,
264 select,
265 option:checked {
265 option:checked {
266 background-color: @rclightblue;
266 background-color: @rclightblue;
267 }
267 }
268
268
269 }
269 }
270
270
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;
285 margin-right: -2px;
286 margin-right: -2px;
286 }
287 }
287 .badge-input-container {
288 .badge-input-container {
288 display: flex;
289 display: flex;
289 position: relative;
290 position: relative;
290 }
291 }
291 .user-disabled {
292 .user-disabled {
292 text-decoration: line-through;
293 text-decoration: line-through;
293 }
294 }
294 .badge-input-wrap {
295 .badge-input-wrap {
295 display: inline-block;
296 display: inline-block;
296 }
297 }
297 }
298 }
298
299
299 // for situations where we wish to display the form value but not the form input
300 // for situations where we wish to display the form value but not the form input
300 input.input-valuedisplay {
301 input.input-valuedisplay {
301 border: none;
302 border: none;
302 }
303 }
303
304
304 // for forms which only display information
305 // for forms which only display information
305 .infoform {
306 .infoform {
306 .fields {
307 .fields {
307 .field {
308 .field {
308 label,
309 label,
309 .label,
310 .label,
310 input,
311 input,
311 .input {
312 .input {
312 margin-top: 0;
313 margin-top: 0;
313 margin-bottom: 0;
314 margin-bottom: 0;
314 padding-top: 0;
315 padding-top: 0;
315 padding-bottom: 0;
316 padding-bottom: 0;
316 }
317 }
317 }
318 }
318 }
319 }
319 }
320 }
@@ -1,2494 +1,2508 b''
1 //Primary CSS
1 //Primary CSS
2
2
3 //--- IMPORTS ------------------//
3 //--- IMPORTS ------------------//
4
4
5 @import 'helpers';
5 @import 'helpers';
6 @import 'mixins';
6 @import 'mixins';
7 @import 'rcicons';
7 @import 'rcicons';
8 @import 'variables';
8 @import 'variables';
9 @import 'bootstrap-variables';
9 @import 'bootstrap-variables';
10 @import 'form-bootstrap';
10 @import 'form-bootstrap';
11 @import 'codemirror';
11 @import 'codemirror';
12 @import 'legacy_code_styles';
12 @import 'legacy_code_styles';
13 @import 'readme-box';
13 @import 'readme-box';
14 @import 'progress-bar';
14 @import 'progress-bar';
15
15
16 @import 'type';
16 @import 'type';
17 @import 'alerts';
17 @import 'alerts';
18 @import 'buttons';
18 @import 'buttons';
19 @import 'tags';
19 @import 'tags';
20 @import 'code-block';
20 @import 'code-block';
21 @import 'examples';
21 @import 'examples';
22 @import 'login';
22 @import 'login';
23 @import 'main-content';
23 @import 'main-content';
24 @import 'select2';
24 @import 'select2';
25 @import 'comments';
25 @import 'comments';
26 @import 'panels-bootstrap';
26 @import 'panels-bootstrap';
27 @import 'panels';
27 @import 'panels';
28 @import 'deform';
28 @import 'deform';
29
29
30 //--- BASE ------------------//
30 //--- BASE ------------------//
31 .noscript-error {
31 .noscript-error {
32 top: 0;
32 top: 0;
33 left: 0;
33 left: 0;
34 width: 100%;
34 width: 100%;
35 z-index: 101;
35 z-index: 101;
36 text-align: center;
36 text-align: center;
37 font-size: 120%;
37 font-size: 120%;
38 color: white;
38 color: white;
39 background-color: @alert2;
39 background-color: @alert2;
40 padding: 5px 0 5px 0;
40 padding: 5px 0 5px 0;
41 font-weight: @text-semibold-weight;
41 font-weight: @text-semibold-weight;
42 font-family: @text-semibold;
42 font-family: @text-semibold;
43 }
43 }
44
44
45 html {
45 html {
46 display: table;
46 display: table;
47 height: 100%;
47 height: 100%;
48 width: 100%;
48 width: 100%;
49 }
49 }
50
50
51 body {
51 body {
52 display: table-cell;
52 display: table-cell;
53 width: 100%;
53 width: 100%;
54 }
54 }
55
55
56 //--- LAYOUT ------------------//
56 //--- LAYOUT ------------------//
57
57
58 .hidden{
58 .hidden{
59 display: none !important;
59 display: none !important;
60 }
60 }
61
61
62 .box{
62 .box{
63 float: left;
63 float: left;
64 width: 100%;
64 width: 100%;
65 }
65 }
66
66
67 .browser-header {
67 .browser-header {
68 clear: both;
68 clear: both;
69 }
69 }
70 .main {
70 .main {
71 clear: both;
71 clear: both;
72 padding:0 0 @pagepadding;
72 padding:0 0 @pagepadding;
73 height: auto;
73 height: auto;
74
74
75 &:after { //clearfix
75 &:after { //clearfix
76 content:"";
76 content:"";
77 clear:both;
77 clear:both;
78 width:100%;
78 width:100%;
79 display:block;
79 display:block;
80 }
80 }
81 }
81 }
82
82
83 .action-link{
83 .action-link{
84 margin-left: @padding;
84 margin-left: @padding;
85 padding-left: @padding;
85 padding-left: @padding;
86 border-left: @border-thickness solid @border-default-color;
86 border-left: @border-thickness solid @border-default-color;
87 }
87 }
88
88
89 input + .action-link, .action-link.first{
89 input + .action-link, .action-link.first{
90 border-left: none;
90 border-left: none;
91 }
91 }
92
92
93 .action-link.last{
93 .action-link.last{
94 margin-right: @padding;
94 margin-right: @padding;
95 padding-right: @padding;
95 padding-right: @padding;
96 }
96 }
97
97
98 .action-link.active,
98 .action-link.active,
99 .action-link.active a{
99 .action-link.active a{
100 color: @grey4;
100 color: @grey4;
101 }
101 }
102
102
103 .action-link.disabled {
103 .action-link.disabled {
104 color: @grey4;
104 color: @grey4;
105 cursor: inherit;
105 cursor: inherit;
106 }
106 }
107
107
108 .clipboard-action {
108 .clipboard-action {
109 cursor: pointer;
109 cursor: pointer;
110 }
110 }
111
111
112 ul.simple-list{
112 ul.simple-list{
113 list-style: none;
113 list-style: none;
114 margin: 0;
114 margin: 0;
115 padding: 0;
115 padding: 0;
116 }
116 }
117
117
118 .main-content {
118 .main-content {
119 padding-bottom: @pagepadding;
119 padding-bottom: @pagepadding;
120 }
120 }
121
121
122 .wide-mode-wrapper {
122 .wide-mode-wrapper {
123 max-width:4000px !important;
123 max-width:4000px !important;
124 }
124 }
125
125
126 .wrapper {
126 .wrapper {
127 position: relative;
127 position: relative;
128 max-width: @wrapper-maxwidth;
128 max-width: @wrapper-maxwidth;
129 margin: 0 auto;
129 margin: 0 auto;
130 }
130 }
131
131
132 #content {
132 #content {
133 clear: both;
133 clear: both;
134 padding: 0 @contentpadding;
134 padding: 0 @contentpadding;
135 }
135 }
136
136
137 .advanced-settings-fields{
137 .advanced-settings-fields{
138 input{
138 input{
139 margin-left: @textmargin;
139 margin-left: @textmargin;
140 margin-right: @padding/2;
140 margin-right: @padding/2;
141 }
141 }
142 }
142 }
143
143
144 .cs_files_title {
144 .cs_files_title {
145 margin: @pagepadding 0 0;
145 margin: @pagepadding 0 0;
146 }
146 }
147
147
148 input.inline[type="file"] {
148 input.inline[type="file"] {
149 display: inline;
149 display: inline;
150 }
150 }
151
151
152 .error_page {
152 .error_page {
153 margin: 10% auto;
153 margin: 10% auto;
154
154
155 h1 {
155 h1 {
156 color: @grey2;
156 color: @grey2;
157 }
157 }
158
158
159 .alert {
159 .alert {
160 margin: @padding 0;
160 margin: @padding 0;
161 }
161 }
162
162
163 .error-branding {
163 .error-branding {
164 color: @grey4;
164 color: @grey4;
165 font-weight: @text-semibold-weight;
165 font-weight: @text-semibold-weight;
166 font-family: @text-semibold;
166 font-family: @text-semibold;
167 }
167 }
168
168
169 .error_message {
169 .error_message {
170 font-family: @text-regular;
170 font-family: @text-regular;
171 }
171 }
172
172
173 .sidebar {
173 .sidebar {
174 min-height: 275px;
174 min-height: 275px;
175 margin: 0;
175 margin: 0;
176 padding: 0 0 @sidebarpadding @sidebarpadding;
176 padding: 0 0 @sidebarpadding @sidebarpadding;
177 border: none;
177 border: none;
178 }
178 }
179
179
180 .main-content {
180 .main-content {
181 position: relative;
181 position: relative;
182 margin: 0 @sidebarpadding @sidebarpadding;
182 margin: 0 @sidebarpadding @sidebarpadding;
183 padding: 0 0 0 @sidebarpadding;
183 padding: 0 0 0 @sidebarpadding;
184 border-left: @border-thickness solid @grey5;
184 border-left: @border-thickness solid @grey5;
185
185
186 @media (max-width:767px) {
186 @media (max-width:767px) {
187 clear: both;
187 clear: both;
188 width: 100%;
188 width: 100%;
189 margin: 0;
189 margin: 0;
190 border: none;
190 border: none;
191 }
191 }
192 }
192 }
193
193
194 .inner-column {
194 .inner-column {
195 float: left;
195 float: left;
196 width: 29.75%;
196 width: 29.75%;
197 min-height: 150px;
197 min-height: 150px;
198 margin: @sidebarpadding 2% 0 0;
198 margin: @sidebarpadding 2% 0 0;
199 padding: 0 2% 0 0;
199 padding: 0 2% 0 0;
200 border-right: @border-thickness solid @grey5;
200 border-right: @border-thickness solid @grey5;
201
201
202 @media (max-width:767px) {
202 @media (max-width:767px) {
203 clear: both;
203 clear: both;
204 width: 100%;
204 width: 100%;
205 border: none;
205 border: none;
206 }
206 }
207
207
208 ul {
208 ul {
209 padding-left: 1.25em;
209 padding-left: 1.25em;
210 }
210 }
211
211
212 &:last-child {
212 &:last-child {
213 margin: @sidebarpadding 0 0;
213 margin: @sidebarpadding 0 0;
214 border: none;
214 border: none;
215 }
215 }
216
216
217 h4 {
217 h4 {
218 margin: 0 0 @padding;
218 margin: 0 0 @padding;
219 font-weight: @text-semibold-weight;
219 font-weight: @text-semibold-weight;
220 font-family: @text-semibold;
220 font-family: @text-semibold;
221 }
221 }
222 }
222 }
223 }
223 }
224 .error-page-logo {
224 .error-page-logo {
225 width: 130px;
225 width: 130px;
226 height: 160px;
226 height: 160px;
227 }
227 }
228
228
229 // HEADER
229 // HEADER
230 .header {
230 .header {
231
231
232 // TODO: johbo: Fix login pages, so that they work without a min-height
232 // TODO: johbo: Fix login pages, so that they work without a min-height
233 // for the header and then remove the min-height. I chose a smaller value
233 // for the header and then remove the min-height. I chose a smaller value
234 // intentionally here to avoid rendering issues in the main navigation.
234 // intentionally here to avoid rendering issues in the main navigation.
235 min-height: 49px;
235 min-height: 49px;
236
236
237 position: relative;
237 position: relative;
238 vertical-align: bottom;
238 vertical-align: bottom;
239 padding: 0 @header-padding;
239 padding: 0 @header-padding;
240 background-color: @grey1;
240 background-color: @grey1;
241 color: @grey5;
241 color: @grey5;
242
242
243 .title {
243 .title {
244 overflow: visible;
244 overflow: visible;
245 }
245 }
246
246
247 &:before,
247 &:before,
248 &:after {
248 &:after {
249 content: "";
249 content: "";
250 clear: both;
250 clear: both;
251 width: 100%;
251 width: 100%;
252 }
252 }
253
253
254 // TODO: johbo: Avoids breaking "Repositories" chooser
254 // TODO: johbo: Avoids breaking "Repositories" chooser
255 .select2-container .select2-choice .select2-arrow {
255 .select2-container .select2-choice .select2-arrow {
256 display: none;
256 display: none;
257 }
257 }
258 }
258 }
259
259
260 #header-inner {
260 #header-inner {
261 &.title {
261 &.title {
262 margin: 0;
262 margin: 0;
263 }
263 }
264 &:before,
264 &:before,
265 &:after {
265 &:after {
266 content: "";
266 content: "";
267 clear: both;
267 clear: both;
268 }
268 }
269 }
269 }
270
270
271 // Gists
271 // Gists
272 #files_data {
272 #files_data {
273 clear: both; //for firefox
273 clear: both; //for firefox
274 }
274 }
275 #gistid {
275 #gistid {
276 margin-right: @padding;
276 margin-right: @padding;
277 }
277 }
278
278
279 // Global Settings Editor
279 // Global Settings Editor
280 .textarea.editor {
280 .textarea.editor {
281 float: left;
281 float: left;
282 position: relative;
282 position: relative;
283 max-width: @texteditor-width;
283 max-width: @texteditor-width;
284
284
285 select {
285 select {
286 position: absolute;
286 position: absolute;
287 top:10px;
287 top:10px;
288 right:0;
288 right:0;
289 }
289 }
290
290
291 .CodeMirror {
291 .CodeMirror {
292 margin: 0;
292 margin: 0;
293 }
293 }
294
294
295 .help-block {
295 .help-block {
296 margin: 0 0 @padding;
296 margin: 0 0 @padding;
297 padding:.5em;
297 padding:.5em;
298 background-color: @grey6;
298 background-color: @grey6;
299 &.pre-formatting {
299 &.pre-formatting {
300 white-space: pre;
300 white-space: pre;
301 }
301 }
302 }
302 }
303 }
303 }
304
304
305 ul.auth_plugins {
305 ul.auth_plugins {
306 margin: @padding 0 @padding @legend-width;
306 margin: @padding 0 @padding @legend-width;
307 padding: 0;
307 padding: 0;
308
308
309 li {
309 li {
310 margin-bottom: @padding;
310 margin-bottom: @padding;
311 line-height: 1em;
311 line-height: 1em;
312 list-style-type: none;
312 list-style-type: none;
313
313
314 .auth_buttons .btn {
314 .auth_buttons .btn {
315 margin-right: @padding;
315 margin-right: @padding;
316 }
316 }
317
317
318 }
318 }
319 }
319 }
320
320
321
321
322 // My Account PR list
322 // My Account PR list
323
323
324 #show_closed {
324 #show_closed {
325 margin: 0 1em 0 0;
325 margin: 0 1em 0 0;
326 }
326 }
327
327
328 .pullrequestlist {
328 .pullrequestlist {
329 .closed {
329 .closed {
330 background-color: @grey6;
330 background-color: @grey6;
331 }
331 }
332 .td-status {
332 .td-status {
333 padding-left: .5em;
333 padding-left: .5em;
334 }
334 }
335 .log-container .truncate {
335 .log-container .truncate {
336 height: 2.75em;
336 height: 2.75em;
337 white-space: pre-line;
337 white-space: pre-line;
338 }
338 }
339 table.rctable .user {
339 table.rctable .user {
340 padding-left: 0;
340 padding-left: 0;
341 }
341 }
342 table.rctable {
342 table.rctable {
343 td.td-description,
343 td.td-description,
344 .rc-user {
344 .rc-user {
345 min-width: auto;
345 min-width: auto;
346 }
346 }
347 }
347 }
348 }
348 }
349
349
350 // Pull Requests
350 // Pull Requests
351
351
352 .pullrequests_section_head {
352 .pullrequests_section_head {
353 display: block;
353 display: block;
354 clear: both;
354 clear: both;
355 margin: @padding 0;
355 margin: @padding 0;
356 font-weight: @text-bold-weight;
356 font-weight: @text-bold-weight;
357 font-family: @text-bold;
357 font-family: @text-bold;
358 }
358 }
359
359
360 .pr-origininfo, .pr-targetinfo {
360 .pr-origininfo, .pr-targetinfo {
361 position: relative;
361 position: relative;
362
362
363 .tag {
363 .tag {
364 display: inline-block;
364 display: inline-block;
365 margin: 0 1em .5em 0;
365 margin: 0 1em .5em 0;
366 }
366 }
367
367
368 .clone-url {
368 .clone-url {
369 display: inline-block;
369 display: inline-block;
370 margin: 0 0 .5em 0;
370 margin: 0 0 .5em 0;
371 padding: 0;
371 padding: 0;
372 line-height: 1.2em;
372 line-height: 1.2em;
373 }
373 }
374 }
374 }
375
375
376 .pr-mergeinfo {
376 .pr-mergeinfo {
377 min-width: 95% !important;
377 min-width: 95% !important;
378 padding: 0 !important;
378 padding: 0 !important;
379 border: 0;
379 border: 0;
380 }
380 }
381 .pr-mergeinfo-copy {
381 .pr-mergeinfo-copy {
382 padding: 0 0;
382 padding: 0 0;
383 }
383 }
384
384
385 .pr-pullinfo {
385 .pr-pullinfo {
386 min-width: 95% !important;
386 min-width: 95% !important;
387 padding: 0 !important;
387 padding: 0 !important;
388 border: 0;
388 border: 0;
389 }
389 }
390 .pr-pullinfo-copy {
390 .pr-pullinfo-copy {
391 padding: 0 0;
391 padding: 0 0;
392 }
392 }
393
393
394
394
395 #pr-title-input {
395 #pr-title-input {
396 width: 72%;
396 width: 72%;
397 font-size: 1em;
397 font-size: 1em;
398 margin: 0;
398 margin: 0;
399 padding: 0 0 0 @padding/4;
399 padding: 0 0 0 @padding/4;
400 line-height: 1.7em;
400 line-height: 1.7em;
401 color: @text-color;
401 color: @text-color;
402 letter-spacing: .02em;
402 letter-spacing: .02em;
403 font-weight: @text-bold-weight;
403 font-weight: @text-bold-weight;
404 font-family: @text-bold;
404 font-family: @text-bold;
405 }
405 }
406
406
407 #pullrequest_title {
407 #pullrequest_title {
408 width: 100%;
408 width: 100%;
409 box-sizing: border-box;
409 box-sizing: border-box;
410 }
410 }
411
411
412 #pr_open_message {
412 #pr_open_message {
413 border: @border-thickness solid #fff;
413 border: @border-thickness solid #fff;
414 border-radius: @border-radius;
414 border-radius: @border-radius;
415 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
415 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
416 text-align: left;
416 text-align: left;
417 overflow: hidden;
417 overflow: hidden;
418 }
418 }
419
419
420 .pr-submit-button {
420 .pr-submit-button {
421 float: right;
421 float: right;
422 margin: 0 0 0 5px;
422 margin: 0 0 0 5px;
423 }
423 }
424
424
425 .pr-spacing-container {
425 .pr-spacing-container {
426 padding: 20px;
426 padding: 20px;
427 clear: both
427 clear: both
428 }
428 }
429
429
430 #pr-description-input {
430 #pr-description-input {
431 margin-bottom: 0;
431 margin-bottom: 0;
432 }
432 }
433
433
434 .pr-description-label {
434 .pr-description-label {
435 vertical-align: top;
435 vertical-align: top;
436 }
436 }
437
437
438 .perms_section_head {
438 .perms_section_head {
439 min-width: 625px;
439 min-width: 625px;
440
440
441 h2 {
441 h2 {
442 margin-bottom: 0;
442 margin-bottom: 0;
443 }
443 }
444
444
445 .label-checkbox {
445 .label-checkbox {
446 float: left;
446 float: left;
447 }
447 }
448
448
449 &.field {
449 &.field {
450 margin: @space 0 @padding;
450 margin: @space 0 @padding;
451 }
451 }
452
452
453 &:first-child.field {
453 &:first-child.field {
454 margin-top: 0;
454 margin-top: 0;
455
455
456 .label {
456 .label {
457 margin-top: 0;
457 margin-top: 0;
458 padding-top: 0;
458 padding-top: 0;
459 }
459 }
460
460
461 .radios {
461 .radios {
462 padding-top: 0;
462 padding-top: 0;
463 }
463 }
464 }
464 }
465
465
466 .radios {
466 .radios {
467 position: relative;
467 position: relative;
468 width: 505px;
468 width: 505px;
469 }
469 }
470 }
470 }
471
471
472 //--- MODULES ------------------//
472 //--- MODULES ------------------//
473
473
474
474
475 // Server Announcement
475 // Server Announcement
476 #server-announcement {
476 #server-announcement {
477 width: 95%;
477 width: 95%;
478 margin: @padding auto;
478 margin: @padding auto;
479 padding: @padding;
479 padding: @padding;
480 border-width: 2px;
480 border-width: 2px;
481 border-style: solid;
481 border-style: solid;
482 .border-radius(2px);
482 .border-radius(2px);
483 font-weight: @text-bold-weight;
483 font-weight: @text-bold-weight;
484 font-family: @text-bold;
484 font-family: @text-bold;
485
485
486 &.info { border-color: @alert4; background-color: @alert4-inner; }
486 &.info { border-color: @alert4; background-color: @alert4-inner; }
487 &.warning { border-color: @alert3; background-color: @alert3-inner; }
487 &.warning { border-color: @alert3; background-color: @alert3-inner; }
488 &.error { border-color: @alert2; background-color: @alert2-inner; }
488 &.error { border-color: @alert2; background-color: @alert2-inner; }
489 &.success { border-color: @alert1; background-color: @alert1-inner; }
489 &.success { border-color: @alert1; background-color: @alert1-inner; }
490 &.neutral { border-color: @grey3; background-color: @grey6; }
490 &.neutral { border-color: @grey3; background-color: @grey6; }
491 }
491 }
492
492
493 // Fixed Sidebar Column
493 // Fixed Sidebar Column
494 .sidebar-col-wrapper {
494 .sidebar-col-wrapper {
495 padding-left: @sidebar-all-width;
495 padding-left: @sidebar-all-width;
496
496
497 .sidebar {
497 .sidebar {
498 width: @sidebar-width;
498 width: @sidebar-width;
499 margin-left: -@sidebar-all-width;
499 margin-left: -@sidebar-all-width;
500 }
500 }
501 }
501 }
502
502
503 .sidebar-col-wrapper.scw-small {
503 .sidebar-col-wrapper.scw-small {
504 padding-left: @sidebar-small-all-width;
504 padding-left: @sidebar-small-all-width;
505
505
506 .sidebar {
506 .sidebar {
507 width: @sidebar-small-width;
507 width: @sidebar-small-width;
508 margin-left: -@sidebar-small-all-width;
508 margin-left: -@sidebar-small-all-width;
509 }
509 }
510 }
510 }
511
511
512
512
513 // FOOTER
513 // FOOTER
514 #footer {
514 #footer {
515 padding: 0;
515 padding: 0;
516 text-align: center;
516 text-align: center;
517 vertical-align: middle;
517 vertical-align: middle;
518 color: @grey2;
518 color: @grey2;
519 background-color: @grey6;
519 background-color: @grey6;
520
520
521 p {
521 p {
522 margin: 0;
522 margin: 0;
523 padding: 1em;
523 padding: 1em;
524 line-height: 1em;
524 line-height: 1em;
525 }
525 }
526
526
527 .server-instance { //server instance
527 .server-instance { //server instance
528 display: none;
528 display: none;
529 }
529 }
530
530
531 .title {
531 .title {
532 float: none;
532 float: none;
533 margin: 0 auto;
533 margin: 0 auto;
534 }
534 }
535 }
535 }
536
536
537 button.close {
537 button.close {
538 padding: 0;
538 padding: 0;
539 cursor: pointer;
539 cursor: pointer;
540 background: transparent;
540 background: transparent;
541 border: 0;
541 border: 0;
542 .box-shadow(none);
542 .box-shadow(none);
543 -webkit-appearance: none;
543 -webkit-appearance: none;
544 }
544 }
545
545
546 .close {
546 .close {
547 float: right;
547 float: right;
548 font-size: 21px;
548 font-size: 21px;
549 font-family: @text-bootstrap;
549 font-family: @text-bootstrap;
550 line-height: 1em;
550 line-height: 1em;
551 font-weight: bold;
551 font-weight: bold;
552 color: @grey2;
552 color: @grey2;
553
553
554 &:hover,
554 &:hover,
555 &:focus {
555 &:focus {
556 color: @grey1;
556 color: @grey1;
557 text-decoration: none;
557 text-decoration: none;
558 cursor: pointer;
558 cursor: pointer;
559 }
559 }
560 }
560 }
561
561
562 // GRID
562 // GRID
563 .sorting,
563 .sorting,
564 .sorting_desc,
564 .sorting_desc,
565 .sorting_asc {
565 .sorting_asc {
566 cursor: pointer;
566 cursor: pointer;
567 }
567 }
568 .sorting_desc:after {
568 .sorting_desc:after {
569 content: "\00A0\25B2";
569 content: "\00A0\25B2";
570 font-size: .75em;
570 font-size: .75em;
571 }
571 }
572 .sorting_asc:after {
572 .sorting_asc:after {
573 content: "\00A0\25BC";
573 content: "\00A0\25BC";
574 font-size: .68em;
574 font-size: .68em;
575 }
575 }
576
576
577
577
578 .user_auth_tokens {
578 .user_auth_tokens {
579
579
580 &.truncate {
580 &.truncate {
581 white-space: nowrap;
581 white-space: nowrap;
582 overflow: hidden;
582 overflow: hidden;
583 text-overflow: ellipsis;
583 text-overflow: ellipsis;
584 }
584 }
585
585
586 .fields .field .input {
586 .fields .field .input {
587 margin: 0;
587 margin: 0;
588 }
588 }
589
589
590 input#description {
590 input#description {
591 width: 100px;
591 width: 100px;
592 margin: 0;
592 margin: 0;
593 }
593 }
594
594
595 .drop-menu {
595 .drop-menu {
596 // TODO: johbo: Remove this, should work out of the box when
596 // TODO: johbo: Remove this, should work out of the box when
597 // having multiple inputs inline
597 // having multiple inputs inline
598 margin: 0 0 0 5px;
598 margin: 0 0 0 5px;
599 }
599 }
600 }
600 }
601 #user_list_table {
601 #user_list_table {
602 .closed {
602 .closed {
603 background-color: @grey6;
603 background-color: @grey6;
604 }
604 }
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
615 input::-moz-focus-inner { border:0; padding:0 }
625 input::-moz-focus-inner { border:0; padding:0 }
616
626
617 .adjacent input {
627 .adjacent input {
618 margin-bottom: @padding;
628 margin-bottom: @padding;
619 }
629 }
620
630
621 .permissions_boxes {
631 .permissions_boxes {
622 display: block;
632 display: block;
623 }
633 }
624
634
625 //FORMS
635 //FORMS
626
636
627 .medium-inline,
637 .medium-inline,
628 input#description.medium-inline {
638 input#description.medium-inline {
629 display: inline;
639 display: inline;
630 width: @medium-inline-input-width;
640 width: @medium-inline-input-width;
631 min-width: 100px;
641 min-width: 100px;
632 }
642 }
633
643
634 select {
644 select {
635 //reset
645 //reset
636 -webkit-appearance: none;
646 -webkit-appearance: none;
637 -moz-appearance: none;
647 -moz-appearance: none;
638
648
639 display: inline-block;
649 display: inline-block;
640 height: 28px;
650 height: 28px;
641 width: auto;
651 width: auto;
642 margin: 0 @padding @padding 0;
652 margin: 0 @padding @padding 0;
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
659 option {
673 option {
660 &:focus {
674 &:focus {
661 outline: none;
675 outline: none;
662 }
676 }
663 }
677 }
664
678
665 input,
679 input,
666 textarea {
680 textarea {
667 padding: @input-padding;
681 padding: @input-padding;
668 border: @input-border-thickness solid @border-highlight-color;
682 border: @input-border-thickness solid @border-highlight-color;
669 .border-radius (@border-radius);
683 .border-radius (@border-radius);
670 font-family: @text-light;
684 font-family: @text-light;
671 font-size: @basefontsize;
685 font-size: @basefontsize;
672
686
673 &.input-sm {
687 &.input-sm {
674 padding: 5px;
688 padding: 5px;
675 }
689 }
676
690
677 &#description {
691 &#description {
678 min-width: @input-description-minwidth;
692 min-width: @input-description-minwidth;
679 min-height: 1em;
693 min-height: 1em;
680 padding: 10px;
694 padding: 10px;
681 }
695 }
682 }
696 }
683
697
684 .field-sm {
698 .field-sm {
685 input,
699 input,
686 textarea {
700 textarea {
687 padding: 5px;
701 padding: 5px;
688 }
702 }
689 }
703 }
690
704
691 textarea {
705 textarea {
692 display: block;
706 display: block;
693 clear: both;
707 clear: both;
694 width: 100%;
708 width: 100%;
695 min-height: 100px;
709 min-height: 100px;
696 margin-bottom: @padding;
710 margin-bottom: @padding;
697 .box-sizing(border-box);
711 .box-sizing(border-box);
698 overflow: auto;
712 overflow: auto;
699 }
713 }
700
714
701 label {
715 label {
702 font-family: @text-light;
716 font-family: @text-light;
703 }
717 }
704
718
705 // GRAVATARS
719 // GRAVATARS
706 // centers gravatar on username to the right
720 // centers gravatar on username to the right
707
721
708 .gravatar {
722 .gravatar {
709 display: inline;
723 display: inline;
710 min-width: 16px;
724 min-width: 16px;
711 min-height: 16px;
725 min-height: 16px;
712 margin: -5px 0;
726 margin: -5px 0;
713 padding: 0;
727 padding: 0;
714 line-height: 1em;
728 line-height: 1em;
715 border: 1px solid @grey4;
729 border: 1px solid @grey4;
716 box-sizing: content-box;
730 box-sizing: content-box;
717
731
718 &.gravatar-large {
732 &.gravatar-large {
719 margin: -0.5em .25em -0.5em 0;
733 margin: -0.5em .25em -0.5em 0;
720 }
734 }
721
735
722 & + .user {
736 & + .user {
723 display: inline;
737 display: inline;
724 margin: 0;
738 margin: 0;
725 padding: 0 0 0 .17em;
739 padding: 0 0 0 .17em;
726 line-height: 1em;
740 line-height: 1em;
727 }
741 }
728 }
742 }
729
743
730 .user-inline-data {
744 .user-inline-data {
731 display: inline-block;
745 display: inline-block;
732 float: left;
746 float: left;
733 padding-left: .5em;
747 padding-left: .5em;
734 line-height: 1.3em;
748 line-height: 1.3em;
735 }
749 }
736
750
737 .rc-user { // gravatar + user wrapper
751 .rc-user { // gravatar + user wrapper
738 float: left;
752 float: left;
739 position: relative;
753 position: relative;
740 min-width: 100px;
754 min-width: 100px;
741 max-width: 200px;
755 max-width: 200px;
742 min-height: (@gravatar-size + @border-thickness * 2); // account for border
756 min-height: (@gravatar-size + @border-thickness * 2); // account for border
743 display: block;
757 display: block;
744 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
758 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
745
759
746
760
747 .gravatar {
761 .gravatar {
748 display: block;
762 display: block;
749 position: absolute;
763 position: absolute;
750 top: 0;
764 top: 0;
751 left: 0;
765 left: 0;
752 min-width: @gravatar-size;
766 min-width: @gravatar-size;
753 min-height: @gravatar-size;
767 min-height: @gravatar-size;
754 margin: 0;
768 margin: 0;
755 }
769 }
756
770
757 .user {
771 .user {
758 display: block;
772 display: block;
759 max-width: 175px;
773 max-width: 175px;
760 padding-top: 2px;
774 padding-top: 2px;
761 overflow: hidden;
775 overflow: hidden;
762 text-overflow: ellipsis;
776 text-overflow: ellipsis;
763 }
777 }
764 }
778 }
765
779
766 .gist-gravatar,
780 .gist-gravatar,
767 .journal_container {
781 .journal_container {
768 .gravatar-large {
782 .gravatar-large {
769 margin: 0 .5em -10px 0;
783 margin: 0 .5em -10px 0;
770 }
784 }
771 }
785 }
772
786
773
787
774 // ADMIN SETTINGS
788 // ADMIN SETTINGS
775
789
776 // Tag Patterns
790 // Tag Patterns
777 .tag_patterns {
791 .tag_patterns {
778 .tag_input {
792 .tag_input {
779 margin-bottom: @padding;
793 margin-bottom: @padding;
780 }
794 }
781 }
795 }
782
796
783 .locked_input {
797 .locked_input {
784 position: relative;
798 position: relative;
785
799
786 input {
800 input {
787 display: inline;
801 display: inline;
788 margin: 3px 5px 0px 0px;
802 margin: 3px 5px 0px 0px;
789 }
803 }
790
804
791 br {
805 br {
792 display: none;
806 display: none;
793 }
807 }
794
808
795 .error-message {
809 .error-message {
796 float: left;
810 float: left;
797 width: 100%;
811 width: 100%;
798 }
812 }
799
813
800 .lock_input_button {
814 .lock_input_button {
801 display: inline;
815 display: inline;
802 }
816 }
803
817
804 .help-block {
818 .help-block {
805 clear: both;
819 clear: both;
806 }
820 }
807 }
821 }
808
822
809 // Notifications
823 // Notifications
810
824
811 .notifications_buttons {
825 .notifications_buttons {
812 margin: 0 0 @space 0;
826 margin: 0 0 @space 0;
813 padding: 0;
827 padding: 0;
814
828
815 .btn {
829 .btn {
816 display: inline-block;
830 display: inline-block;
817 }
831 }
818 }
832 }
819
833
820 .notification-list {
834 .notification-list {
821
835
822 div {
836 div {
823 display: inline-block;
837 display: inline-block;
824 vertical-align: middle;
838 vertical-align: middle;
825 }
839 }
826
840
827 .container {
841 .container {
828 display: block;
842 display: block;
829 margin: 0 0 @padding 0;
843 margin: 0 0 @padding 0;
830 }
844 }
831
845
832 .delete-notifications {
846 .delete-notifications {
833 margin-left: @padding;
847 margin-left: @padding;
834 text-align: right;
848 text-align: right;
835 cursor: pointer;
849 cursor: pointer;
836 }
850 }
837
851
838 .read-notifications {
852 .read-notifications {
839 margin-left: @padding/2;
853 margin-left: @padding/2;
840 text-align: right;
854 text-align: right;
841 width: 35px;
855 width: 35px;
842 cursor: pointer;
856 cursor: pointer;
843 }
857 }
844
858
845 .icon-minus-sign {
859 .icon-minus-sign {
846 color: @alert2;
860 color: @alert2;
847 }
861 }
848
862
849 .icon-ok-sign {
863 .icon-ok-sign {
850 color: @alert1;
864 color: @alert1;
851 }
865 }
852 }
866 }
853
867
854 .user_settings {
868 .user_settings {
855 float: left;
869 float: left;
856 clear: both;
870 clear: both;
857 display: block;
871 display: block;
858 width: 100%;
872 width: 100%;
859
873
860 .gravatar_box {
874 .gravatar_box {
861 margin-bottom: @padding;
875 margin-bottom: @padding;
862
876
863 &:after {
877 &:after {
864 content: " ";
878 content: " ";
865 clear: both;
879 clear: both;
866 width: 100%;
880 width: 100%;
867 }
881 }
868 }
882 }
869
883
870 .fields .field {
884 .fields .field {
871 clear: both;
885 clear: both;
872 }
886 }
873 }
887 }
874
888
875 .advanced_settings {
889 .advanced_settings {
876 margin-bottom: @space;
890 margin-bottom: @space;
877
891
878 .help-block {
892 .help-block {
879 margin-left: 0;
893 margin-left: 0;
880 }
894 }
881
895
882 button + .help-block {
896 button + .help-block {
883 margin-top: @padding;
897 margin-top: @padding;
884 }
898 }
885 }
899 }
886
900
887 // admin settings radio buttons and labels
901 // admin settings radio buttons and labels
888 .label-2 {
902 .label-2 {
889 float: left;
903 float: left;
890 width: @label2-width;
904 width: @label2-width;
891
905
892 label {
906 label {
893 color: @grey1;
907 color: @grey1;
894 }
908 }
895 }
909 }
896 .checkboxes {
910 .checkboxes {
897 float: left;
911 float: left;
898 width: @checkboxes-width;
912 width: @checkboxes-width;
899 margin-bottom: @padding;
913 margin-bottom: @padding;
900
914
901 .checkbox {
915 .checkbox {
902 width: 100%;
916 width: 100%;
903
917
904 label {
918 label {
905 margin: 0;
919 margin: 0;
906 padding: 0;
920 padding: 0;
907 }
921 }
908 }
922 }
909
923
910 .checkbox + .checkbox {
924 .checkbox + .checkbox {
911 display: inline-block;
925 display: inline-block;
912 }
926 }
913
927
914 label {
928 label {
915 margin-right: 1em;
929 margin-right: 1em;
916 }
930 }
917 }
931 }
918
932
919 // CHANGELOG
933 // CHANGELOG
920 .container_header {
934 .container_header {
921 float: left;
935 float: left;
922 display: block;
936 display: block;
923 width: 100%;
937 width: 100%;
924 margin: @padding 0 @padding;
938 margin: @padding 0 @padding;
925
939
926 #filter_changelog {
940 #filter_changelog {
927 float: left;
941 float: left;
928 margin-right: @padding;
942 margin-right: @padding;
929 }
943 }
930
944
931 .breadcrumbs_light {
945 .breadcrumbs_light {
932 display: inline-block;
946 display: inline-block;
933 }
947 }
934 }
948 }
935
949
936 .info_box {
950 .info_box {
937 float: right;
951 float: right;
938 }
952 }
939
953
940
954
941 #graph_nodes {
955 #graph_nodes {
942 padding-top: 43px;
956 padding-top: 43px;
943 }
957 }
944
958
945 #graph_content{
959 #graph_content{
946
960
947 // adjust for table headers so that graph renders properly
961 // adjust for table headers so that graph renders properly
948 // #graph_nodes padding - table cell padding
962 // #graph_nodes padding - table cell padding
949 padding-top: (@space - (@basefontsize * 2.4));
963 padding-top: (@space - (@basefontsize * 2.4));
950
964
951 &.graph_full_width {
965 &.graph_full_width {
952 width: 100%;
966 width: 100%;
953 max-width: 100%;
967 max-width: 100%;
954 }
968 }
955 }
969 }
956
970
957 #graph {
971 #graph {
958 .flag_status {
972 .flag_status {
959 margin: 0;
973 margin: 0;
960 }
974 }
961
975
962 .pagination-left {
976 .pagination-left {
963 float: left;
977 float: left;
964 clear: both;
978 clear: both;
965 }
979 }
966
980
967 .log-container {
981 .log-container {
968 max-width: 345px;
982 max-width: 345px;
969
983
970 .message{
984 .message{
971 max-width: 340px;
985 max-width: 340px;
972 }
986 }
973 }
987 }
974
988
975 .graph-col-wrapper {
989 .graph-col-wrapper {
976 padding-left: 110px;
990 padding-left: 110px;
977
991
978 #graph_nodes {
992 #graph_nodes {
979 width: 100px;
993 width: 100px;
980 margin-left: -110px;
994 margin-left: -110px;
981 float: left;
995 float: left;
982 clear: left;
996 clear: left;
983 }
997 }
984 }
998 }
985
999
986 .load-more-commits {
1000 .load-more-commits {
987 text-align: center;
1001 text-align: center;
988 }
1002 }
989 .load-more-commits:hover {
1003 .load-more-commits:hover {
990 background-color: @grey7;
1004 background-color: @grey7;
991 }
1005 }
992 .load-more-commits {
1006 .load-more-commits {
993 a {
1007 a {
994 display: block;
1008 display: block;
995 }
1009 }
996 }
1010 }
997 }
1011 }
998
1012
999 #filter_changelog {
1013 #filter_changelog {
1000 float: left;
1014 float: left;
1001 }
1015 }
1002
1016
1003
1017
1004 //--- THEME ------------------//
1018 //--- THEME ------------------//
1005
1019
1006 #logo {
1020 #logo {
1007 float: left;
1021 float: left;
1008 margin: 9px 0 0 0;
1022 margin: 9px 0 0 0;
1009
1023
1010 .header {
1024 .header {
1011 background-color: transparent;
1025 background-color: transparent;
1012 }
1026 }
1013
1027
1014 a {
1028 a {
1015 display: inline-block;
1029 display: inline-block;
1016 }
1030 }
1017
1031
1018 img {
1032 img {
1019 height:30px;
1033 height:30px;
1020 }
1034 }
1021 }
1035 }
1022
1036
1023 .logo-wrapper {
1037 .logo-wrapper {
1024 float:left;
1038 float:left;
1025 }
1039 }
1026
1040
1027 .branding {
1041 .branding {
1028 float: left;
1042 float: left;
1029 padding: 9px 2px;
1043 padding: 9px 2px;
1030 line-height: 1em;
1044 line-height: 1em;
1031 font-size: @navigation-fontsize;
1045 font-size: @navigation-fontsize;
1032
1046
1033 a {
1047 a {
1034 color: @grey5
1048 color: @grey5
1035 }
1049 }
1036 }
1050 }
1037
1051
1038 img {
1052 img {
1039 border: none;
1053 border: none;
1040 outline: none;
1054 outline: none;
1041 }
1055 }
1042 user-profile-header
1056 user-profile-header
1043 label {
1057 label {
1044
1058
1045 input[type="checkbox"] {
1059 input[type="checkbox"] {
1046 margin-right: 1em;
1060 margin-right: 1em;
1047 }
1061 }
1048 input[type="radio"] {
1062 input[type="radio"] {
1049 margin-right: 1em;
1063 margin-right: 1em;
1050 }
1064 }
1051 }
1065 }
1052
1066
1053 .flag_status {
1067 .flag_status {
1054 margin: 2px 8px 6px 2px;
1068 margin: 2px 8px 6px 2px;
1055 &.under_review {
1069 &.under_review {
1056 .circle(5px, @alert3);
1070 .circle(5px, @alert3);
1057 }
1071 }
1058 &.approved {
1072 &.approved {
1059 .circle(5px, @alert1);
1073 .circle(5px, @alert1);
1060 }
1074 }
1061 &.rejected,
1075 &.rejected,
1062 &.forced_closed{
1076 &.forced_closed{
1063 .circle(5px, @alert2);
1077 .circle(5px, @alert2);
1064 }
1078 }
1065 &.not_reviewed {
1079 &.not_reviewed {
1066 .circle(5px, @grey5);
1080 .circle(5px, @grey5);
1067 }
1081 }
1068 }
1082 }
1069
1083
1070 .flag_status_comment_box {
1084 .flag_status_comment_box {
1071 margin: 5px 6px 0px 2px;
1085 margin: 5px 6px 0px 2px;
1072 }
1086 }
1073 .test_pattern_preview {
1087 .test_pattern_preview {
1074 margin: @space 0;
1088 margin: @space 0;
1075
1089
1076 p {
1090 p {
1077 margin-bottom: 0;
1091 margin-bottom: 0;
1078 border-bottom: @border-thickness solid @border-default-color;
1092 border-bottom: @border-thickness solid @border-default-color;
1079 color: @grey3;
1093 color: @grey3;
1080 }
1094 }
1081
1095
1082 .btn {
1096 .btn {
1083 margin-bottom: @padding;
1097 margin-bottom: @padding;
1084 }
1098 }
1085 }
1099 }
1086 #test_pattern_result {
1100 #test_pattern_result {
1087 display: none;
1101 display: none;
1088 &:extend(pre);
1102 &:extend(pre);
1089 padding: .9em;
1103 padding: .9em;
1090 color: @grey3;
1104 color: @grey3;
1091 background-color: @grey7;
1105 background-color: @grey7;
1092 border-right: @border-thickness solid @border-default-color;
1106 border-right: @border-thickness solid @border-default-color;
1093 border-bottom: @border-thickness solid @border-default-color;
1107 border-bottom: @border-thickness solid @border-default-color;
1094 border-left: @border-thickness solid @border-default-color;
1108 border-left: @border-thickness solid @border-default-color;
1095 }
1109 }
1096
1110
1097 #repo_vcs_settings {
1111 #repo_vcs_settings {
1098 #inherit_overlay_vcs_default {
1112 #inherit_overlay_vcs_default {
1099 display: none;
1113 display: none;
1100 }
1114 }
1101 #inherit_overlay_vcs_custom {
1115 #inherit_overlay_vcs_custom {
1102 display: custom;
1116 display: custom;
1103 }
1117 }
1104 &.inherited {
1118 &.inherited {
1105 #inherit_overlay_vcs_default {
1119 #inherit_overlay_vcs_default {
1106 display: block;
1120 display: block;
1107 }
1121 }
1108 #inherit_overlay_vcs_custom {
1122 #inherit_overlay_vcs_custom {
1109 display: none;
1123 display: none;
1110 }
1124 }
1111 }
1125 }
1112 }
1126 }
1113
1127
1114 .issue-tracker-link {
1128 .issue-tracker-link {
1115 color: @rcblue;
1129 color: @rcblue;
1116 }
1130 }
1117
1131
1118 // Issue Tracker Table Show/Hide
1132 // Issue Tracker Table Show/Hide
1119 #repo_issue_tracker {
1133 #repo_issue_tracker {
1120 #inherit_overlay {
1134 #inherit_overlay {
1121 display: none;
1135 display: none;
1122 }
1136 }
1123 #custom_overlay {
1137 #custom_overlay {
1124 display: custom;
1138 display: custom;
1125 }
1139 }
1126 &.inherited {
1140 &.inherited {
1127 #inherit_overlay {
1141 #inherit_overlay {
1128 display: block;
1142 display: block;
1129 }
1143 }
1130 #custom_overlay {
1144 #custom_overlay {
1131 display: none;
1145 display: none;
1132 }
1146 }
1133 }
1147 }
1134 }
1148 }
1135 table.issuetracker {
1149 table.issuetracker {
1136 &.readonly {
1150 &.readonly {
1137 tr, td {
1151 tr, td {
1138 color: @grey3;
1152 color: @grey3;
1139 }
1153 }
1140 }
1154 }
1141 .edit {
1155 .edit {
1142 display: none;
1156 display: none;
1143 }
1157 }
1144 .editopen {
1158 .editopen {
1145 .edit {
1159 .edit {
1146 display: inline;
1160 display: inline;
1147 }
1161 }
1148 .entry {
1162 .entry {
1149 display: none;
1163 display: none;
1150 }
1164 }
1151 }
1165 }
1152 tr td.td-action {
1166 tr td.td-action {
1153 min-width: 117px;
1167 min-width: 117px;
1154 }
1168 }
1155 td input {
1169 td input {
1156 max-width: none;
1170 max-width: none;
1157 min-width: 30px;
1171 min-width: 30px;
1158 width: 80%;
1172 width: 80%;
1159 }
1173 }
1160 .issuetracker_pref input {
1174 .issuetracker_pref input {
1161 width: 40%;
1175 width: 40%;
1162 }
1176 }
1163 input.edit_issuetracker_update {
1177 input.edit_issuetracker_update {
1164 margin-right: 0;
1178 margin-right: 0;
1165 width: auto;
1179 width: auto;
1166 }
1180 }
1167 }
1181 }
1168
1182
1169 table.integrations {
1183 table.integrations {
1170 .td-icon {
1184 .td-icon {
1171 width: 20px;
1185 width: 20px;
1172 .integration-icon {
1186 .integration-icon {
1173 height: 20px;
1187 height: 20px;
1174 width: 20px;
1188 width: 20px;
1175 }
1189 }
1176 }
1190 }
1177 }
1191 }
1178
1192
1179 .integrations {
1193 .integrations {
1180 a.integration-box {
1194 a.integration-box {
1181 color: @text-color;
1195 color: @text-color;
1182 &:hover {
1196 &:hover {
1183 .panel {
1197 .panel {
1184 background: #fbfbfb;
1198 background: #fbfbfb;
1185 }
1199 }
1186 }
1200 }
1187 .integration-icon {
1201 .integration-icon {
1188 width: 30px;
1202 width: 30px;
1189 height: 30px;
1203 height: 30px;
1190 margin-right: 20px;
1204 margin-right: 20px;
1191 float: left;
1205 float: left;
1192 }
1206 }
1193
1207
1194 .panel-body {
1208 .panel-body {
1195 padding: 10px;
1209 padding: 10px;
1196 }
1210 }
1197 .panel {
1211 .panel {
1198 margin-bottom: 10px;
1212 margin-bottom: 10px;
1199 }
1213 }
1200 h2 {
1214 h2 {
1201 display: inline-block;
1215 display: inline-block;
1202 margin: 0;
1216 margin: 0;
1203 min-width: 140px;
1217 min-width: 140px;
1204 }
1218 }
1205 }
1219 }
1206 a.integration-box.dummy-integration {
1220 a.integration-box.dummy-integration {
1207 color: @grey4
1221 color: @grey4
1208 }
1222 }
1209 }
1223 }
1210
1224
1211 //Permissions Settings
1225 //Permissions Settings
1212 #add_perm {
1226 #add_perm {
1213 margin: 0 0 @padding;
1227 margin: 0 0 @padding;
1214 cursor: pointer;
1228 cursor: pointer;
1215 }
1229 }
1216
1230
1217 .perm_ac {
1231 .perm_ac {
1218 input {
1232 input {
1219 width: 95%;
1233 width: 95%;
1220 }
1234 }
1221 }
1235 }
1222
1236
1223 .autocomplete-suggestions {
1237 .autocomplete-suggestions {
1224 width: auto !important; // overrides autocomplete.js
1238 width: auto !important; // overrides autocomplete.js
1225 margin: 0;
1239 margin: 0;
1226 border: @border-thickness solid @rcblue;
1240 border: @border-thickness solid @rcblue;
1227 border-radius: @border-radius;
1241 border-radius: @border-radius;
1228 color: @rcblue;
1242 color: @rcblue;
1229 background-color: white;
1243 background-color: white;
1230 }
1244 }
1231 .autocomplete-selected {
1245 .autocomplete-selected {
1232 background: #F0F0F0;
1246 background: #F0F0F0;
1233 }
1247 }
1234 .ac-container-wrap {
1248 .ac-container-wrap {
1235 margin: 0;
1249 margin: 0;
1236 padding: 8px;
1250 padding: 8px;
1237 border-bottom: @border-thickness solid @rclightblue;
1251 border-bottom: @border-thickness solid @rclightblue;
1238 list-style-type: none;
1252 list-style-type: none;
1239 cursor: pointer;
1253 cursor: pointer;
1240
1254
1241 &:hover {
1255 &:hover {
1242 background-color: @rclightblue;
1256 background-color: @rclightblue;
1243 }
1257 }
1244
1258
1245 img {
1259 img {
1246 height: @gravatar-size;
1260 height: @gravatar-size;
1247 width: @gravatar-size;
1261 width: @gravatar-size;
1248 margin-right: 1em;
1262 margin-right: 1em;
1249 }
1263 }
1250
1264
1251 strong {
1265 strong {
1252 font-weight: normal;
1266 font-weight: normal;
1253 }
1267 }
1254 }
1268 }
1255
1269
1256 // Settings Dropdown
1270 // Settings Dropdown
1257 .user-menu .container {
1271 .user-menu .container {
1258 padding: 0 4px;
1272 padding: 0 4px;
1259 margin: 0;
1273 margin: 0;
1260 }
1274 }
1261
1275
1262 .user-menu .gravatar {
1276 .user-menu .gravatar {
1263 cursor: pointer;
1277 cursor: pointer;
1264 }
1278 }
1265
1279
1266 .codeblock {
1280 .codeblock {
1267 margin-bottom: @padding;
1281 margin-bottom: @padding;
1268 clear: both;
1282 clear: both;
1269
1283
1270 .stats {
1284 .stats {
1271 overflow: hidden;
1285 overflow: hidden;
1272 }
1286 }
1273
1287
1274 .message{
1288 .message{
1275 textarea{
1289 textarea{
1276 margin: 0;
1290 margin: 0;
1277 }
1291 }
1278 }
1292 }
1279
1293
1280 .code-header {
1294 .code-header {
1281 .stats {
1295 .stats {
1282 line-height: 2em;
1296 line-height: 2em;
1283
1297
1284 .revision_id {
1298 .revision_id {
1285 margin-left: 0;
1299 margin-left: 0;
1286 }
1300 }
1287 .buttons {
1301 .buttons {
1288 padding-right: 0;
1302 padding-right: 0;
1289 }
1303 }
1290 }
1304 }
1291
1305
1292 .item{
1306 .item{
1293 margin-right: 0.5em;
1307 margin-right: 0.5em;
1294 }
1308 }
1295 }
1309 }
1296
1310
1297 #editor_container{
1311 #editor_container{
1298 position: relative;
1312 position: relative;
1299 margin: @padding;
1313 margin: @padding;
1300 }
1314 }
1301 }
1315 }
1302
1316
1303 #file_history_container {
1317 #file_history_container {
1304 display: none;
1318 display: none;
1305 }
1319 }
1306
1320
1307 .file-history-inner {
1321 .file-history-inner {
1308 margin-bottom: 10px;
1322 margin-bottom: 10px;
1309 }
1323 }
1310
1324
1311 // Pull Requests
1325 // Pull Requests
1312 .summary-details {
1326 .summary-details {
1313 width: 72%;
1327 width: 72%;
1314 }
1328 }
1315 .pr-summary {
1329 .pr-summary {
1316 border-bottom: @border-thickness solid @grey5;
1330 border-bottom: @border-thickness solid @grey5;
1317 margin-bottom: @space;
1331 margin-bottom: @space;
1318 }
1332 }
1319 .reviewers-title {
1333 .reviewers-title {
1320 width: 25%;
1334 width: 25%;
1321 min-width: 200px;
1335 min-width: 200px;
1322 }
1336 }
1323 .reviewers {
1337 .reviewers {
1324 width: 25%;
1338 width: 25%;
1325 min-width: 200px;
1339 min-width: 200px;
1326 }
1340 }
1327 .reviewers ul li {
1341 .reviewers ul li {
1328 position: relative;
1342 position: relative;
1329 width: 100%;
1343 width: 100%;
1330 padding-bottom: 8px;
1344 padding-bottom: 8px;
1331 list-style-type: none;
1345 list-style-type: none;
1332 }
1346 }
1333
1347
1334 .reviewer_entry {
1348 .reviewer_entry {
1335 min-height: 55px;
1349 min-height: 55px;
1336 }
1350 }
1337
1351
1338 .reviewers_member {
1352 .reviewers_member {
1339 width: 100%;
1353 width: 100%;
1340 overflow: auto;
1354 overflow: auto;
1341 }
1355 }
1342 .reviewer_reason {
1356 .reviewer_reason {
1343 padding-left: 20px;
1357 padding-left: 20px;
1344 line-height: 1.5em;
1358 line-height: 1.5em;
1345 }
1359 }
1346 .reviewer_status {
1360 .reviewer_status {
1347 display: inline-block;
1361 display: inline-block;
1348 vertical-align: top;
1362 vertical-align: top;
1349 width: 25px;
1363 width: 25px;
1350 min-width: 25px;
1364 min-width: 25px;
1351 height: 1.2em;
1365 height: 1.2em;
1352 margin-top: 3px;
1366 margin-top: 3px;
1353 line-height: 1em;
1367 line-height: 1em;
1354 }
1368 }
1355
1369
1356 .reviewer_name {
1370 .reviewer_name {
1357 display: inline-block;
1371 display: inline-block;
1358 max-width: 83%;
1372 max-width: 83%;
1359 padding-right: 20px;
1373 padding-right: 20px;
1360 vertical-align: middle;
1374 vertical-align: middle;
1361 line-height: 1;
1375 line-height: 1;
1362
1376
1363 .rc-user {
1377 .rc-user {
1364 min-width: 0;
1378 min-width: 0;
1365 margin: -2px 1em 0 0;
1379 margin: -2px 1em 0 0;
1366 }
1380 }
1367
1381
1368 .reviewer {
1382 .reviewer {
1369 float: left;
1383 float: left;
1370 }
1384 }
1371 }
1385 }
1372
1386
1373 .reviewer_member_mandatory {
1387 .reviewer_member_mandatory {
1374 position: absolute;
1388 position: absolute;
1375 left: 15px;
1389 left: 15px;
1376 top: 8px;
1390 top: 8px;
1377 width: 16px;
1391 width: 16px;
1378 font-size: 11px;
1392 font-size: 11px;
1379 margin: 0;
1393 margin: 0;
1380 padding: 0;
1394 padding: 0;
1381 color: black;
1395 color: black;
1382 }
1396 }
1383
1397
1384 .reviewer_member_mandatory_remove,
1398 .reviewer_member_mandatory_remove,
1385 .reviewer_member_remove {
1399 .reviewer_member_remove {
1386 position: absolute;
1400 position: absolute;
1387 right: 0;
1401 right: 0;
1388 top: 0;
1402 top: 0;
1389 width: 16px;
1403 width: 16px;
1390 margin-bottom: 10px;
1404 margin-bottom: 10px;
1391 padding: 0;
1405 padding: 0;
1392 color: black;
1406 color: black;
1393 }
1407 }
1394
1408
1395 .reviewer_member_mandatory_remove {
1409 .reviewer_member_mandatory_remove {
1396 color: @grey4;
1410 color: @grey4;
1397 }
1411 }
1398
1412
1399 .reviewer_member_status {
1413 .reviewer_member_status {
1400 margin-top: 5px;
1414 margin-top: 5px;
1401 }
1415 }
1402 .pr-summary #summary{
1416 .pr-summary #summary{
1403 width: 100%;
1417 width: 100%;
1404 }
1418 }
1405 .pr-summary .action_button:hover {
1419 .pr-summary .action_button:hover {
1406 border: 0;
1420 border: 0;
1407 cursor: pointer;
1421 cursor: pointer;
1408 }
1422 }
1409 .pr-details-title {
1423 .pr-details-title {
1410 padding-bottom: 8px;
1424 padding-bottom: 8px;
1411 border-bottom: @border-thickness solid @grey5;
1425 border-bottom: @border-thickness solid @grey5;
1412
1426
1413 .action_button.disabled {
1427 .action_button.disabled {
1414 color: @grey4;
1428 color: @grey4;
1415 cursor: inherit;
1429 cursor: inherit;
1416 }
1430 }
1417 .action_button {
1431 .action_button {
1418 color: @rcblue;
1432 color: @rcblue;
1419 }
1433 }
1420 }
1434 }
1421 .pr-details-content {
1435 .pr-details-content {
1422 margin-top: @textmargin;
1436 margin-top: @textmargin;
1423 margin-bottom: @textmargin;
1437 margin-bottom: @textmargin;
1424 }
1438 }
1425
1439
1426 .pr-reviewer-rules {
1440 .pr-reviewer-rules {
1427 padding: 10px 0px 20px 0px;
1441 padding: 10px 0px 20px 0px;
1428 }
1442 }
1429
1443
1430 .group_members {
1444 .group_members {
1431 margin-top: 0;
1445 margin-top: 0;
1432 padding: 0;
1446 padding: 0;
1433 list-style: outside none none;
1447 list-style: outside none none;
1434
1448
1435 img {
1449 img {
1436 height: @gravatar-size;
1450 height: @gravatar-size;
1437 width: @gravatar-size;
1451 width: @gravatar-size;
1438 margin-right: .5em;
1452 margin-right: .5em;
1439 margin-left: 3px;
1453 margin-left: 3px;
1440 }
1454 }
1441
1455
1442 .to-delete {
1456 .to-delete {
1443 .user {
1457 .user {
1444 text-decoration: line-through;
1458 text-decoration: line-through;
1445 }
1459 }
1446 }
1460 }
1447 }
1461 }
1448
1462
1449 .compare_view_commits_title {
1463 .compare_view_commits_title {
1450 .disabled {
1464 .disabled {
1451 cursor: inherit;
1465 cursor: inherit;
1452 &:hover{
1466 &:hover{
1453 background-color: inherit;
1467 background-color: inherit;
1454 color: inherit;
1468 color: inherit;
1455 }
1469 }
1456 }
1470 }
1457 }
1471 }
1458
1472
1459 .subtitle-compare {
1473 .subtitle-compare {
1460 margin: -15px 0px 0px 0px;
1474 margin: -15px 0px 0px 0px;
1461 }
1475 }
1462
1476
1463 .comments-summary-td {
1477 .comments-summary-td {
1464 border-top: 1px dashed @grey5;
1478 border-top: 1px dashed @grey5;
1465 }
1479 }
1466
1480
1467 // new entry in group_members
1481 // new entry in group_members
1468 .td-author-new-entry {
1482 .td-author-new-entry {
1469 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1483 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1470 }
1484 }
1471
1485
1472 .usergroup_member_remove {
1486 .usergroup_member_remove {
1473 width: 16px;
1487 width: 16px;
1474 margin-bottom: 10px;
1488 margin-bottom: 10px;
1475 padding: 0;
1489 padding: 0;
1476 color: black !important;
1490 color: black !important;
1477 cursor: pointer;
1491 cursor: pointer;
1478 }
1492 }
1479
1493
1480 .reviewer_ac .ac-input {
1494 .reviewer_ac .ac-input {
1481 width: 92%;
1495 width: 92%;
1482 margin-bottom: 1em;
1496 margin-bottom: 1em;
1483 }
1497 }
1484
1498
1485 .compare_view_commits tr{
1499 .compare_view_commits tr{
1486 height: 20px;
1500 height: 20px;
1487 }
1501 }
1488 .compare_view_commits td {
1502 .compare_view_commits td {
1489 vertical-align: top;
1503 vertical-align: top;
1490 padding-top: 10px;
1504 padding-top: 10px;
1491 }
1505 }
1492 .compare_view_commits .author {
1506 .compare_view_commits .author {
1493 margin-left: 5px;
1507 margin-left: 5px;
1494 }
1508 }
1495
1509
1496 .compare_view_commits {
1510 .compare_view_commits {
1497 .color-a {
1511 .color-a {
1498 color: @alert1;
1512 color: @alert1;
1499 }
1513 }
1500
1514
1501 .color-c {
1515 .color-c {
1502 color: @color3;
1516 color: @color3;
1503 }
1517 }
1504
1518
1505 .color-r {
1519 .color-r {
1506 color: @color5;
1520 color: @color5;
1507 }
1521 }
1508
1522
1509 .color-a-bg {
1523 .color-a-bg {
1510 background-color: @alert1;
1524 background-color: @alert1;
1511 }
1525 }
1512
1526
1513 .color-c-bg {
1527 .color-c-bg {
1514 background-color: @alert3;
1528 background-color: @alert3;
1515 }
1529 }
1516
1530
1517 .color-r-bg {
1531 .color-r-bg {
1518 background-color: @alert2;
1532 background-color: @alert2;
1519 }
1533 }
1520
1534
1521 .color-a-border {
1535 .color-a-border {
1522 border: 1px solid @alert1;
1536 border: 1px solid @alert1;
1523 }
1537 }
1524
1538
1525 .color-c-border {
1539 .color-c-border {
1526 border: 1px solid @alert3;
1540 border: 1px solid @alert3;
1527 }
1541 }
1528
1542
1529 .color-r-border {
1543 .color-r-border {
1530 border: 1px solid @alert2;
1544 border: 1px solid @alert2;
1531 }
1545 }
1532
1546
1533 .commit-change-indicator {
1547 .commit-change-indicator {
1534 width: 15px;
1548 width: 15px;
1535 height: 15px;
1549 height: 15px;
1536 position: relative;
1550 position: relative;
1537 left: 15px;
1551 left: 15px;
1538 }
1552 }
1539
1553
1540 .commit-change-content {
1554 .commit-change-content {
1541 text-align: center;
1555 text-align: center;
1542 vertical-align: middle;
1556 vertical-align: middle;
1543 line-height: 15px;
1557 line-height: 15px;
1544 }
1558 }
1545 }
1559 }
1546
1560
1547 .compare_view_filepath {
1561 .compare_view_filepath {
1548 color: @grey1;
1562 color: @grey1;
1549 }
1563 }
1550
1564
1551 .show_more {
1565 .show_more {
1552 display: inline-block;
1566 display: inline-block;
1553 width: 0;
1567 width: 0;
1554 height: 0;
1568 height: 0;
1555 vertical-align: middle;
1569 vertical-align: middle;
1556 content: "";
1570 content: "";
1557 border: 4px solid;
1571 border: 4px solid;
1558 border-right-color: transparent;
1572 border-right-color: transparent;
1559 border-bottom-color: transparent;
1573 border-bottom-color: transparent;
1560 border-left-color: transparent;
1574 border-left-color: transparent;
1561 font-size: 0;
1575 font-size: 0;
1562 }
1576 }
1563
1577
1564 .journal_more .show_more {
1578 .journal_more .show_more {
1565 display: inline;
1579 display: inline;
1566
1580
1567 &:after {
1581 &:after {
1568 content: none;
1582 content: none;
1569 }
1583 }
1570 }
1584 }
1571
1585
1572 .compare_view_commits .collapse_commit:after {
1586 .compare_view_commits .collapse_commit:after {
1573 cursor: pointer;
1587 cursor: pointer;
1574 content: "\00A0\25B4";
1588 content: "\00A0\25B4";
1575 margin-left: -3px;
1589 margin-left: -3px;
1576 font-size: 17px;
1590 font-size: 17px;
1577 color: @grey4;
1591 color: @grey4;
1578 }
1592 }
1579
1593
1580 .diff_links {
1594 .diff_links {
1581 margin-left: 8px;
1595 margin-left: 8px;
1582 }
1596 }
1583
1597
1584 div.ancestor {
1598 div.ancestor {
1585 margin: -30px 0px;
1599 margin: -30px 0px;
1586 }
1600 }
1587
1601
1588 .cs_icon_td input[type="checkbox"] {
1602 .cs_icon_td input[type="checkbox"] {
1589 display: none;
1603 display: none;
1590 }
1604 }
1591
1605
1592 .cs_icon_td .expand_file_icon:after {
1606 .cs_icon_td .expand_file_icon:after {
1593 cursor: pointer;
1607 cursor: pointer;
1594 content: "\00A0\25B6";
1608 content: "\00A0\25B6";
1595 font-size: 12px;
1609 font-size: 12px;
1596 color: @grey4;
1610 color: @grey4;
1597 }
1611 }
1598
1612
1599 .cs_icon_td .collapse_file_icon:after {
1613 .cs_icon_td .collapse_file_icon:after {
1600 cursor: pointer;
1614 cursor: pointer;
1601 content: "\00A0\25BC";
1615 content: "\00A0\25BC";
1602 font-size: 12px;
1616 font-size: 12px;
1603 color: @grey4;
1617 color: @grey4;
1604 }
1618 }
1605
1619
1606 /*new binary
1620 /*new binary
1607 NEW_FILENODE = 1
1621 NEW_FILENODE = 1
1608 DEL_FILENODE = 2
1622 DEL_FILENODE = 2
1609 MOD_FILENODE = 3
1623 MOD_FILENODE = 3
1610 RENAMED_FILENODE = 4
1624 RENAMED_FILENODE = 4
1611 COPIED_FILENODE = 5
1625 COPIED_FILENODE = 5
1612 CHMOD_FILENODE = 6
1626 CHMOD_FILENODE = 6
1613 BIN_FILENODE = 7
1627 BIN_FILENODE = 7
1614 */
1628 */
1615 .cs_files_expand {
1629 .cs_files_expand {
1616 font-size: @basefontsize + 5px;
1630 font-size: @basefontsize + 5px;
1617 line-height: 1.8em;
1631 line-height: 1.8em;
1618 float: right;
1632 float: right;
1619 }
1633 }
1620
1634
1621 .cs_files_expand span{
1635 .cs_files_expand span{
1622 color: @rcblue;
1636 color: @rcblue;
1623 cursor: pointer;
1637 cursor: pointer;
1624 }
1638 }
1625 .cs_files {
1639 .cs_files {
1626 clear: both;
1640 clear: both;
1627 padding-bottom: @padding;
1641 padding-bottom: @padding;
1628
1642
1629 .cur_cs {
1643 .cur_cs {
1630 margin: 10px 2px;
1644 margin: 10px 2px;
1631 font-weight: bold;
1645 font-weight: bold;
1632 }
1646 }
1633
1647
1634 .node {
1648 .node {
1635 float: left;
1649 float: left;
1636 }
1650 }
1637
1651
1638 .changes {
1652 .changes {
1639 float: right;
1653 float: right;
1640 color: white;
1654 color: white;
1641 font-size: @basefontsize - 4px;
1655 font-size: @basefontsize - 4px;
1642 margin-top: 4px;
1656 margin-top: 4px;
1643 opacity: 0.6;
1657 opacity: 0.6;
1644 filter: Alpha(opacity=60); /* IE8 and earlier */
1658 filter: Alpha(opacity=60); /* IE8 and earlier */
1645
1659
1646 .added {
1660 .added {
1647 background-color: @alert1;
1661 background-color: @alert1;
1648 float: left;
1662 float: left;
1649 text-align: center;
1663 text-align: center;
1650 }
1664 }
1651
1665
1652 .deleted {
1666 .deleted {
1653 background-color: @alert2;
1667 background-color: @alert2;
1654 float: left;
1668 float: left;
1655 text-align: center;
1669 text-align: center;
1656 }
1670 }
1657
1671
1658 .bin {
1672 .bin {
1659 background-color: @alert1;
1673 background-color: @alert1;
1660 text-align: center;
1674 text-align: center;
1661 }
1675 }
1662
1676
1663 /*new binary*/
1677 /*new binary*/
1664 .bin.bin1 {
1678 .bin.bin1 {
1665 background-color: @alert1;
1679 background-color: @alert1;
1666 text-align: center;
1680 text-align: center;
1667 }
1681 }
1668
1682
1669 /*deleted binary*/
1683 /*deleted binary*/
1670 .bin.bin2 {
1684 .bin.bin2 {
1671 background-color: @alert2;
1685 background-color: @alert2;
1672 text-align: center;
1686 text-align: center;
1673 }
1687 }
1674
1688
1675 /*mod binary*/
1689 /*mod binary*/
1676 .bin.bin3 {
1690 .bin.bin3 {
1677 background-color: @grey2;
1691 background-color: @grey2;
1678 text-align: center;
1692 text-align: center;
1679 }
1693 }
1680
1694
1681 /*rename file*/
1695 /*rename file*/
1682 .bin.bin4 {
1696 .bin.bin4 {
1683 background-color: @alert4;
1697 background-color: @alert4;
1684 text-align: center;
1698 text-align: center;
1685 }
1699 }
1686
1700
1687 /*copied file*/
1701 /*copied file*/
1688 .bin.bin5 {
1702 .bin.bin5 {
1689 background-color: @alert4;
1703 background-color: @alert4;
1690 text-align: center;
1704 text-align: center;
1691 }
1705 }
1692
1706
1693 /*chmod file*/
1707 /*chmod file*/
1694 .bin.bin6 {
1708 .bin.bin6 {
1695 background-color: @grey2;
1709 background-color: @grey2;
1696 text-align: center;
1710 text-align: center;
1697 }
1711 }
1698 }
1712 }
1699 }
1713 }
1700
1714
1701 .cs_files .cs_added, .cs_files .cs_A,
1715 .cs_files .cs_added, .cs_files .cs_A,
1702 .cs_files .cs_added, .cs_files .cs_M,
1716 .cs_files .cs_added, .cs_files .cs_M,
1703 .cs_files .cs_added, .cs_files .cs_D {
1717 .cs_files .cs_added, .cs_files .cs_D {
1704 height: 16px;
1718 height: 16px;
1705 padding-right: 10px;
1719 padding-right: 10px;
1706 margin-top: 7px;
1720 margin-top: 7px;
1707 text-align: left;
1721 text-align: left;
1708 }
1722 }
1709
1723
1710 .cs_icon_td {
1724 .cs_icon_td {
1711 min-width: 16px;
1725 min-width: 16px;
1712 width: 16px;
1726 width: 16px;
1713 }
1727 }
1714
1728
1715 .pull-request-merge {
1729 .pull-request-merge {
1716 border: 1px solid @grey5;
1730 border: 1px solid @grey5;
1717 padding: 10px 0px 20px;
1731 padding: 10px 0px 20px;
1718 margin-top: 10px;
1732 margin-top: 10px;
1719 margin-bottom: 20px;
1733 margin-bottom: 20px;
1720 }
1734 }
1721
1735
1722 .pull-request-merge ul {
1736 .pull-request-merge ul {
1723 padding: 0px 0px;
1737 padding: 0px 0px;
1724 }
1738 }
1725
1739
1726 .pull-request-merge li {
1740 .pull-request-merge li {
1727 list-style-type: none;
1741 list-style-type: none;
1728 }
1742 }
1729
1743
1730 .pull-request-merge .pull-request-wrap {
1744 .pull-request-merge .pull-request-wrap {
1731 height: auto;
1745 height: auto;
1732 padding: 0px 0px;
1746 padding: 0px 0px;
1733 text-align: right;
1747 text-align: right;
1734 }
1748 }
1735
1749
1736 .pull-request-merge span {
1750 .pull-request-merge span {
1737 margin-right: 5px;
1751 margin-right: 5px;
1738 }
1752 }
1739
1753
1740 .pull-request-merge-actions {
1754 .pull-request-merge-actions {
1741 min-height: 30px;
1755 min-height: 30px;
1742 padding: 0px 0px;
1756 padding: 0px 0px;
1743 }
1757 }
1744
1758
1745 .pull-request-merge-info {
1759 .pull-request-merge-info {
1746 padding: 0px 5px 5px 0px;
1760 padding: 0px 5px 5px 0px;
1747 }
1761 }
1748
1762
1749 .merge-status {
1763 .merge-status {
1750 margin-right: 5px;
1764 margin-right: 5px;
1751 }
1765 }
1752
1766
1753 .merge-message {
1767 .merge-message {
1754 font-size: 1.2em
1768 font-size: 1.2em
1755 }
1769 }
1756
1770
1757 .merge-message.success i,
1771 .merge-message.success i,
1758 .merge-icon.success i {
1772 .merge-icon.success i {
1759 color:@alert1;
1773 color:@alert1;
1760 }
1774 }
1761
1775
1762 .merge-message.warning i,
1776 .merge-message.warning i,
1763 .merge-icon.warning i {
1777 .merge-icon.warning i {
1764 color: @alert3;
1778 color: @alert3;
1765 }
1779 }
1766
1780
1767 .merge-message.error i,
1781 .merge-message.error i,
1768 .merge-icon.error i {
1782 .merge-icon.error i {
1769 color:@alert2;
1783 color:@alert2;
1770 }
1784 }
1771
1785
1772 .pr-versions {
1786 .pr-versions {
1773 font-size: 1.1em;
1787 font-size: 1.1em;
1774
1788
1775 table {
1789 table {
1776 padding: 0px 5px;
1790 padding: 0px 5px;
1777 }
1791 }
1778
1792
1779 td {
1793 td {
1780 line-height: 15px;
1794 line-height: 15px;
1781 }
1795 }
1782
1796
1783 .flag_status {
1797 .flag_status {
1784 margin: 0;
1798 margin: 0;
1785 }
1799 }
1786
1800
1787 .compare-radio-button {
1801 .compare-radio-button {
1788 position: relative;
1802 position: relative;
1789 top: -3px;
1803 top: -3px;
1790 }
1804 }
1791 }
1805 }
1792
1806
1793
1807
1794 #close_pull_request {
1808 #close_pull_request {
1795 margin-right: 0px;
1809 margin-right: 0px;
1796 }
1810 }
1797
1811
1798 .empty_data {
1812 .empty_data {
1799 color: @grey4;
1813 color: @grey4;
1800 }
1814 }
1801
1815
1802 #changeset_compare_view_content {
1816 #changeset_compare_view_content {
1803 margin-bottom: @space;
1817 margin-bottom: @space;
1804 clear: both;
1818 clear: both;
1805 width: 100%;
1819 width: 100%;
1806 box-sizing: border-box;
1820 box-sizing: border-box;
1807 .border-radius(@border-radius);
1821 .border-radius(@border-radius);
1808
1822
1809 .help-block {
1823 .help-block {
1810 margin: @padding 0;
1824 margin: @padding 0;
1811 color: @text-color;
1825 color: @text-color;
1812 &.pre-formatting {
1826 &.pre-formatting {
1813 white-space: pre;
1827 white-space: pre;
1814 }
1828 }
1815 }
1829 }
1816
1830
1817 .empty_data {
1831 .empty_data {
1818 margin: @padding 0;
1832 margin: @padding 0;
1819 }
1833 }
1820
1834
1821 .alert {
1835 .alert {
1822 margin-bottom: @space;
1836 margin-bottom: @space;
1823 }
1837 }
1824 }
1838 }
1825
1839
1826 .table_disp {
1840 .table_disp {
1827 .status {
1841 .status {
1828 width: auto;
1842 width: auto;
1829
1843
1830 .flag_status {
1844 .flag_status {
1831 float: left;
1845 float: left;
1832 }
1846 }
1833 }
1847 }
1834 }
1848 }
1835
1849
1836
1850
1837 .creation_in_progress {
1851 .creation_in_progress {
1838 color: @grey4
1852 color: @grey4
1839 }
1853 }
1840
1854
1841 .status_box_menu {
1855 .status_box_menu {
1842 margin: 0;
1856 margin: 0;
1843 }
1857 }
1844
1858
1845 .notification-table{
1859 .notification-table{
1846 margin-bottom: @space;
1860 margin-bottom: @space;
1847 display: table;
1861 display: table;
1848 width: 100%;
1862 width: 100%;
1849
1863
1850 .container{
1864 .container{
1851 display: table-row;
1865 display: table-row;
1852
1866
1853 .notification-header{
1867 .notification-header{
1854 border-bottom: @border-thickness solid @border-default-color;
1868 border-bottom: @border-thickness solid @border-default-color;
1855 }
1869 }
1856
1870
1857 .notification-subject{
1871 .notification-subject{
1858 display: table-cell;
1872 display: table-cell;
1859 }
1873 }
1860 }
1874 }
1861 }
1875 }
1862
1876
1863 // Notifications
1877 // Notifications
1864 .notification-header{
1878 .notification-header{
1865 display: table;
1879 display: table;
1866 width: 100%;
1880 width: 100%;
1867 padding: floor(@basefontsize/2) 0;
1881 padding: floor(@basefontsize/2) 0;
1868 line-height: 1em;
1882 line-height: 1em;
1869
1883
1870 .desc, .delete-notifications, .read-notifications{
1884 .desc, .delete-notifications, .read-notifications{
1871 display: table-cell;
1885 display: table-cell;
1872 text-align: left;
1886 text-align: left;
1873 }
1887 }
1874
1888
1875 .desc{
1889 .desc{
1876 width: 1163px;
1890 width: 1163px;
1877 }
1891 }
1878
1892
1879 .delete-notifications, .read-notifications{
1893 .delete-notifications, .read-notifications{
1880 width: 35px;
1894 width: 35px;
1881 min-width: 35px; //fixes when only one button is displayed
1895 min-width: 35px; //fixes when only one button is displayed
1882 }
1896 }
1883 }
1897 }
1884
1898
1885 .notification-body {
1899 .notification-body {
1886 .markdown-block,
1900 .markdown-block,
1887 .rst-block {
1901 .rst-block {
1888 padding: @padding 0;
1902 padding: @padding 0;
1889 }
1903 }
1890
1904
1891 .notification-subject {
1905 .notification-subject {
1892 padding: @textmargin 0;
1906 padding: @textmargin 0;
1893 border-bottom: @border-thickness solid @border-default-color;
1907 border-bottom: @border-thickness solid @border-default-color;
1894 }
1908 }
1895 }
1909 }
1896
1910
1897
1911
1898 .notifications_buttons{
1912 .notifications_buttons{
1899 float: right;
1913 float: right;
1900 }
1914 }
1901
1915
1902 #notification-status{
1916 #notification-status{
1903 display: inline;
1917 display: inline;
1904 }
1918 }
1905
1919
1906 // Repositories
1920 // Repositories
1907
1921
1908 #summary.fields{
1922 #summary.fields{
1909 display: table;
1923 display: table;
1910
1924
1911 .field{
1925 .field{
1912 display: table-row;
1926 display: table-row;
1913
1927
1914 .label-summary{
1928 .label-summary{
1915 display: table-cell;
1929 display: table-cell;
1916 min-width: @label-summary-minwidth;
1930 min-width: @label-summary-minwidth;
1917 padding-top: @padding/2;
1931 padding-top: @padding/2;
1918 padding-bottom: @padding/2;
1932 padding-bottom: @padding/2;
1919 padding-right: @padding/2;
1933 padding-right: @padding/2;
1920 }
1934 }
1921
1935
1922 .input{
1936 .input{
1923 display: table-cell;
1937 display: table-cell;
1924 padding: @padding/2;
1938 padding: @padding/2;
1925
1939
1926 input{
1940 input{
1927 min-width: 29em;
1941 min-width: 29em;
1928 padding: @padding/4;
1942 padding: @padding/4;
1929 }
1943 }
1930 }
1944 }
1931 .statistics, .downloads{
1945 .statistics, .downloads{
1932 .disabled{
1946 .disabled{
1933 color: @grey4;
1947 color: @grey4;
1934 }
1948 }
1935 }
1949 }
1936 }
1950 }
1937 }
1951 }
1938
1952
1939 #summary{
1953 #summary{
1940 width: 70%;
1954 width: 70%;
1941 }
1955 }
1942
1956
1943
1957
1944 // Journal
1958 // Journal
1945 .journal.title {
1959 .journal.title {
1946 h5 {
1960 h5 {
1947 float: left;
1961 float: left;
1948 margin: 0;
1962 margin: 0;
1949 width: 70%;
1963 width: 70%;
1950 }
1964 }
1951
1965
1952 ul {
1966 ul {
1953 float: right;
1967 float: right;
1954 display: inline-block;
1968 display: inline-block;
1955 margin: 0;
1969 margin: 0;
1956 width: 30%;
1970 width: 30%;
1957 text-align: right;
1971 text-align: right;
1958
1972
1959 li {
1973 li {
1960 display: inline;
1974 display: inline;
1961 font-size: @journal-fontsize;
1975 font-size: @journal-fontsize;
1962 line-height: 1em;
1976 line-height: 1em;
1963
1977
1964 list-style-type: none;
1978 list-style-type: none;
1965 }
1979 }
1966 }
1980 }
1967 }
1981 }
1968
1982
1969 .filterexample {
1983 .filterexample {
1970 position: absolute;
1984 position: absolute;
1971 top: 95px;
1985 top: 95px;
1972 left: @contentpadding;
1986 left: @contentpadding;
1973 color: @rcblue;
1987 color: @rcblue;
1974 font-size: 11px;
1988 font-size: 11px;
1975 font-family: @text-regular;
1989 font-family: @text-regular;
1976 cursor: help;
1990 cursor: help;
1977
1991
1978 &:hover {
1992 &:hover {
1979 color: @rcdarkblue;
1993 color: @rcdarkblue;
1980 }
1994 }
1981
1995
1982 @media (max-width:768px) {
1996 @media (max-width:768px) {
1983 position: relative;
1997 position: relative;
1984 top: auto;
1998 top: auto;
1985 left: auto;
1999 left: auto;
1986 display: block;
2000 display: block;
1987 }
2001 }
1988 }
2002 }
1989
2003
1990
2004
1991 #journal{
2005 #journal{
1992 margin-bottom: @space;
2006 margin-bottom: @space;
1993
2007
1994 .journal_day{
2008 .journal_day{
1995 margin-bottom: @textmargin/2;
2009 margin-bottom: @textmargin/2;
1996 padding-bottom: @textmargin/2;
2010 padding-bottom: @textmargin/2;
1997 font-size: @journal-fontsize;
2011 font-size: @journal-fontsize;
1998 border-bottom: @border-thickness solid @border-default-color;
2012 border-bottom: @border-thickness solid @border-default-color;
1999 }
2013 }
2000
2014
2001 .journal_container{
2015 .journal_container{
2002 margin-bottom: @space;
2016 margin-bottom: @space;
2003
2017
2004 .journal_user{
2018 .journal_user{
2005 display: inline-block;
2019 display: inline-block;
2006 }
2020 }
2007 .journal_action_container{
2021 .journal_action_container{
2008 display: block;
2022 display: block;
2009 margin-top: @textmargin;
2023 margin-top: @textmargin;
2010
2024
2011 div{
2025 div{
2012 display: inline;
2026 display: inline;
2013 }
2027 }
2014
2028
2015 div.journal_action_params{
2029 div.journal_action_params{
2016 display: block;
2030 display: block;
2017 }
2031 }
2018
2032
2019 div.journal_repo:after{
2033 div.journal_repo:after{
2020 content: "\A";
2034 content: "\A";
2021 white-space: pre;
2035 white-space: pre;
2022 }
2036 }
2023
2037
2024 div.date{
2038 div.date{
2025 display: block;
2039 display: block;
2026 margin-bottom: @textmargin;
2040 margin-bottom: @textmargin;
2027 }
2041 }
2028 }
2042 }
2029 }
2043 }
2030 }
2044 }
2031
2045
2032 // Files
2046 // Files
2033 .edit-file-title {
2047 .edit-file-title {
2034 border-bottom: @border-thickness solid @border-default-color;
2048 border-bottom: @border-thickness solid @border-default-color;
2035
2049
2036 .breadcrumbs {
2050 .breadcrumbs {
2037 margin-bottom: 0;
2051 margin-bottom: 0;
2038 }
2052 }
2039 }
2053 }
2040
2054
2041 .edit-file-fieldset {
2055 .edit-file-fieldset {
2042 margin-top: @sidebarpadding;
2056 margin-top: @sidebarpadding;
2043
2057
2044 .fieldset {
2058 .fieldset {
2045 .left-label {
2059 .left-label {
2046 width: 13%;
2060 width: 13%;
2047 }
2061 }
2048 .right-content {
2062 .right-content {
2049 width: 87%;
2063 width: 87%;
2050 max-width: 100%;
2064 max-width: 100%;
2051 }
2065 }
2052 .filename-label {
2066 .filename-label {
2053 margin-top: 13px;
2067 margin-top: 13px;
2054 }
2068 }
2055 .commit-message-label {
2069 .commit-message-label {
2056 margin-top: 4px;
2070 margin-top: 4px;
2057 }
2071 }
2058 .file-upload-input {
2072 .file-upload-input {
2059 input {
2073 input {
2060 display: none;
2074 display: none;
2061 }
2075 }
2062 margin-top: 10px;
2076 margin-top: 10px;
2063 }
2077 }
2064 .file-upload-label {
2078 .file-upload-label {
2065 margin-top: 10px;
2079 margin-top: 10px;
2066 }
2080 }
2067 p {
2081 p {
2068 margin-top: 5px;
2082 margin-top: 5px;
2069 }
2083 }
2070
2084
2071 }
2085 }
2072 .custom-path-link {
2086 .custom-path-link {
2073 margin-left: 5px;
2087 margin-left: 5px;
2074 }
2088 }
2075 #commit {
2089 #commit {
2076 resize: vertical;
2090 resize: vertical;
2077 }
2091 }
2078 }
2092 }
2079
2093
2080 .delete-file-preview {
2094 .delete-file-preview {
2081 max-height: 250px;
2095 max-height: 250px;
2082 }
2096 }
2083
2097
2084 .new-file,
2098 .new-file,
2085 #filter_activate,
2099 #filter_activate,
2086 #filter_deactivate {
2100 #filter_deactivate {
2087 float: left;
2101 float: left;
2088 margin: 0 0 0 15px;
2102 margin: 0 0 0 15px;
2089 }
2103 }
2090
2104
2091 h3.files_location{
2105 h3.files_location{
2092 line-height: 2.4em;
2106 line-height: 2.4em;
2093 }
2107 }
2094
2108
2095 .browser-nav {
2109 .browser-nav {
2096 display: table;
2110 display: table;
2097 margin-bottom: @space;
2111 margin-bottom: @space;
2098
2112
2099
2113
2100 .info_box {
2114 .info_box {
2101 display: inline-table;
2115 display: inline-table;
2102 height: 2.5em;
2116 height: 2.5em;
2103
2117
2104 .browser-cur-rev, .info_box_elem {
2118 .browser-cur-rev, .info_box_elem {
2105 display: table-cell;
2119 display: table-cell;
2106 vertical-align: middle;
2120 vertical-align: middle;
2107 }
2121 }
2108
2122
2109 .info_box_elem {
2123 .info_box_elem {
2110 border-top: @border-thickness solid @grey5;
2124 border-top: @border-thickness solid @grey5;
2111 border-bottom: @border-thickness solid @grey5;
2125 border-bottom: @border-thickness solid @grey5;
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;
2119 height: 12px;
2133 height: 12px;
2120 color: @grey2;
2134 color: @grey2;
2121 }
2135 }
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 {
2129 border: @border-thickness solid @grey5;
2143 border: @border-thickness solid @grey5;
2130 border-top-left-radius: @border-radius;
2144 border-top-left-radius: @border-radius;
2131 border-bottom-left-radius: @border-radius;
2145 border-bottom-left-radius: @border-radius;
2132
2146
2133 &:hover {
2147 &:hover {
2134 border-color: @grey4;
2148 border-color: @grey4;
2135 }
2149 }
2136
2150
2137 .disabled {
2151 .disabled {
2138 color: @grey5;
2152 color: @grey5;
2139 cursor: not-allowed;
2153 cursor: not-allowed;
2140 }
2154 }
2141 }
2155 }
2142
2156
2143 &.next {
2157 &.next {
2144 border: @border-thickness solid @grey5;
2158 border: @border-thickness solid @grey5;
2145 border-top-right-radius: @border-radius;
2159 border-top-right-radius: @border-radius;
2146 border-bottom-right-radius: @border-radius;
2160 border-bottom-right-radius: @border-radius;
2147
2161
2148 &:hover {
2162 &:hover {
2149 border-color: @grey4;
2163 border-color: @grey4;
2150 }
2164 }
2151
2165
2152 .disabled {
2166 .disabled {
2153 color: @grey5;
2167 color: @grey5;
2154 cursor: not-allowed;
2168 cursor: not-allowed;
2155 }
2169 }
2156 }
2170 }
2157 }
2171 }
2158
2172
2159 .browser-cur-rev {
2173 .browser-cur-rev {
2160
2174
2161 span{
2175 span{
2162 margin: 0;
2176 margin: 0;
2163 color: @rcblue;
2177 color: @rcblue;
2164 height: 12px;
2178 height: 12px;
2165 display: inline-block;
2179 display: inline-block;
2166 padding: 0.7em 1em ;
2180 padding: 0.7em 1em ;
2167 border: @border-thickness solid @rcblue;
2181 border: @border-thickness solid @rcblue;
2168 margin-right: @padding;
2182 margin-right: @padding;
2169 }
2183 }
2170 }
2184 }
2171 }
2185 }
2172
2186
2173 .search_activate {
2187 .search_activate {
2174 display: table-cell;
2188 display: table-cell;
2175 vertical-align: middle;
2189 vertical-align: middle;
2176
2190
2177 input, label{
2191 input, label{
2178 margin: 0;
2192 margin: 0;
2179 padding: 0;
2193 padding: 0;
2180 }
2194 }
2181
2195
2182 input{
2196 input{
2183 margin-left: @textmargin;
2197 margin-left: @textmargin;
2184 }
2198 }
2185
2199
2186 }
2200 }
2187 }
2201 }
2188
2202
2189 .browser-cur-rev{
2203 .browser-cur-rev{
2190 margin-bottom: @textmargin;
2204 margin-bottom: @textmargin;
2191 }
2205 }
2192
2206
2193 #node_filter_box_loading{
2207 #node_filter_box_loading{
2194 .info_text;
2208 .info_text;
2195 }
2209 }
2196
2210
2197 .browser-search {
2211 .browser-search {
2198 margin: -25px 0px 5px 0px;
2212 margin: -25px 0px 5px 0px;
2199 }
2213 }
2200
2214
2201 .node-filter {
2215 .node-filter {
2202 font-size: @repo-title-fontsize;
2216 font-size: @repo-title-fontsize;
2203 padding: 4px 0px 0px 0px;
2217 padding: 4px 0px 0px 0px;
2204
2218
2205 .node-filter-path {
2219 .node-filter-path {
2206 float: left;
2220 float: left;
2207 color: @grey4;
2221 color: @grey4;
2208 }
2222 }
2209 .node-filter-input {
2223 .node-filter-input {
2210 float: left;
2224 float: left;
2211 margin: -2px 0px 0px 2px;
2225 margin: -2px 0px 0px 2px;
2212 input {
2226 input {
2213 padding: 2px;
2227 padding: 2px;
2214 border: none;
2228 border: none;
2215 font-size: @repo-title-fontsize;
2229 font-size: @repo-title-fontsize;
2216 }
2230 }
2217 }
2231 }
2218 }
2232 }
2219
2233
2220
2234
2221 .browser-result{
2235 .browser-result{
2222 td a{
2236 td a{
2223 margin-left: 0.5em;
2237 margin-left: 0.5em;
2224 display: inline-block;
2238 display: inline-block;
2225
2239
2226 em {
2240 em {
2227 font-weight: @text-bold-weight;
2241 font-weight: @text-bold-weight;
2228 font-family: @text-bold;
2242 font-family: @text-bold;
2229 }
2243 }
2230 }
2244 }
2231 }
2245 }
2232
2246
2233 .browser-highlight{
2247 .browser-highlight{
2234 background-color: @grey5-alpha;
2248 background-color: @grey5-alpha;
2235 }
2249 }
2236
2250
2237
2251
2238 // Search
2252 // Search
2239
2253
2240 .search-form{
2254 .search-form{
2241 #q {
2255 #q {
2242 width: @search-form-width;
2256 width: @search-form-width;
2243 }
2257 }
2244 .fields{
2258 .fields{
2245 margin: 0 0 @space;
2259 margin: 0 0 @space;
2246 }
2260 }
2247
2261
2248 label{
2262 label{
2249 display: inline-block;
2263 display: inline-block;
2250 margin-right: @textmargin;
2264 margin-right: @textmargin;
2251 padding-top: 0.25em;
2265 padding-top: 0.25em;
2252 }
2266 }
2253
2267
2254
2268
2255 .results{
2269 .results{
2256 clear: both;
2270 clear: both;
2257 margin: 0 0 @padding;
2271 margin: 0 0 @padding;
2258 }
2272 }
2259
2273
2260 .search-tags {
2274 .search-tags {
2261 padding: 5px 0;
2275 padding: 5px 0;
2262 }
2276 }
2263 }
2277 }
2264
2278
2265 div.search-feedback-items {
2279 div.search-feedback-items {
2266 display: inline-block;
2280 display: inline-block;
2267 }
2281 }
2268
2282
2269 div.search-code-body {
2283 div.search-code-body {
2270 background-color: #ffffff; padding: 5px 0 5px 10px;
2284 background-color: #ffffff; padding: 5px 0 5px 10px;
2271 pre {
2285 pre {
2272 .match { background-color: #faffa6;}
2286 .match { background-color: #faffa6;}
2273 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2287 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2274 }
2288 }
2275 }
2289 }
2276
2290
2277 .expand_commit.search {
2291 .expand_commit.search {
2278 .show_more.open {
2292 .show_more.open {
2279 height: auto;
2293 height: auto;
2280 max-height: none;
2294 max-height: none;
2281 }
2295 }
2282 }
2296 }
2283
2297
2284 .search-results {
2298 .search-results {
2285
2299
2286 h2 {
2300 h2 {
2287 margin-bottom: 0;
2301 margin-bottom: 0;
2288 }
2302 }
2289 .codeblock {
2303 .codeblock {
2290 border: none;
2304 border: none;
2291 background: transparent;
2305 background: transparent;
2292 }
2306 }
2293
2307
2294 .codeblock-header {
2308 .codeblock-header {
2295 border: none;
2309 border: none;
2296 background: transparent;
2310 background: transparent;
2297 }
2311 }
2298
2312
2299 .code-body {
2313 .code-body {
2300 border: @border-thickness solid @border-default-color;
2314 border: @border-thickness solid @border-default-color;
2301 .border-radius(@border-radius);
2315 .border-radius(@border-radius);
2302 }
2316 }
2303
2317
2304 .td-commit {
2318 .td-commit {
2305 &:extend(pre);
2319 &:extend(pre);
2306 border-bottom: @border-thickness solid @border-default-color;
2320 border-bottom: @border-thickness solid @border-default-color;
2307 }
2321 }
2308
2322
2309 .message {
2323 .message {
2310 height: auto;
2324 height: auto;
2311 max-width: 350px;
2325 max-width: 350px;
2312 white-space: normal;
2326 white-space: normal;
2313 text-overflow: initial;
2327 text-overflow: initial;
2314 overflow: visible;
2328 overflow: visible;
2315
2329
2316 .match { background-color: #faffa6;}
2330 .match { background-color: #faffa6;}
2317 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2331 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2318 }
2332 }
2319
2333
2320 }
2334 }
2321
2335
2322 table.rctable td.td-search-results div {
2336 table.rctable td.td-search-results div {
2323 max-width: 100%;
2337 max-width: 100%;
2324 }
2338 }
2325
2339
2326 #tip-box, .tip-box{
2340 #tip-box, .tip-box{
2327 padding: @menupadding/2;
2341 padding: @menupadding/2;
2328 display: block;
2342 display: block;
2329 border: @border-thickness solid @border-highlight-color;
2343 border: @border-thickness solid @border-highlight-color;
2330 .border-radius(@border-radius);
2344 .border-radius(@border-radius);
2331 background-color: white;
2345 background-color: white;
2332 z-index: 99;
2346 z-index: 99;
2333 white-space: pre-wrap;
2347 white-space: pre-wrap;
2334 }
2348 }
2335
2349
2336 #linktt {
2350 #linktt {
2337 width: 79px;
2351 width: 79px;
2338 }
2352 }
2339
2353
2340 #help_kb .modal-content{
2354 #help_kb .modal-content{
2341 max-width: 750px;
2355 max-width: 750px;
2342 margin: 10% auto;
2356 margin: 10% auto;
2343
2357
2344 table{
2358 table{
2345 td,th{
2359 td,th{
2346 border-bottom: none;
2360 border-bottom: none;
2347 line-height: 2.5em;
2361 line-height: 2.5em;
2348 }
2362 }
2349 th{
2363 th{
2350 padding-bottom: @textmargin/2;
2364 padding-bottom: @textmargin/2;
2351 }
2365 }
2352 td.keys{
2366 td.keys{
2353 text-align: center;
2367 text-align: center;
2354 }
2368 }
2355 }
2369 }
2356
2370
2357 .block-left{
2371 .block-left{
2358 width: 45%;
2372 width: 45%;
2359 margin-right: 5%;
2373 margin-right: 5%;
2360 }
2374 }
2361 .modal-footer{
2375 .modal-footer{
2362 clear: both;
2376 clear: both;
2363 }
2377 }
2364 .key.tag{
2378 .key.tag{
2365 padding: 0.5em;
2379 padding: 0.5em;
2366 background-color: @rcblue;
2380 background-color: @rcblue;
2367 color: white;
2381 color: white;
2368 border-color: @rcblue;
2382 border-color: @rcblue;
2369 .box-shadow(none);
2383 .box-shadow(none);
2370 }
2384 }
2371 }
2385 }
2372
2386
2373
2387
2374
2388
2375 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2389 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2376
2390
2377 @import 'statistics-graph';
2391 @import 'statistics-graph';
2378 @import 'tables';
2392 @import 'tables';
2379 @import 'forms';
2393 @import 'forms';
2380 @import 'diff';
2394 @import 'diff';
2381 @import 'summary';
2395 @import 'summary';
2382 @import 'navigation';
2396 @import 'navigation';
2383
2397
2384 //--- SHOW/HIDE SECTIONS --//
2398 //--- SHOW/HIDE SECTIONS --//
2385
2399
2386 .btn-collapse {
2400 .btn-collapse {
2387 float: right;
2401 float: right;
2388 text-align: right;
2402 text-align: right;
2389 font-family: @text-light;
2403 font-family: @text-light;
2390 font-size: @basefontsize;
2404 font-size: @basefontsize;
2391 cursor: pointer;
2405 cursor: pointer;
2392 border: none;
2406 border: none;
2393 color: @rcblue;
2407 color: @rcblue;
2394 }
2408 }
2395
2409
2396 table.rctable,
2410 table.rctable,
2397 table.dataTable {
2411 table.dataTable {
2398 .btn-collapse {
2412 .btn-collapse {
2399 float: right;
2413 float: right;
2400 text-align: right;
2414 text-align: right;
2401 }
2415 }
2402 }
2416 }
2403
2417
2404 table.rctable {
2418 table.rctable {
2405 &.permissions {
2419 &.permissions {
2406
2420
2407 th.td-owner {
2421 th.td-owner {
2408 padding: 0;
2422 padding: 0;
2409 }
2423 }
2410
2424
2411 th {
2425 th {
2412 font-weight: normal;
2426 font-weight: normal;
2413 padding: 0 5px;
2427 padding: 0 5px;
2414 }
2428 }
2415
2429
2416 }
2430 }
2417 }
2431 }
2418
2432
2419
2433
2420 // TODO: johbo: Fix for IE10, this avoids that we see a border
2434 // TODO: johbo: Fix for IE10, this avoids that we see a border
2421 // and padding around checkboxes and radio boxes. Move to the right place,
2435 // and padding around checkboxes and radio boxes. Move to the right place,
2422 // or better: Remove this once we did the form refactoring.
2436 // or better: Remove this once we did the form refactoring.
2423 input[type=checkbox],
2437 input[type=checkbox],
2424 input[type=radio] {
2438 input[type=radio] {
2425 padding: 0;
2439 padding: 0;
2426 border: none;
2440 border: none;
2427 }
2441 }
2428
2442
2429 .toggle-ajax-spinner{
2443 .toggle-ajax-spinner{
2430 height: 16px;
2444 height: 16px;
2431 width: 16px;
2445 width: 16px;
2432 }
2446 }
2433
2447
2434
2448
2435 .markup-form .clearfix {
2449 .markup-form .clearfix {
2436 .border-radius(@border-radius);
2450 .border-radius(@border-radius);
2437 margin: 0px;
2451 margin: 0px;
2438 }
2452 }
2439
2453
2440 .markup-form-area {
2454 .markup-form-area {
2441 padding: 8px 12px;
2455 padding: 8px 12px;
2442 border: 1px solid @grey4;
2456 border: 1px solid @grey4;
2443 .border-radius(@border-radius);
2457 .border-radius(@border-radius);
2444 }
2458 }
2445
2459
2446 .markup-form-area-header .nav-links {
2460 .markup-form-area-header .nav-links {
2447 display: flex;
2461 display: flex;
2448 flex-flow: row wrap;
2462 flex-flow: row wrap;
2449 -webkit-flex-flow: row wrap;
2463 -webkit-flex-flow: row wrap;
2450 width: 100%;
2464 width: 100%;
2451 }
2465 }
2452
2466
2453 .markup-form-area-footer {
2467 .markup-form-area-footer {
2454 display: flex;
2468 display: flex;
2455 }
2469 }
2456
2470
2457 .markup-form-area-footer .toolbar {
2471 .markup-form-area-footer .toolbar {
2458
2472
2459 }
2473 }
2460
2474
2461 // markup Form
2475 // markup Form
2462 div.markup-form {
2476 div.markup-form {
2463 margin-top: 20px;
2477 margin-top: 20px;
2464 }
2478 }
2465
2479
2466 .markup-form strong {
2480 .markup-form strong {
2467 display: block;
2481 display: block;
2468 margin-bottom: 15px;
2482 margin-bottom: 15px;
2469 }
2483 }
2470
2484
2471 .markup-form textarea {
2485 .markup-form textarea {
2472 width: 100%;
2486 width: 100%;
2473 height: 100px;
2487 height: 100px;
2474 font-family: @text-monospace;
2488 font-family: @text-monospace;
2475 }
2489 }
2476
2490
2477 form.markup-form {
2491 form.markup-form {
2478 margin-top: 10px;
2492 margin-top: 10px;
2479 margin-left: 10px;
2493 margin-left: 10px;
2480 }
2494 }
2481
2495
2482 .markup-form .comment-block-ta,
2496 .markup-form .comment-block-ta,
2483 .markup-form .preview-box {
2497 .markup-form .preview-box {
2484 .border-radius(@border-radius);
2498 .border-radius(@border-radius);
2485 .box-sizing(border-box);
2499 .box-sizing(border-box);
2486 background-color: white;
2500 background-color: white;
2487 }
2501 }
2488
2502
2489 .markup-form .preview-box.unloaded {
2503 .markup-form .preview-box.unloaded {
2490 height: 50px;
2504 height: 50px;
2491 text-align: center;
2505 text-align: center;
2492 padding: 20px;
2506 padding: 20px;
2493 background-color: white;
2507 background-color: white;
2494 }
2508 }
@@ -1,740 +1,746 b''
1 // navigation.less
1 // navigation.less
2 // For use in RhodeCode applications;
2 // For use in RhodeCode applications;
3 // see style guide documentation for guidelines.
3 // see style guide documentation for guidelines.
4
4
5 // TOP MAIN DARK NAVIGATION
5 // TOP MAIN DARK NAVIGATION
6
6
7 .header .main_nav.horizontal-list {
7 .header .main_nav.horizontal-list {
8 float: right;
8 float: right;
9 color: @grey4;
9 color: @grey4;
10 > li {
10 > li {
11 a {
11 a {
12 color: @grey4;
12 color: @grey4;
13 }
13 }
14 }
14 }
15 }
15 }
16
16
17 // HEADER NAVIGATION
17 // HEADER NAVIGATION
18
18
19 .horizontal-list {
19 .horizontal-list {
20 display: block;
20 display: block;
21 margin: 0;
21 margin: 0;
22 padding: 0;
22 padding: 0;
23 -webkit-padding-start: 0;
23 -webkit-padding-start: 0;
24 text-align: left;
24 text-align: left;
25 font-size: @navigation-fontsize;
25 font-size: @navigation-fontsize;
26 color: @grey6;
26 color: @grey6;
27 z-index:10;
27 z-index:10;
28
28
29 li {
29 li {
30 line-height: 1em;
30 line-height: 1em;
31 list-style-type: none;
31 list-style-type: none;
32 margin: 0 20px 0 0;
32 margin: 0 20px 0 0;
33
33
34 a {
34 a {
35 padding: 0 .5em;
35 padding: 0 .5em;
36
36
37 &.menu_link_notifications {
37 &.menu_link_notifications {
38 .pill(7px,@rcblue);
38 .pill(7px,@rcblue);
39 display: inline;
39 display: inline;
40 margin: 0 7px 0 .7em;
40 margin: 0 7px 0 .7em;
41 font-size: @basefontsize;
41 font-size: @basefontsize;
42 color: white;
42 color: white;
43
43
44 &.empty {
44 &.empty {
45 background-color: @grey4;
45 background-color: @grey4;
46 }
46 }
47
47
48 &:hover {
48 &:hover {
49 background-color: @rcdarkblue;
49 background-color: @rcdarkblue;
50 }
50 }
51 }
51 }
52 }
52 }
53 .pill_container {
53 .pill_container {
54 margin: 1.25em 0px 0px 0px;
54 margin: 1.25em 0px 0px 0px;
55 float: right;
55 float: right;
56 }
56 }
57
57
58 &#quick_login_li {
58 &#quick_login_li {
59 &:hover {
59 &:hover {
60 color: @grey5;
60 color: @grey5;
61 }
61 }
62
62
63 a.menu_link_notifications {
63 a.menu_link_notifications {
64 color: white;
64 color: white;
65 }
65 }
66
66
67 .user {
67 .user {
68 padding-bottom: 10px;
68 padding-bottom: 10px;
69 }
69 }
70 }
70 }
71
71
72 &:before { content: none; }
72 &:before { content: none; }
73
73
74 &:last-child {
74 &:last-child {
75 .menulabel {
75 .menulabel {
76 padding-right: 0;
76 padding-right: 0;
77 border-right: none;
77 border-right: none;
78
78
79 .show_more {
79 .show_more {
80 padding-right: 0;
80 padding-right: 0;
81 }
81 }
82 }
82 }
83
83
84 &> a {
84 &> a {
85 border-bottom: none;
85 border-bottom: none;
86 }
86 }
87 }
87 }
88
88
89 &.open {
89 &.open {
90
90
91 a {
91 a {
92 color: white;
92 color: white;
93 }
93 }
94 }
94 }
95
95
96 &:focus {
96 &:focus {
97 outline: none;
97 outline: none;
98 }
98 }
99
99
100 ul li {
100 ul li {
101 display: block;
101 display: block;
102
102
103 &:last-child> a {
103 &:last-child> a {
104 border-bottom: none;
104 border-bottom: none;
105 }
105 }
106
106
107 ul li:last-child a {
107 ul li:last-child a {
108 /* we don't expect more then 3 levels of submenu and the third
108 /* we don't expect more then 3 levels of submenu and the third
109 level can have different html structure */
109 level can have different html structure */
110 border-bottom: none;
110 border-bottom: none;
111 }
111 }
112 }
112 }
113 }
113 }
114
114
115 > li {
115 > li {
116 float: left;
116 float: left;
117 display: block;
117 display: block;
118 padding: 0;
118 padding: 0;
119
119
120 > a,
120 > a,
121 &.has_select2 a {
121 &.has_select2 a {
122 display: block;
122 display: block;
123 padding: 10px 0;
123 padding: 10px 0;
124 }
124 }
125
125
126 .menulabel {
126 .menulabel {
127 line-height: 1em;
127 line-height: 1em;
128 // for this specifically we do not use a variable
128 // for this specifically we do not use a variable
129 }
129 }
130
130
131 .pr_notifications {
131 .pr_notifications {
132 padding-left: .5em;
132 padding-left: .5em;
133 }
133 }
134
134
135 .pr_notifications + .menulabel {
135 .pr_notifications + .menulabel {
136 display:inline;
136 display:inline;
137 padding-left: 0;
137 padding-left: 0;
138 }
138 }
139
139
140 &:hover,
140 &:hover,
141 &.open,
141 &.open,
142 &.active {
142 &.active {
143 a {
143 a {
144 color: @rcblue;
144 color: @rcblue;
145 }
145 }
146 }
146 }
147 }
147 }
148
148
149 pre {
149 pre {
150 margin: 0;
150 margin: 0;
151 padding: 0;
151 padding: 0;
152 }
152 }
153
153
154 .select2-container,
154 .select2-container,
155 .menulink.childs {
155 .menulink.childs {
156 position: relative;
156 position: relative;
157 }
157 }
158
158
159 #quick_login {
159 #quick_login {
160
160
161 li a {
161 li a {
162 padding: .5em 0;
162 padding: .5em 0;
163 border-bottom: none;
163 border-bottom: none;
164 color: @grey2;
164 color: @grey2;
165
165
166 &:hover { color: @grey1; }
166 &:hover { color: @grey1; }
167 }
167 }
168 }
168 }
169
169
170 #quick_login_link {
170 #quick_login_link {
171 display: inline-block;
171 display: inline-block;
172
172
173 .gravatar {
173 .gravatar {
174 border: 1px solid @grey5;
174 border: 1px solid @grey5;
175 }
175 }
176
176
177 .gravatar-login {
177 .gravatar-login {
178 height: 20px;
178 height: 20px;
179 width: 20px;
179 width: 20px;
180 margin: -8px 0;
180 margin: -8px 0;
181 padding: 0;
181 padding: 0;
182 }
182 }
183
183
184 &:hover .user {
184 &:hover .user {
185 color: @grey6;
185 color: @grey6;
186 }
186 }
187 }
187 }
188 }
188 }
189 .header .horizontal-list {
189 .header .horizontal-list {
190
190
191 li {
191 li {
192
192
193 &#quick_login_li {
193 &#quick_login_li {
194 padding-left: .5em;
194 padding-left: .5em;
195
195
196 &:hover #quick_login_link {
196 &:hover #quick_login_link {
197 color: inherit;
197 color: inherit;
198 }
198 }
199
199
200 .menu_link_user {
200 .menu_link_user {
201 padding: 0 2px;
201 padding: 0 2px;
202 }
202 }
203 }
203 }
204 list-style-type: none;
204 list-style-type: none;
205 }
205 }
206
206
207 > li {
207 > li {
208
208
209 a {
209 a {
210 padding: 18px 0 12px 0;
210 padding: 18px 0 12px 0;
211 color: @nav-grey;
211 color: @nav-grey;
212
212
213 &.menu_link_notifications {
213 &.menu_link_notifications {
214 padding: 1px 8px;
214 padding: 1px 8px;
215 }
215 }
216 }
216 }
217
217
218 &:hover,
218 &:hover,
219 &.open,
219 &.open,
220 &.active {
220 &.active {
221 .pill_container a {
221 .pill_container a {
222 // don't select text for the pill container, it has it' own
222 // don't select text for the pill container, it has it' own
223 // hover behaviour
223 // hover behaviour
224 color: @nav-grey;
224 color: @nav-grey;
225 }
225 }
226 }
226 }
227
227
228 &:hover,
228 &:hover,
229 &.open,
229 &.open,
230 &.active {
230 &.active {
231 a {
231 a {
232 color: @grey6;
232 color: @grey6;
233 }
233 }
234 }
234 }
235
235
236 .select2-dropdown-open a {
236 .select2-dropdown-open a {
237 color: @grey6;
237 color: @grey6;
238 }
238 }
239
239
240 .repo-switcher {
240 .repo-switcher {
241 padding-left: 0;
241 padding-left: 0;
242
242
243 .menulabel {
243 .menulabel {
244 padding-left: 0;
244 padding-left: 0;
245 }
245 }
246 }
246 }
247 }
247 }
248
248
249 li ul li {
249 li ul li {
250 background-color:@grey2;
250 background-color:@grey2;
251
251
252 a {
252 a {
253 padding: .5em 0;
253 padding: .5em 0;
254 border-bottom: @border-thickness solid @border-default-color;
254 border-bottom: @border-thickness solid @border-default-color;
255 color: @grey6;
255 color: @grey6;
256 }
256 }
257
257
258 &:last-child a, &.last a{
258 &:last-child a, &.last a{
259 border-bottom: none;
259 border-bottom: none;
260 }
260 }
261
261
262 &:hover {
262 &:hover {
263 background-color: @grey3;
263 background-color: @grey3;
264 }
264 }
265 }
265 }
266
266
267 .submenu {
267 .submenu {
268 margin-top: 5px;
268 margin-top: 5px;
269 }
269 }
270 }
270 }
271
271
272 // SUBMENUS
272 // SUBMENUS
273 .navigation .submenu {
273 .navigation .submenu {
274 display: none;
274 display: none;
275 }
275 }
276
276
277 .navigation li.open {
277 .navigation li.open {
278 .submenu {
278 .submenu {
279 display: block;
279 display: block;
280 }
280 }
281 }
281 }
282
282
283 .navigation li:last-child .submenu {
283 .navigation li:last-child .submenu {
284 right: -20px;
284 right: -20px;
285 left: auto;
285 left: auto;
286 }
286 }
287
287
288 .submenu {
288 .submenu {
289 position: absolute;
289 position: absolute;
290 top: 100%;
290 top: 100%;
291 left: 0;
291 left: 0;
292 min-width: 150px;
292 min-width: 150px;
293 margin: 6px 0 0;
293 margin: 6px 0 0;
294 padding: 0;
294 padding: 0;
295 text-align: left;
295 text-align: left;
296 font-family: @text-light;
296 font-family: @text-light;
297 border-radius: @border-radius;
297 border-radius: @border-radius;
298 z-index: 20;
298 z-index: 20;
299
299
300 li {
300 li {
301 display: block;
301 display: block;
302 margin: 0;
302 margin: 0;
303 padding: 0 .5em;
303 padding: 0 .5em;
304 line-height: 1em;
304 line-height: 1em;
305 color: @grey3;
305 color: @grey3;
306 background-color: @grey6;
306 background-color: @grey6;
307 list-style-type: none;
307 list-style-type: none;
308
308
309 a {
309 a {
310 display: block;
310 display: block;
311 width: 100%;
311 width: 100%;
312 padding: .5em 0;
312 padding: .5em 0;
313 border-right: none;
313 border-right: none;
314 border-bottom: @border-thickness solid white;
314 border-bottom: @border-thickness solid white;
315 color: @grey3;
315 color: @grey3;
316 }
316 }
317
317
318 ul {
318 ul {
319 display: none;
319 display: none;
320 position: absolute;
320 position: absolute;
321 top: 0;
321 top: 0;
322 right: 100%;
322 right: 100%;
323 padding: 0;
323 padding: 0;
324 z-index: 30;
324 z-index: 30;
325 }
325 }
326 &:hover {
326 &:hover {
327 background-color: @grey5;
327 background-color: @grey5;
328 -webkit-transition: background .3s;
328 -webkit-transition: background .3s;
329 -moz-transition: background .3s;
329 -moz-transition: background .3s;
330 -o-transition: background .3s;
330 -o-transition: background .3s;
331 transition: background .3s;
331 transition: background .3s;
332
332
333 ul {
333 ul {
334 display: block;
334 display: block;
335 }
335 }
336 }
336 }
337 }
337 }
338
338
339 }
339 }
340
340
341
341
342
342
343
343
344 // repo dropdown
344 // repo dropdown
345 .quick_repo_menu {
345 .quick_repo_menu {
346 width: 15px;
346 width: 15px;
347 text-align: center;
347 text-align: center;
348 position: relative;
348 position: relative;
349 cursor: pointer;
349 cursor: pointer;
350
350
351 div {
351 div {
352 overflow: visible !important;
352 overflow: visible !important;
353 }
353 }
354
354
355 &.sorting {
355 &.sorting {
356 cursor: auto;
356 cursor: auto;
357 }
357 }
358
358
359 &:hover {
359 &:hover {
360 .menu_items_container {
360 .menu_items_container {
361 position: absolute;
361 position: absolute;
362 display: block;
362 display: block;
363 }
363 }
364 .menu_items {
364 .menu_items {
365 display: block;
365 display: block;
366 }
366 }
367 }
367 }
368
368
369 i {
369 i {
370 margin: 0;
370 margin: 0;
371 color: @grey4;
371 color: @grey4;
372 }
372 }
373
373
374 .menu_items_container {
374 .menu_items_container {
375 position: absolute;
375 position: absolute;
376 top: 0;
376 top: 0;
377 left: 100%;
377 left: 100%;
378 margin: 0;
378 margin: 0;
379 padding: 0;
379 padding: 0;
380 list-style: none;
380 list-style: none;
381 background-color: @grey6;
381 background-color: @grey6;
382 z-index: 999;
382 z-index: 999;
383 text-align: left;
383 text-align: left;
384
384
385 a {
385 a {
386 color: @grey2;
386 color: @grey2;
387 }
387 }
388
388
389 ul.menu_items {
389 ul.menu_items {
390 margin: 0;
390 margin: 0;
391 padding: 0;
391 padding: 0;
392 }
392 }
393
393
394 li {
394 li {
395 margin: 0;
395 margin: 0;
396 padding: 0;
396 padding: 0;
397 line-height: 1em;
397 line-height: 1em;
398 list-style-type: none;
398 list-style-type: none;
399
399
400 a {
400 a {
401 display: block;
401 display: block;
402 height: 16px;
402 height: 16px;
403 padding: 8px; //must add up to td height (28px)
403 padding: 8px; //must add up to td height (28px)
404 width: 120px; // set width
404 width: 120px; // set width
405
405
406 &:hover {
406 &:hover {
407 background-color: @grey5;
407 background-color: @grey5;
408 -webkit-transition: background .3s;
408 -webkit-transition: background .3s;
409 -moz-transition: background .3s;
409 -moz-transition: background .3s;
410 -o-transition: background .3s;
410 -o-transition: background .3s;
411 transition: background .3s;
411 transition: background .3s;
412 }
412 }
413 }
413 }
414 }
414 }
415 }
415 }
416 }
416 }
417
417
418 // Header Repository Switcher
418 // Header Repository Switcher
419 // Select2 Dropdown
419 // Select2 Dropdown
420 #select2-drop.select2-drop.repo-switcher-dropdown {
420 #select2-drop.select2-drop.repo-switcher-dropdown {
421 width: auto !important;
421 width: auto !important;
422 margin-top: 5px;
422 margin-top: 5px;
423 padding: 1em 0;
423 padding: 1em 0;
424 text-align: left;
424 text-align: left;
425 .border-radius-bottom(@border-radius);
425 .border-radius-bottom(@border-radius);
426 border-color: transparent;
426 border-color: transparent;
427 color: @grey6;
427 color: @grey6;
428 background-color: @grey2;
428 background-color: @grey2;
429
429
430 input {
430 input {
431 min-width: 90%;
431 min-width: 90%;
432 }
432 }
433
433
434 ul.select2-result-sub {
434 ul.select2-result-sub {
435
435
436 li {
436 li {
437 line-height: 1em;
437 line-height: 1em;
438
438
439 &:hover,
439 &:hover,
440 &.select2-highlighted {
440 &.select2-highlighted {
441 background-color: @grey3;
441 background-color: @grey3;
442 }
442 }
443 }
443 }
444
444
445 &:before { content: none; }
445 &:before { content: none; }
446 }
446 }
447
447
448 ul.select2-results {
448 ul.select2-results {
449 min-width: 200px;
449 min-width: 200px;
450 margin: 0;
450 margin: 0;
451 padding: 0;
451 padding: 0;
452 list-style-type: none;
452 list-style-type: none;
453 overflow-x: visible;
453 overflow-x: visible;
454 overflow-y: scroll;
454 overflow-y: scroll;
455
455
456 li {
456 li {
457 padding: 0 8px;
457 padding: 0 8px;
458 line-height: 1em;
458 line-height: 1em;
459 color: @grey6;
459 color: @grey6;
460
460
461 &>.select2-result-label {
461 &>.select2-result-label {
462 padding: 8px 0;
462 padding: 8px 0;
463 border-bottom: @border-thickness solid @grey3;
463 border-bottom: @border-thickness solid @grey3;
464 white-space: nowrap;
464 white-space: nowrap;
465 color: @grey5;
465 color: @grey5;
466 cursor: pointer;
466 cursor: pointer;
467 }
467 }
468
468
469 &.select2-result-with-children {
469 &.select2-result-with-children {
470 margin: 0;
470 margin: 0;
471 padding: 0;
471 padding: 0;
472 }
472 }
473
473
474 &.select2-result-unselectable > .select2-result-label {
474 &.select2-result-unselectable > .select2-result-label {
475 margin: 0 8px;
475 margin: 0 8px;
476 }
476 }
477
477
478 }
478 }
479 }
479 }
480
480
481 ul.select2-result-sub {
481 ul.select2-result-sub {
482 margin: 0;
482 margin: 0;
483 padding: 0;
483 padding: 0;
484
484
485 li {
485 li {
486 display: block;
486 display: block;
487 margin: 0;
487 margin: 0;
488 border-right: none;
488 border-right: none;
489 line-height: 1em;
489 line-height: 1em;
490 font-family: @text-light;
490 font-family: @text-light;
491 color: @grey2;
491 color: @grey2;
492 list-style-type: none;
492 list-style-type: none;
493
493
494 &:hover {
494 &:hover {
495 background-color: @grey3;
495 background-color: @grey3;
496 }
496 }
497 }
497 }
498 }
498 }
499 }
499 }
500
500
501
501
502 #context-bar {
502 #context-bar {
503 display: block;
503 display: block;
504 margin: 0 auto 20px 0;
504 margin: 0 auto 20px 0;
505 padding: 0 @header-padding;
505 padding: 0 @header-padding;
506 background-color: @grey7;
506 background-color: @grey7;
507
507
508 .clear {
508 .clear {
509 clear: both;
509 clear: both;
510 }
510 }
511 }
511 }
512
512
513 ul#context-pages {
513 ul#context-pages {
514 li {
514 li {
515 list-style-type: none;
515 list-style-type: none;
516
516
517 a {
517 a {
518 color: @grey3;
518 color: @grey3;
519
519
520 &:hover {
520 &:hover {
521 color: @grey2;
521 color: @grey2;
522 }
522 }
523 }
523 }
524
524
525 &.active {
525 &.active {
526 // special case, non-variable color
526 // special case, non-variable color
527 border-bottom: 2px solid @rcblue;
527 border-bottom: 2px solid @rcblue;
528
528
529 a {
529 a {
530 color: @rcblue;
530 color: @rcblue;
531 }
531 }
532 }
532 }
533 }
533 }
534 }
534 }
535
535
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;
544 }
545 }
545 }
546 }
546
547
547 .dataTables_processing {
548 .dataTables_processing {
548 text-align: center;
549 text-align: center;
549 font-size: 1.1em;
550 font-size: 1.1em;
550 position: relative;
551 position: relative;
551 top: 95px;
552 top: 95px;
552 }
553 }
553
554
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,
573 .paginate_button.current, .paginate_button.disabled,
579 .paginate_button.current, .paginate_button.disabled,
574 .disabled {
580 .disabled {
575 color: @grey3;
581 color: @grey3;
576 cursor: default;
582 cursor: default;
577 }
583 }
578
584
579 .ellipsis {
585 .ellipsis {
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 }
587 }
593 }
588
594
589 // SIDEBAR
595 // SIDEBAR
590
596
591 .sidebar {
597 .sidebar {
592 .block-left;
598 .block-left;
593 clear: left;
599 clear: left;
594 max-width: @sidebar-width;
600 max-width: @sidebar-width;
595 margin-right: @sidebarpadding;
601 margin-right: @sidebarpadding;
596 padding-right: @sidebarpadding;
602 padding-right: @sidebarpadding;
597 font-family: @text-regular;
603 font-family: @text-regular;
598 color: @grey1;
604 color: @grey1;
599
605
600 &#graph_nodes {
606 &#graph_nodes {
601 clear:both;
607 clear:both;
602 width: auto;
608 width: auto;
603 margin-left: -100px;
609 margin-left: -100px;
604 padding: 0;
610 padding: 0;
605 border: none;
611 border: none;
606 }
612 }
607
613
608 .nav-pills {
614 .nav-pills {
609 margin: 0;
615 margin: 0;
610 }
616 }
611
617
612 .nav {
618 .nav {
613 list-style: none;
619 list-style: none;
614 padding: 0;
620 padding: 0;
615
621
616 li {
622 li {
617 padding-bottom: @menupadding;
623 padding-bottom: @menupadding;
618 line-height: 1em;
624 line-height: 1em;
619 color: @grey4;
625 color: @grey4;
620 list-style-type: none;
626 list-style-type: none;
621
627
622 &.active a {
628 &.active a {
623 color: @grey2;
629 color: @grey2;
624 }
630 }
625
631
626 a {
632 a {
627 color: @grey4;
633 color: @grey4;
628 }
634 }
629 }
635 }
630
636
631 }
637 }
632 }
638 }
633
639
634 .main_filter_help_box {
640 .main_filter_help_box {
635 padding: 7px 7px;
641 padding: 7px 7px;
636 display: inline-block;
642 display: inline-block;
637 vertical-align: top;
643 vertical-align: top;
638 background: inherit;
644 background: inherit;
639 position: absolute;
645 position: absolute;
640 right: 0;
646 right: 0;
641 top: 9px;
647 top: 9px;
642 }
648 }
643
649
644 .main_filter_input_box {
650 .main_filter_input_box {
645 display: inline-block;
651 display: inline-block;
646
652
647 .searchItems {
653 .searchItems {
648 display:flex;
654 display:flex;
649 background: @black;
655 background: @black;
650 padding: 0px;
656 padding: 0px;
651 border-radius: 3px;
657 border-radius: 3px;
652 border: 1px solid @black;
658 border: 1px solid @black;
653
659
654 a {
660 a {
655 border: none !important;
661 border: none !important;
656 }
662 }
657 }
663 }
658
664
659 .searchTag {
665 .searchTag {
660 line-height: 28px;
666 line-height: 28px;
661 padding: 0 5px;
667 padding: 0 5px;
662
668
663 .tag {
669 .tag {
664 color: @grey5;
670 color: @grey5;
665 border-color: @grey2;
671 border-color: @grey2;
666 background: @grey1;
672 background: @grey1;
667 }
673 }
668 }
674 }
669
675
670 .searchTagFilter {
676 .searchTagFilter {
671 background-color: @black !important;
677 background-color: @black !important;
672 margin-right: 0;
678 margin-right: 0;
673 }
679 }
674
680
675 .searchTagHelp {
681 .searchTagHelp {
676 background-color: @grey1 !important;
682 background-color: @grey1 !important;
677 margin: 0;
683 margin: 0;
678 }
684 }
679 .searchTagHelp:hover {
685 .searchTagHelp:hover {
680 background-color: @grey1 !important;
686 background-color: @grey1 !important;
681 }
687 }
682 .searchTagInput {
688 .searchTagInput {
683 background-color: @grey1 !important;
689 background-color: @grey1 !important;
684 margin-right: 0;
690 margin-right: 0;
685 }
691 }
686 }
692 }
687
693
688 .main_filter_box {
694 .main_filter_box {
689 margin: 9px 0 0 0;
695 margin: 9px 0 0 0;
690 }
696 }
691
697
692 #main_filter_help {
698 #main_filter_help {
693 background: @grey3;
699 background: @grey3;
694 border: 1px solid black;
700 border: 1px solid black;
695 position: absolute;
701 position: absolute;
696 white-space: pre;
702 white-space: pre;
697 z-index: 9999;
703 z-index: 9999;
698 color: @nav-grey;
704 color: @nav-grey;
699 margin: 1px 7px;
705 margin: 1px 7px;
700 padding: 0 10px;
706 padding: 0 10px;
701 }
707 }
702
708
703 input {
709 input {
704
710
705 &.main_filter_input {
711 &.main_filter_input {
706 padding: 5px 10px;
712 padding: 5px 10px;
707 min-width: 260px;
713 min-width: 260px;
708 color: @grey7;
714 color: @grey7;
709 background: @black;
715 background: @black;
710 min-height: 18px;
716 min-height: 18px;
711 border: 0;
717 border: 0;
712
718
713 &:active {
719 &:active {
714 color: @grey2 !important;
720 color: @grey2 !important;
715 background: white !important;
721 background: white !important;
716 }
722 }
717 &:focus {
723 &:focus {
718 color: @grey2 !important;
724 color: @grey2 !important;
719 background: white !important;
725 background: white !important;
720 }
726 }
721 }
727 }
722 }
728 }
723
729
724
730
725
731
726 .main_filter_input::placeholder {
732 .main_filter_input::placeholder {
727 color: @nav-grey;
733 color: @nav-grey;
728 opacity: 1;
734 opacity: 1;
729 }
735 }
730
736
731 .notice-box {
737 .notice-box {
732 display:block !important;
738 display:block !important;
733 padding: 9px 0 !important;
739 padding: 9px 0 !important;
734 }
740 }
735
741
736 .menulabel-notice {
742 .menulabel-notice {
737 border: 1px solid @color5;
743 border: 1px solid @color5;
738 padding:7px 10px;
744 padding:7px 10px;
739 color: @color5;
745 color: @color5;
740 }
746 }
@@ -1,238 +1,244 b''
1 // select2.less
1 // select2.less
2 // For use in RhodeCode application drop down select boxes;
2 // For use in RhodeCode application drop down select boxes;
3 // see style guide documentation for guidelines.
3 // see style guide documentation for guidelines.
4
4
5
5
6 // SELECT2 DROPDOWN MENUS
6 // SELECT2 DROPDOWN MENUS
7
7
8 //Select2 Dropdown
8 //Select2 Dropdown
9 .select2-results{
9 .select2-results{
10 .box-sizing(border-box);
10 .box-sizing(border-box);
11 overflow-y: scroll;
11 overflow-y: scroll;
12 }
12 }
13
13
14 .select2-container{margin: 0; position: relative; display: inline-block; zoom: 1;}
14 .select2-container{margin: 0; position: relative; display: inline-block; zoom: 1;}
15 .select2-container,
15 .select2-container,
16 .select2-drop,
16 .select2-drop,
17 .select2-search,
17 .select2-search,
18 .select2-search input {.box-sizing(border-box);}
18 .select2-search input {.box-sizing(border-box);}
19 .select2-container .select2-choice{display:block; line-height:1em; -webkit-touch-callout:none;-moz-user-select:none;-ms-user-select:none;user-select:none; }
19 .select2-container .select2-choice{display:block; line-height:1em; -webkit-touch-callout:none;-moz-user-select:none;-ms-user-select:none;user-select:none; }
20 .main .select2-container .select2-choice { background-color: white; box-shadow: @button-shadow;}
20 .main .select2-container .select2-choice { background-color: white; box-shadow: @button-shadow;}
21 .select2-container .select2-choice abbr { display: none; width: 12px; height: 12px; position: absolute; right: 24px; top: 8px; font-size: 1px; text-decoration: none; border: 0; background: url('../images/select2.png') right top no-repeat; cursor: pointer; outline: 0; }
21 .select2-container .select2-choice abbr { display: none; width: 12px; height: 12px; position: absolute; right: 24px; top: 8px; font-size: 1px; text-decoration: none; border: 0; background: url('../images/select2.png') right top no-repeat; cursor: pointer; outline: 0; }
22 .select2-container.select2-allowclear .select2-choice abbr {display: inline-block;}
22 .select2-container.select2-allowclear .select2-choice abbr {display: inline-block;}
23 .select2-container .select2-choice abbr:hover { background-position: right -11px; cursor: pointer; }
23 .select2-container .select2-choice abbr:hover { background-position: right -11px; cursor: pointer; }
24 .select2-drop-mask { border: 0; margin: 0; padding: 0; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 998; background-color: #fff; filter: alpha(opacity=0); }
24 .select2-drop-mask { border: 0; margin: 0; padding: 0; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 998; background-color: #fff; filter: alpha(opacity=0); }
25 .select2-drop { width: 100%; margin-top: -1px; position: absolute; z-index: 999; top: 100%; background: #fff; color: #000; border: @border-thickness solid @rcblue; border-top: 0; border-radius: 0 0 @border-radius @border-radius; }
25 .select2-drop { width: 100%; margin-top: -1px; position: absolute; z-index: 999; top: 100%; background: #fff; color: #000; border: @border-thickness solid @rcblue; border-top: 0; border-radius: 0 0 @border-radius @border-radius; }
26 .select2-drop.select2-drop-above { margin-top: 1px; border-top: @border-thickness solid @rclightblue; border-bottom: 0; border-radius: @border-radius @border-radius 0 0; }
26 .select2-drop.select2-drop-above { margin-top: 1px; border-top: @border-thickness solid @rclightblue; border-bottom: 0; border-radius: @border-radius @border-radius 0 0; }
27 .select2-drop-active { border: @border-thickness solid #5897fb; border-top: none; }
27 .select2-drop-active { border: @border-thickness solid #5897fb; border-top: none; }
28 .select2-drop.select2-drop-above.select2-drop-active {border-top: @border-thickness solid #5897fb;}
28 .select2-drop.select2-drop-above.select2-drop-active {border-top: @border-thickness solid #5897fb;}
29 .select2-drop-auto-width { border-top: @border-thickness solid #aaa; width: auto; }
29 .select2-drop-auto-width { border-top: @border-thickness solid #aaa; width: auto; }
30 .select2-drop-auto-width .select2-search {padding-top: 4px;}
30 .select2-drop-auto-width .select2-search {padding-top: 4px;}
31 html[dir="rtl"] .select2-container .select2-choice .select2-arrow { left: 0; right: auto; border-left: none; border-right: @border-thickness solid @grey5; border-radius: @border-radius 0 0 @border-radius; }
31 html[dir="rtl"] .select2-container .select2-choice .select2-arrow { left: 0; right: auto; border-left: none; border-right: @border-thickness solid @grey5; border-radius: @border-radius 0 0 @border-radius; }
32 html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {background-position: 2px 1px;}
32 html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {background-position: 2px 1px;}
33 .select2-search { display: inline-block; width: 100%; min-height: 26px; margin: 0; padding-left: 4px; padding-right: 4px; position: relative; z-index: 1000; white-space: nowrap; }
33 .select2-search { display: inline-block; width: 100%; min-height: 26px; margin: 0; padding-left: 4px; padding-right: 4px; position: relative; z-index: 1000; white-space: nowrap; }
34 .select2-search input { width: 100%; height: auto !important; min-height: 26px; padding: 4px 20px 4px 5px; margin: 0; outline: 0; }
34 .select2-search input { width: 100%; height: auto !important; min-height: 26px; padding: 4px 20px 4px 5px; margin: 0; outline: 0; }
35 html[dir="rtl"] .select2-search input { padding: 4px 5px 4px 20px; background: #fff url('../images/select2.png') no-repeat -37px -22px; }
35 html[dir="rtl"] .select2-search input { padding: 4px 5px 4px 20px; background: #fff url('../images/select2.png') no-repeat -37px -22px; }
36 .select2-drop.select2-drop-above .select2-search input {margin-top: 4px;}
36 .select2-drop.select2-drop-above .select2-search input {margin-top: 4px;}
37 .select2-dropdown-open .select2-choice .select2-arrow { background: transparent; border-left: none; filter: none; }
37 .select2-dropdown-open .select2-choice .select2-arrow { background: transparent; border-left: none; filter: none; }
38 html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {border-right: none;}
38 html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {border-right: none;}
39 .select2-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
39 .select2-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
40 /* results */
40 /* results */
41 .select2-results { max-height: 200px; padding: 0 0 0 4px; margin: 4px 4px 4px 0; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
41 .select2-results { max-height: 200px; padding: 0 0 0 4px; margin: 4px 4px 4px 0; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
42 html[dir="rtl"] .select2-results { padding: 0 4px 0 0; margin: 4px 0 4px 4px; }
42 html[dir="rtl"] .select2-results { padding: 0 4px 0 0; margin: 4px 0 4px 4px; }
43 .select2-results .select2-disabled{background:@grey6;display:list-item;cursor:default}
43 .select2-results .select2-disabled{background:@grey6;display:list-item;cursor:default}
44 .select2-results .select2-selected{display:none}
44 .select2-results .select2-selected{display:none}
45 .select2-more-results.select2-active{background:#f4f4f4 url('../images/select2-spinner.gif') no-repeat 100%}
45 .select2-more-results.select2-active{background:#f4f4f4 url('../images/select2-spinner.gif') no-repeat 100%}
46 .select2-container.select2-container-disabled .select2-choice abbr{display:none}
46 .select2-container.select2-container-disabled .select2-choice abbr{display:none}
47 .select2-container.select2-container-disabled {background:@grey6;cursor:default}
47 .select2-container.select2-container-disabled {background:@grey6;cursor:default}
48 .select2-container.select2-container-disabled .select2-choice {background:@grey6;cursor:default}
48 .select2-container.select2-container-disabled .select2-choice {background:@grey6;cursor:default}
49 .select2-container-multi .select2-choices li{float:left;list-style:none}
49 .select2-container-multi .select2-choices li{float:left;list-style:none}
50 .select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}
50 .select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}
51 .select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}
51 .select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}
52 .select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:none;background:url('../images/select2.png') right top no-repeat}
52 .select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:none;background:url('../images/select2.png') right top no-repeat}
53 .select2-container-multi .select2-search-choice-close{left:3px}
53 .select2-container-multi .select2-search-choice-close{left:3px}
54 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px}
54 .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px}
55 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}
55 .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}
56 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:none}
56 .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:none}
57 .select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0) !important;width:1px !important;height:1px !important;
57 .select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0) !important;width:1px !important;height:1px !important;
58 border:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;
58 border:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;
59 position: absolute !important;outline:0 !important;left:0 !important;top:0 !important}
59 position: absolute !important;outline:0 !important;left:0 !important;top:0 !important}
60 .select2-display-none,
60 .select2-display-none,
61 .select2-search-hidden {display:none}
61 .select2-search-hidden {display:none}
62 .select2-search input { border-color: @rclightblue; }
62 .select2-search input { border-color: @rclightblue; }
63
63
64 .select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}
64 .select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}
65 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
65 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
66 only screen and (min-resolution:144dpi){
66 only screen and (min-resolution:144dpi){
67 .select2-search input,
67 .select2-search input,
68 .select2-search-choice-close,
68 .select2-search-choice-close,
69 .select2-container .select2-choice abbr,
69 .select2-container .select2-choice abbr,
70 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
70 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
71 .select2-search input{background-position:100% -21px}
71 .select2-search input{background-position:100% -21px}
72 }
72 }
73 [class^="input-"] [class^="select2-choice"]>div{display:none}
73 [class^="input-"] [class^="select2-choice"]>div{display:none}
74 [class^="input-"] .select2-offscreen{position:absolute}
74 [class^="input-"] .select2-offscreen{position:absolute}
75 select.select2{height:28px;visibility:hidden}
75 select.select2{height:28px;visibility:hidden}
76 .autocomplete-suggestions{overflow:auto}
76 .autocomplete-suggestions{overflow:auto}
77 .autocomplete-suggestion{white-space:nowrap;overflow:hidden}
77 .autocomplete-suggestion{white-space:nowrap;overflow:hidden}
78
78
79 /* Retina-ize icons */
79 /* Retina-ize icons */
80 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
80 @media only screen and (-webkit-min-device-pixel-ratio:1.5),
81 only screen and (min-resolution:144dpi){
81 only screen and (min-resolution:144dpi){
82 .select2-search input,
82 .select2-search input,
83 .select2-search-choice-close,
83 .select2-search-choice-close,
84 .select2-container .select2-choice abbr,
84 .select2-container .select2-choice abbr,
85 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
85 .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;}
86 .select2-search input{background-position:100% -21px}
86 .select2-search input{background-position:100% -21px}
87 }
87 }
88
88
89 //Internal Select2 Dropdown Menus
89 //Internal Select2 Dropdown Menus
90
90
91 .drop-menu-core {
91 .drop-menu-core {
92 min-width: 160px;
92 min-width: 160px;
93 margin: 0 @padding 0 0;
93 margin: 0 @padding 0 0;
94 padding: 0;
94 padding: 0;
95 border: @border-thickness solid @grey5;
95 border: @border-thickness solid @grey5;
96 border-radius: @border-radius;
96 border-radius: @border-radius;
97 color: @grey2;
97 color: @grey2;
98 background-color: white;
98 background-color: white;
99
99
100 a {
100 a {
101 color: @grey2;
101 color: @grey2;
102
102
103 &:hover {
103 &:hover {
104 color: @rcdarkblue;
104 color: @rcdarkblue;
105 }
105 }
106 }
106 }
107
107
108 &:hover {
108 &:hover {
109 border-color: @grey4;
109 border-color: @grey4;
110 }
110 }
111 }
111 }
112
112
113 .drop-menu-dropdown {
113 .drop-menu-dropdown {
114 .drop-menu-core;
114 .drop-menu-core;
115
115
116 .flag_status {
116 .flag_status {
117 margin-top: 0;
117 margin-top: 0;
118 }
118 }
119 }
119 }
120
120
121 .drop-menu-base {
121 .drop-menu-base {
122 .drop-menu-core;
122 .drop-menu-core;
123 position: relative;
123 position: relative;
124 display: inline-block;
124 display: inline-block;
125 line-height: 1em;
125 line-height: 1em;
126 z-index: 2;
126 z-index: 2;
127 cursor: pointer;
127 cursor: pointer;
128
128
129 .flag_status {
129 .flag_status {
130 margin-top: 0;
130 margin-top: 0;
131 }
131 }
132
132
133 a {
133 a {
134 display:block;
134 display:block;
135 padding: .7em;
135 padding: .7em;
136 padding-right: 2em;
136 padding-right: 2em;
137 position: relative;
137 position: relative;
138
138
139 &:after {
139 &:after {
140 position: absolute;
140 position: absolute;
141 content: "\00A0\25BE";
141 content: "\00A0\25BE";
142 right: .1em;
142 right: .1em;
143 line-height: 1em;
143 line-height: 1em;
144 top: 0.2em;
144 top: 0.2em;
145 width: 1em;
145 width: 1em;
146 font-size: 20px;
146 font-size: 20px;
147 }
147 }
148 }
148 }
149 }
149 }
150
150
151 .drop-menu {
151 .drop-menu {
152 .drop-menu-base;
152 .drop-menu-base;
153 width: auto !important;
153 width: auto !important;
154 }
154 }
155
155
156 .drop-menu-no-width {
156 .drop-menu-no-width {
157 .drop-menu-base;
157 .drop-menu-base;
158 width: auto;
158 width: auto;
159 }
159 }
160
160
161 .field-sm .drop-menu {
161 .field-sm .drop-menu {
162 padding: 1px 0 0 0;
162 padding: 1px 0 0 0;
163 a {
163 a {
164 padding: 6px;
164 padding: 6px;
165 };
165 };
166 }
166 }
167
167
168 .select2-search input {
168 .select2-search input {
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 {
175 padding: .5em;
181 padding: .5em;
176 }
182 }
177
183
178 .drop-menu-dropdown ul {
184 .drop-menu-dropdown ul {
179 width: auto;
185 width: auto;
180 margin: 0;
186 margin: 0;
181 padding: 0;
187 padding: 0;
182 z-index: 50;
188 z-index: 50;
183
189
184 li {
190 li {
185 margin: 0;
191 margin: 0;
186 line-height: 1em;
192 line-height: 1em;
187 list-style-type: none;
193 list-style-type: none;
188
194
189 &:hover,
195 &:hover,
190 &.select2-highlighted {
196 &.select2-highlighted {
191 background-color: @grey7;
197 background-color: @grey7;
192
198
193 .select2-result-label {
199 .select2-result-label {
194 &:hover {
200 &:hover {
195 color: @grey1!important;
201 color: @grey1!important;
196 }
202 }
197 }
203 }
198 }
204 }
199
205
200 &.select2-result-with-children {
206 &.select2-result-with-children {
201 &:hover {
207 &:hover {
202 background-color: white;
208 background-color: white;
203 }
209 }
204 }
210 }
205
211
206 .select2-result-label {
212 .select2-result-label {
207 display:block;
213 display:block;
208 padding: 8px;
214 padding: 8px;
209 font-family: @text-regular;
215 font-family: @text-regular;
210 color: @grey2;
216 color: @grey2;
211 cursor: pointer;
217 cursor: pointer;
212 }
218 }
213 &.select2-result-with-children {
219 &.select2-result-with-children {
214
220
215 .select2-result-label {
221 .select2-result-label {
216 color: @rcdarkblue;
222 color: @rcdarkblue;
217 cursor: default;
223 cursor: default;
218 font-weight: @text-semibold-weight;
224 font-weight: @text-semibold-weight;
219 font-family: @text-semibold;
225 font-family: @text-semibold;
220 }
226 }
221
227
222 ul.select2-result-sub li .select2-result-label {
228 ul.select2-result-sub li .select2-result-label {
223 padding-left: 16px;
229 padding-left: 16px;
224 font-family: @text-regular;
230 font-family: @text-regular;
225 color: @grey2;
231 color: @grey2;
226 cursor: pointer;
232 cursor: pointer;
227 }
233 }
228 }
234 }
229 }
235 }
230 }
236 }
231
237
232 .side-by-side-selector {
238 .side-by-side-selector {
233 .left-group,
239 .left-group,
234 .middle-group,
240 .middle-group,
235 .right-group {
241 .right-group {
236 margin-bottom: @padding;
242 margin-bottom: @padding;
237 }
243 }
238 }
244 }
@@ -1,133 +1,141 b''
1 // tags.less
1 // tags.less
2 // For use in RhodeCode applications;
2 // For use in RhodeCode applications;
3 // see style guide documentation for guidelines.
3 // see style guide documentation for guidelines.
4
4
5 // TAGS
5 // TAGS
6 .tag,
6 .tag,
7 .tagtag {
7 .tagtag {
8 display: inline-block;
8 display: inline-block;
9 min-height: 0;
9 min-height: 0;
10 margin: 0 auto;
10 margin: 0 auto;
11 padding: .25em;
11 padding: .25em;
12 text-align: center;
12 text-align: center;
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,
28 [class*=" icon-"]:before {
32 [class*=" icon-"]:before {
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; }
35 .tag1 { .border ( @border-thickness-tags, @color1 ); color:@color1; }
43 .tag1 { .border ( @border-thickness-tags, @color1 ); color:@color1; }
36 .tag2 { .border ( @border-thickness-tags, @color2 ); color:@color2; }
44 .tag2 { .border ( @border-thickness-tags, @color2 ); color:@color2; }
37 .tag3 { .border ( @border-thickness-tags, @color3 ); color:@color3; }
45 .tag3 { .border ( @border-thickness-tags, @color3 ); color:@color3; }
38 .tag4 { .border ( @border-thickness-tags, @color4 ); color:@color4; }
46 .tag4 { .border ( @border-thickness-tags, @color4 ); color:@color4; }
39 .tag5 { .border ( @border-thickness-tags, @color5 ); color:@color5; }
47 .tag5 { .border ( @border-thickness-tags, @color5 ); color:@color5; }
40 .tag6 { .border ( @border-thickness-tags, @color6 ); color:@color6; }
48 .tag6 { .border ( @border-thickness-tags, @color6 ); color:@color6; }
41 .tag7 { .border ( @border-thickness-tags, @color7 ); color:@color7; }
49 .tag7 { .border ( @border-thickness-tags, @color7 ); color:@color7; }
42 .tag8 { .border ( @border-thickness-tags, @color8 ); color:@color8; }
50 .tag8 { .border ( @border-thickness-tags, @color8 ); color:@color8; }
43
51
44 .metatag-list {
52 .metatag-list {
45 margin: 0;
53 margin: 0;
46 padding: 0;
54 padding: 0;
47
55
48 li {
56 li {
49 margin: 0 0 @padding;
57 margin: 0 0 @padding;
50 line-height: 1em;
58 line-height: 1em;
51 list-style-type: none;
59 list-style-type: none;
52 }
60 }
53 }
61 }
54
62
55 .branchtag, .booktag {
63 .branchtag, .booktag {
56 &:extend(.tag);
64 &:extend(.tag);
57
65
58
66
59 a {
67 a {
60 color:inherit;
68 color:inherit;
61 }
69 }
62 }
70 }
63
71
64 .metatag {
72 .metatag {
65 &:extend(.tag);
73 &:extend(.tag);
66 a {
74 a {
67 color:inherit;
75 color:inherit;
68 text-decoration: underline;
76 text-decoration: underline;
69 }
77 }
70 }
78 }
71
79
72 [tag="generic"] { &:extend(.tag0); }
80 [tag="generic"] { &:extend(.tag0); }
73 [tag="label"] { &:extend(.tag0); }
81 [tag="label"] { &:extend(.tag0); }
74
82
75 [tag="state featured"] { &:extend(.tag1); }
83 [tag="state featured"] { &:extend(.tag1); }
76 [tag="state dev"] { &:extend(.tag1); }
84 [tag="state dev"] { &:extend(.tag1); }
77 [tag="ref base"] { &:extend(.tag1); }
85 [tag="ref base"] { &:extend(.tag1); }
78
86
79 [tag="state stable"] { &:extend(.tag2); }
87 [tag="state stable"] { &:extend(.tag2); }
80 [tag="state stale"] { &:extend(.tag2); }
88 [tag="state stale"] { &:extend(.tag2); }
81
89
82 [tag="ref requires"] { &:extend(.tag3); }
90 [tag="ref requires"] { &:extend(.tag3); }
83
91
84 [tag="state dead"] { &:extend(.tag4); }
92 [tag="state dead"] { &:extend(.tag4); }
85 [tag="state deprecated"] { &:extend(.tag4); }
93 [tag="state deprecated"] { &:extend(.tag4); }
86
94
87 [tag="ref conflicts"] { &:extend(.tag4); }
95 [tag="ref conflicts"] { &:extend(.tag4); }
88
96
89 [tag="license"] { &:extend(.tag6); }
97 [tag="license"] { &:extend(.tag6); }
90
98
91 [tag="lang"] { &:extend(.tag7); }
99 [tag="lang"] { &:extend(.tag7); }
92 [tag="language"] { &:extend(.tag7); }
100 [tag="language"] { &:extend(.tag7); }
93 [tag="ref recommends"] { &:extend(.tag7); }
101 [tag="ref recommends"] { &:extend(.tag7); }
94
102
95 [tag="see"] { &:extend(.tag8); }
103 [tag="see"] { &:extend(.tag8); }
96 [tag="url"] { &:extend(.tag8); }
104 [tag="url"] { &:extend(.tag8); }
97
105
98
106
99 .perm_overriden {
107 .perm_overriden {
100 text-decoration: line-through;
108 text-decoration: line-through;
101 opacity: 0.6;
109 opacity: 0.6;
102 }
110 }
103
111
104 .perm_tag {
112 .perm_tag {
105 &:extend(.tag);
113 &:extend(.tag);
106
114
107 &.read {
115 &.read {
108 &:extend(.tag1);
116 &:extend(.tag1);
109 }
117 }
110 &.write {
118 &.write {
111 &:extend(.tag4);
119 &:extend(.tag4);
112 }
120 }
113 &.admin {
121 &.admin {
114 &:extend(.tag5);
122 &:extend(.tag5);
115 }
123 }
116 &.merge {
124 &.merge {
117 &:extend(.tag1);
125 &:extend(.tag1);
118 }
126 }
119 &.push {
127 &.push {
120 &:extend(.tag4);
128 &:extend(.tag4);
121 }
129 }
122 &.push_force {
130 &.push_force {
123 &:extend(.tag5);
131 &:extend(.tag5);
124 }
132 }
125 }
133 }
126
134
127 .phase-draft {
135 .phase-draft {
128 color: @color3
136 color: @color3
129 }
137 }
130
138
131 .phase-secret {
139 .phase-secret {
132 color:@grey3
140 color:@grey3
133 }
141 }
General Comments 0
You need to be logged in to leave comments. Login now