tazpanel diff styles/default/base.css @ rev 463
Add prism.js syntax highlighter; now files can be edited "in place" without page reloading; allow ANY characters in the Wi-Fi password (bug 126); change web-app layout: main window isn't scrollable, with scrollable contents.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 24 16:00:14 2015 +0300 (2015-04-24) |
parents | 2c1f491aca05 |
children | 098e260f32cd |
line diff
1.1 --- a/styles/default/base.css Fri Apr 10 15:35:35 2015 +0300 1.2 +++ b/styles/default/base.css Fri Apr 24 16:00:14 2015 +0300 1.3 @@ -23,7 +23,7 @@ 1.4 body > header h1 { 1.5 margin: 0; 1.6 color: #fff; 1.7 - font-size: 20px; line-height: 40px; /* center vertical */ 1.8 + font-size: 18px; line-height: 40px; /* center vertical */ 1.9 font-style: italic; 1.10 white-space: nowrap; overflow: hidden; 1.11 vertical-align: middle; 1.12 @@ -211,11 +211,11 @@ 1.13 1.14 1.15 /* Page content container */ 1.16 -#content { margin: 1ex; } 1.17 +#content { margin: 0; padding: 1ex; } 1.18 1.19 1.20 /* Page first header */ 1.21 -h2 { font-size: 1.5rem; padding: 0.5rem 0 0 0; margin: 0; } 1.22 +h2 { font-size: 1.5rem; height: 1.5rem; padding: 0; margin: 0; } 1.23 1.24 1.25 /* Additional headers (obsolete) */ 1.26 @@ -224,7 +224,7 @@ 1.27 1.28 1.29 /* Plain paragraph */ 1.30 -p { margin: 1ex 0; } 1.31 +p { margin: 0.5ex 0; } 1.32 1.33 1.34 #actions p { margin: 6px 0; } 1.35 @@ -364,7 +364,7 @@ 1.36 body > footer { 1.37 border-top: 1px solid; 1.38 text-align: center; 1.39 - padding: 0.5em; 1.40 + height: 1rem; 1.41 font-size: smaller; 1.42 } 1.43 1.44 @@ -740,3 +740,18 @@ 1.45 /* Disable some links to root actions */ 1.46 button:not([disabled]) { cursor: pointer; } 1.47 .user [data-root] { pointer-events: none; cursor: default !important; } 1.48 + 1.49 + 1.50 +html,body { height: 100%; width: 100%; margin: 0; padding: 0; } 1.51 +body > header { position: absolute; top: 0; } 1.52 +body > footer { position: absolute; bottom: 0; left: 0; right: 0; } 1.53 +#content, #content-sidebar { 1.54 + position: absolute; top: 63px; bottom: 1rem; left: 0; right: 0; 1.55 + overflow-y: auto; overflow-x: hidden; 1.56 +} 1.57 + 1.58 +.bigNoScrollable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden; } 1.59 +section.bigNoScrollable { margin: 0.5rem; } 1.60 + 1.61 +.bigScrollable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: auto; } 1.62 +#fileContent.bigScrollable { margin: 0.2rem; top: 2.5rem; }