tazpanel diff styles/default/base.css @ rev 437

(fix) terminal for user, history support; (fix) keymap list (again); (fix) month selected in clock setup; (feauture) add user/root panel indicator and re-login button; (feature) do not hide menu items and buttons (possibly), just disable them (to see all possibilities).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 07 00:27:17 2015 +0300 (2015-04-07)
parents 7488b357abd3
children 77d13290c89c
line diff
     1.1 --- a/styles/default/base.css	Fri Mar 27 14:28:32 2015 +0200
     1.2 +++ b/styles/default/base.css	Tue Apr 07 00:27:17 2015 +0300
     1.3 @@ -54,15 +54,15 @@
     1.4  	display: block;
     1.5  	padding: 0;
     1.6  	color: inherit; background: inherit;
     1.7 -	cursor: pointer;
     1.8  	outline: none;
     1.9  }
    1.10  #toolbarMenu > li > span {
    1.11  	display: inline-block;
    1.12  	padding: 0.2rem;
    1.13 +	cursor: pointer;
    1.14  }
    1.15  
    1.16 -#toolbarMenu menu li {
    1.17 +#toolbarMenu menu li a {
    1.18  	padding: 0.2rem;
    1.19  }
    1.20  
    1.21 @@ -70,7 +70,8 @@
    1.22  #toolbarMenu li:focus span,
    1.23  #toolbarMenu li:hover span,
    1.24  #toolbarMenu menu li:focus,
    1.25 -#toolbarMenu menu li:hover {
    1.26 +.user #toolbarMenu menu li:hover > a:not([data-root]),
    1.27 +.root #toolbarMenu menu li:hover {
    1.28  	background-color: hsla(30, 100%, 50%, 0.5);
    1.29  }
    1.30  
    1.31 @@ -160,6 +161,8 @@
    1.32  section table { margin-bottom: 0.3rem; }
    1.33  .nogap { word-spacing: 0; } /* remove gap between buttons in line */
    1.34  
    1.35 +.scroll { height: 12rem; overflow: auto; border: 1pt solid; }
    1.36 +section .scroll { padding: 0; margin: 0; }
    1.37  
    1.38  
    1.39  
    1.40 @@ -181,7 +184,7 @@
    1.41  
    1.42  
    1.43  fieldset { border: 1pt solid; border-radius: 0.3rem; margin-bottom: 0.2rem; }
    1.44 -
    1.45 +fieldset[disabled] { background-color: hsla(0, 0%, 50%, 0.1);}
    1.46  
    1.47  
    1.48  
    1.49 @@ -248,11 +251,11 @@
    1.50  #wrapper, .wrapper { margin: 20px 0; }
    1.51  
    1.52  .box {
    1.53 -	margin: 10px 0;
    1.54 -	padding: 12px;
    1.55 -	background: #f8f8f8;
    1.56 -	border: 1px solid #ddd;
    1.57 +	display: table;
    1.58 +	padding: 1em;
    1.59 +	width: 50%; margin: 0.5em auto;
    1.60  }
    1.61 +.box img { float: left; }
    1.62  
    1.63  .box ul { list-style-type: none; padding: 0; }
    1.64  
    1.65 @@ -319,7 +322,11 @@
    1.66  
    1.67  
    1.68  
    1.69 -/* Misc */
    1.70 +/**
    1.71 + * Misc
    1.72 + */
    1.73 +
    1.74 +/* Links */
    1.75  
    1.76  a       { text-decoration: none; color: #268bd2; cursor: pointer; }
    1.77  a:not([data-img]):hover { text-decoration: underline; }
    1.78 @@ -331,13 +338,11 @@
    1.79  
    1.80  .pre-main { margin: 16px 0; }
    1.81  
    1.82 -.scroll { height: 12rem; overflow: auto; border: 1px solid; }
    1.83 -.scroll table { border: 0px solid #fff; }
    1.84  
    1.85  
    1.86  /* Round corner */
    1.87  
    1.88 -#loading, .debug, .box, div.scroll, .outbox, section {
    1.89 +#loading, .debug, .box, .outbox, section {
    1.90  	-moz-border-radius: 4px;
    1.91  	-webkit-border-radius: 4px;
    1.92  	border-radius: 4px;
    1.93 @@ -728,3 +733,9 @@
    1.94  	background-image: -webkit-linear-gradient(top, hsla(0, 0%, 100%, 0.25), hsla(0, 0%, 0%, 0.2));
    1.95  	border-radius: 0 0.2rem 0.2rem 0;
    1.96  }
    1.97 +
    1.98 +
    1.99 +
   1.100 +/* Disable some links to root actions */
   1.101 +button:not([disabled]) { cursor: pointer; }
   1.102 +.user [data-root] { pointer-events: none; cursor: default !important; }