##// END OF EJS Templates
fixed clone input url alignment
Liviu -
r3596:78e51dfa new-ui
parent child Browse files
Show More
@@ -1,291 +1,292 b''
1 // summary.less
1 // summary.less
2 // For use in RhodeCode applications;
2 // For use in RhodeCode applications;
3 // Used for headers and file detail summary screens.
3 // Used for headers and file detail summary screens.
4
4
5 .summary {
5 .summary {
6 float: left;
6 float: left;
7 position: relative;
7 position: relative;
8 width: 100%;
8 width: 100%;
9 margin: 0;
9 margin: 0;
10 padding: 0;
10 padding: 0;
11
11
12 .summary-detail-header {
12 .summary-detail-header {
13 float: left;
13 float: left;
14 display: block;
14 display: block;
15 width: 100%;
15 width: 100%;
16 margin-bottom: @textmargin;
16 margin-bottom: @textmargin;
17 padding: 0 0 .5em 0;
17 padding: 0 0 .5em 0;
18 border-bottom: @border-thickness solid @border-default-color;
18 border-bottom: @border-thickness solid @border-default-color;
19
19
20 .breadcrumbs {
20 .breadcrumbs {
21 float: left;
21 float: left;
22 display: inline;
22 display: inline;
23 margin: 0;
23 margin: 0;
24 padding: 0;
24 padding: 0;
25 }
25 }
26 h4 {
26 h4 {
27 float: left;
27 float: left;
28 margin: 0 1em 0 0;
28 margin: 0 1em 0 0;
29 padding: 0;
29 padding: 0;
30 line-height: 1.2em;
30 line-height: 1.2em;
31 font-size: @basefontsize;
31 font-size: @basefontsize;
32 }
32 }
33
33
34 .action_link {
34 .action_link {
35 float: right;
35 float: right;
36 }
36 }
37
37
38 .new-file {
38 .new-file {
39 float: right;
39 float: right;
40 margin-top: -1.5em;
40 margin-top: -1.5em;
41 }
41 }
42 }
42 }
43
43
44 .summary-detail {
44 .summary-detail {
45 float: left;
45 float: left;
46 position: relative;
46 position: relative;
47 width: 73%;
47 width: 73%;
48 margin: 0 3% @space 0;
48 margin: 0 3% @space 0;
49 padding: 0;
49 padding: 0;
50
50
51 .file_diff_buttons {
51 .file_diff_buttons {
52 margin-top: @space;
52 margin-top: @space;
53 }
53 }
54
54
55 // commit message
55 // commit message
56 .commit {
56 .commit {
57 white-space: pre-wrap;
57 white-space: pre-wrap;
58 }
58 }
59
59
60 .left-clone {
60 .left-clone {
61 float: left;
61 float: left;
62 height: 30px;
62 height: 30px;
63 margin: 0;
63 margin: 0;
64 padding: 0;
64 padding: 0;
65 width: 150px;
65 font-weight: @text-semibold-weight;
66 font-weight: @text-semibold-weight;
66 font-family: @text-semibold;
67 font-family: @text-semibold;
67 }
68 }
68
69
69 .right-clone {
70 .right-clone {
70 float: right;
71 float: right;
71 width: 83%;
72 width: ~"calc(100% - 150px)";
72 }
73 }
73
74
74 .clone_url_input {
75 .clone_url_input {
75 width: ~"calc(100% - 35px)";
76 width: ~"calc(100% - 35px)";
76 padding: 5px;
77 padding: 6px 5px;
77 }
78 }
78
79
79 &.directory {
80 &.directory {
80 margin-bottom: 0;
81 margin-bottom: 0;
81 }
82 }
82
83
83 .desc {
84 .desc {
84 white-space: pre-wrap;
85 white-space: pre-wrap;
85 }
86 }
86 .disabled {
87 .disabled {
87 opacity: .5;
88 opacity: .5;
88 cursor: inherit;
89 cursor: inherit;
89 }
90 }
90 .help-block {
91 .help-block {
91 color: inherit;
92 color: inherit;
92 margin: 0;
93 margin: 0;
93 }
94 }
94 }
95 }
95
96
96 .sidebar-right {
97 .sidebar-right {
97 float: left;
98 float: left;
98 width: 24%;
99 width: 24%;
99 margin: 0;
100 margin: 0;
100 padding: 0;
101 padding: 0;
101
102
102 ul {
103 ul {
103 margin-left: 0;
104 margin-left: 0;
104 padding-left: 0;
105 padding-left: 0;
105
106
106 li {
107 li {
107 list-style-type: none;
108 list-style-type: none;
108 }
109 }
109 }
110 }
110 }
111 }
111
112
112 #clone_by_name, #clone_by_id{
113 #clone_by_name, #clone_by_id{
113 display: inline-block;
114 display: inline-block;
114 margin-left: 0px;
115 margin-left: 0px;
115 }
116 }
116
117
117 .codeblock {
118 .codeblock {
118 border: none;
119 border: none;
119 background-color: transparent;
120 background-color: transparent;
120 }
121 }
121
122
122 .code-body {
123 .code-body {
123 border: @border-thickness solid @border-default-color;
124 border: @border-thickness solid @border-default-color;
124 .border-radius(@border-radius);
125 .border-radius(@border-radius);
125 }
126 }
126 }
127 }
127
128
128 // this is used outside of just the summary
129 // this is used outside of just the summary
129 .fieldset, // similar to form fieldset
130 .fieldset, // similar to form fieldset
130 .summary .sidebar-right-content { // these have to match
131 .summary .sidebar-right-content { // these have to match
131 clear: both;
132 clear: both;
132 float: left;
133 float: left;
133 position: relative;
134 position: relative;
134 display:block;
135 display:block;
135 width: 100%;
136 width: 100%;
136 min-height: 1em;
137 min-height: 1em;
137 margin-bottom: @textmargin;
138 margin-bottom: @textmargin;
138 padding: 0;
139 padding: 0;
139 line-height: 1.2em;
140 line-height: 1.2em;
140
141
141 &:after { // clearfix
142 &:after { // clearfix
142 content: "";
143 content: "";
143 clear: both;
144 clear: both;
144 width: 100%;
145 width: 100%;
145 height: 1em;
146 height: 1em;
146 }
147 }
147 }
148 }
148
149
149 .summary .sidebar-right-content {
150 .summary .sidebar-right-content {
150 margin-bottom: @space;
151 margin-bottom: @space;
151
152
152 .rc-user {
153 .rc-user {
153 min-width: 0;
154 min-width: 0;
154 }
155 }
155 }
156 }
156
157
157 .fieldset {
158 .fieldset {
158
159
159 .left-label { // similar to form legend
160 .left-label { // similar to form legend
160 float: left;
161 float: left;
161 display: block;
162 display: block;
162 width: 25%;
163 width: 25%;
163 margin: 0;
164 margin: 0;
164 padding: 0;
165 padding: 0;
165 font-weight: @text-semibold-weight;
166 font-weight: @text-semibold-weight;
166 font-family: @text-semibold;
167 font-family: @text-semibold;
167 }
168 }
168
169
169 .left-label-summary {
170 .left-label-summary {
170 .left-label;
171 .left-label;
171 width: 150px;
172 width: 150px;
172 }
173 }
173
174
174 .right-content { // similar to form fields
175 .right-content { // similar to form fields
175 float: left;
176 float: left;
176 display: block;
177 display: block;
177 width: 75%;
178 width: 75%;
178 margin: 0 0 0 -15%;
179 margin: 0 0 0 -15%;
179 padding: 0 0 0 15%;
180 padding: 0 0 0 15%;
180
181
181 .truncate-wrap,
182 .truncate-wrap,
182 .truncate {
183 .truncate {
183 max-width: 100%;
184 max-width: 100%;
184 width: 100%;
185 width: 100%;
185 }
186 }
186
187
187 .commit-long {
188 .commit-long {
188 overflow-x: auto;
189 overflow-x: auto;
189 }
190 }
190 }
191 }
191 .commit.truncate-wrap {
192 .commit.truncate-wrap {
192 overflow:hidden;
193 overflow:hidden;
193 text-overflow: ellipsis;
194 text-overflow: ellipsis;
194 }
195 }
195 }
196 }
196
197
197 // expand commit message
198 // expand commit message
198 #message_expand {
199 #message_expand {
199 clear: both;
200 clear: both;
200 display: block;
201 display: block;
201 color: @rcblue;
202 color: @rcblue;
202 cursor: pointer;
203 cursor: pointer;
203 }
204 }
204
205
205 #trimmed_message_box {
206 #trimmed_message_box {
206 max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
207 max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height
207 overflow: hidden;
208 overflow: hidden;
208 }
209 }
209
210
210 // show/hide comments button
211 // show/hide comments button
211 .show-inline-comments {
212 .show-inline-comments {
212 display: inline;
213 display: inline;
213 cursor: pointer;
214 cursor: pointer;
214
215
215 .comments-show { display: inline; }
216 .comments-show { display: inline; }
216 .comments-hide { display: none; }
217 .comments-hide { display: none; }
217
218
218 &.comments-visible {
219 &.comments-visible {
219 .comments-show { display: none; }
220 .comments-show { display: none; }
220 .comments-hide { display: inline; }
221 .comments-hide { display: inline; }
221 }
222 }
222 }
223 }
223
224
224 // Quick Start section
225 // Quick Start section
225 .quick_start {
226 .quick_start {
226 float: left;
227 float: left;
227 display: block;
228 display: block;
228 position: relative;
229 position: relative;
229 width: 100%;
230 width: 100%;
230
231
231 // adds some space to make copy and paste easier
232 // adds some space to make copy and paste easier
232 .left-label,
233 .left-label,
233 .right-content {
234 .right-content {
234 line-height: 1.6em;
235 line-height: 1.6em;
235 }
236 }
236 }
237 }
237
238
238 .submodule {
239 .submodule {
239 .summary-detail {
240 .summary-detail {
240 width: 100%;
241 width: 100%;
241
242
242 .btn-collapse {
243 .btn-collapse {
243 display: none;
244 display: none;
244 }
245 }
245 }
246 }
246 }
247 }
247
248
248 .codeblock-header {
249 .codeblock-header {
249 float: left;
250 float: left;
250 display: block;
251 display: block;
251 width: 100%;
252 width: 100%;
252 margin: 0;
253 margin: 0;
253 padding: @space 0 10px 0;
254 padding: @space 0 10px 0;
254 border-top: @border-thickness solid @border-default-color;
255 border-top: @border-thickness solid @border-default-color;
255
256
256 .stats {
257 .stats {
257 float: left;
258 float: left;
258 }
259 }
259 .stats-filename {
260 .stats-filename {
260 font-size: 120%;
261 font-size: 120%;
261 }
262 }
262 .stats-first-item {
263 .stats-first-item {
263 padding: 0px 0px 0px 3px;
264 padding: 0px 0px 0px 3px;
264 }
265 }
265
266
266 .buttons {
267 .buttons {
267 float: right;
268 float: right;
268 text-align: right;
269 text-align: right;
269 color: @grey4;
270 color: @grey4;
270 }
271 }
271
272
272 .file-container {
273 .file-container {
273 display: inline-block;
274 display: inline-block;
274 width: 100%;
275 width: 100%;
275 }
276 }
276
277
277 }
278 }
278
279
279 #summary-menu-stats {
280 #summary-menu-stats {
280
281
281 .stats-bullet {
282 .stats-bullet {
282 color: @grey3;
283 color: @grey3;
283 min-width: 3em;
284 min-width: 3em;
284 }
285 }
285
286
286 .repo-size {
287 .repo-size {
287 margin-bottom: .5em;
288 margin-bottom: .5em;
288 }
289 }
289
290
290 }
291 }
291
292
General Comments 0
You need to be logged in to leave comments. Login now