##// END OF EJS Templates
Merge pull request #5975 from Carreau/simple-styling...
Min RK -
r16997:2054ac8c merge
parent child Browse files
Show More
@@ -41,9 +41,9 b' def _compile_less(source, target, minify=True, verbose=False):'
41 out = out.decode('utf8', 'replace')
41 out = out.decode('utf8', 'replace')
42 less_version = out.split()[1]
42 less_version = out.split()[1]
43 if V(less_version) < V(min_less_version):
43 if V(less_version) < V(min_less_version):
44 raise ValueError("lessc too old: %s < %s" % (less_version, min_less_version))
44 raise ValueError("lessc too old: %s < %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, min_less_version))
45 if V(less_version) >= V(max_less_version):
45 if V(less_version) >= V(max_less_version):
46 raise ValueError("lessc too new: %s >= %s" % (less_version, max_less_version))
46 raise ValueError("lessc too new: %s >= %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
47
47
48 with lcd(static_dir):
48 with lcd(static_dir):
49 local('lessc {min_flag} {ver_flag} {source} {target}'.format(**locals()))
49 local('lessc {min_flag} {ver_flag} {source} {target}'.format(**locals()))
@@ -1,15 +1,16 b''
1 div.cell {
1 div.cell {
2 border: 1px solid transparent;
2 border: 1px solid transparent;
3 .vbox();
3 .vbox();
4
4 .corner-all();
5 border-width: thin;
6 border-style: solid;
7
5 &.selected {
8 &.selected {
6 .corner-all;
9 border-color: @border_color;
7 border : thin @border_color solid;
8 }
10 }
9
11
10 &.edit_mode {
12 &.edit_mode {
11 .corner-all;
13 border-color: green;
12 border : thin green solid;
13 }
14 }
14 }
15 }
15
16
@@ -44,8 +44,8 b' div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}'
44 .ansibgpurple{background-color:#f0f}
44 .ansibgpurple{background-color:#f0f}
45 .ansibgcyan{background-color:#0ff}
45 .ansibgcyan{background-color:#0ff}
46 .ansibggray{background-color:#808080}
46 .ansibggray{background-color:#808080}
47 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid}
47 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;border-radius:4px;border-width:thin;border-style:solid}div.cell.selected{border-color:#ababab}
48 div.cell.edit_mode{border-radius:4px;border:thin #008000 solid}
48 div.cell.edit_mode{border-color:#008000}
49 div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none}
49 div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none}
50 div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em}
50 div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em}
51 @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
51 @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
@@ -1328,8 +1328,8 b' input.engine_num_input{width:60px}'
1328 .ansibgpurple{background-color:#f0f}
1328 .ansibgpurple{background-color:#f0f}
1329 .ansibgcyan{background-color:#0ff}
1329 .ansibgcyan{background-color:#0ff}
1330 .ansibggray{background-color:#808080}
1330 .ansibggray{background-color:#808080}
1331 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid}
1331 div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;border-radius:4px;border-width:thin;border-style:solid}div.cell.selected{border-color:#ababab}
1332 div.cell.edit_mode{border-radius:4px;border:thin #008000 solid}
1332 div.cell.edit_mode{border-color:#008000}
1333 div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none}
1333 div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none}
1334 div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em}
1334 div.prompt{min-width:15ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em}
1335 @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
1335 @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
General Comments 0
You need to be logged in to leave comments. Login now