lib.css (4433B)
1 /* 07aug13abu 2 * 17nov12jk 3 * (c) Software Lab. Alexander Burger 4 */ 5 6 /* Lib */ 7 .left {float: left} 8 .right {float: right} 9 .nofloat {float: none} 10 .clr {clear: both} 11 .norm {text-align: left} 12 .align {text-align: right} 13 .center {text-align: center} 14 .black {color: black} 15 .red {color: red} 16 .green {color: green} 17 .blue {color: blue} 18 .yellow {color: yellow} 19 .bold {font-weight: bold} 20 .mono {font-family: monospace} 21 22 .em1 {width: 1em} 23 .em2 {width: 2em} 24 .em3 {width: 3em} 25 .em5 {width: 5em} 26 .em7 {width: 7em} 27 .em10 {width: 10em} 28 .em15 {width: 15em} 29 .em20 {width: 20em} 30 .em25 {width: 25em} 31 .em30 {width: 30em} 32 .em40 {width: 40em} 33 .em50 {width: 50em} 34 .em60 {width: 60em} 35 .em70 {width: 70em} 36 37 /* Defaults */ 38 body { 39 font-family: Arial, Helvetica, sans-serif; 40 background-color: #f0f0f0; 41 font-size: small; 42 margin: 0; 43 } 44 45 img { 46 border: 0; 47 } 48 49 fieldset { 50 border-style: none; 51 } 52 53 input, textarea, select { 54 font-size: small; 55 background-color: white; 56 } 57 58 caption { 59 padding: 0 1em; 60 text-align: left; 61 margin-top: 2ex; 62 background-color: #d0d0d0; 63 } 64 65 td { 66 white-space: nowrap; 67 } 68 69 a { 70 text-decoration: none; 71 } 72 73 .step a { 74 border-radius: 6px; 75 background-color: #d0d0d0; 76 padding: 2px 3px; 77 } 78 79 a:hover { 80 background-color: white; 81 } 82 83 /* Navigation */ 84 .menu { 85 padding-top: 2ex; 86 background-color: #d0d0d0; 87 } 88 89 .menu ul { 90 list-style: none; 91 padding: 0; 92 margin: 0; 93 } 94 95 .menu .cmd1, .act1, .cmd2, .act2, .cmd3, .act3, .cmd4, .act4 { 96 list-style-position: inside; 97 list-style-type: circle; 98 padding: 0 0 0 2em; 99 } 100 101 .menu .act1, .act2, .act3, .act4 { 102 list-style-type: disc; 103 } 104 105 .menu .sub1, .top1, .sub2, .top2, .sub3, .top3, .sub4, .top4 { 106 list-style-position: inside; 107 padding: 0 0 0 1em; 108 } 109 110 #expires { 111 position: absolute; 112 top: 0; 113 right: 3px; 114 color: red; 115 } 116 117 /* Tabulators */ 118 .tab { 119 margin-bottom: 1ex; 120 } 121 122 .tab td { 123 padding: 3px 1em; 124 border-radius: 6px 6px 0 0; 125 } 126 127 .tab .top { 128 font-weight: bold; 129 border-top: 1px solid; 130 border-left: 1px solid; 131 border-right: 1px solid; 132 } 133 134 .tab .sub { 135 background-color: #d0d0d0; 136 border-bottom: 1px solid; 137 } 138 139 /* Main area */ 140 .main { 141 padding: 1ex 0 0 2ex; 142 } 143 144 /* Charts */ 145 .chart { 146 width: 100%; 147 white-space: nowrap; 148 } 149 150 .chart td { 151 background-color: #e0e0e0; 152 } 153 154 .chart td.T, th.T { 155 background-color: #d0d0d0; 156 } 157 158 .chart td.nil, th.nil { 159 background-color: white; 160 } 161 162 .chart td.body, th.body { 163 background-color: #f0f0f0; 164 } 165 166 .btn { 167 width: 1em; 168 } 169 170 /* Buttons */ 171 .submit { 172 font-weight: bold; 173 background-color: #eee; 174 background-image: -moz-linear-gradient(top, #eee, #ccc); 175 background-image: -o-linear-gradient(top, #eee, #ccc); 176 background-image: -webkit-linear-gradient(top, #eee, #ccc); 177 background-image: linear-gradient(top, #eee, #ccc); 178 border: 1px solid #707070; 179 border-radius: 3px; 180 box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3); 181 } 182 183 .submit:hover { 184 background-image: -moz-linear-gradient(top, #fafafa, #ddd); 185 background-image: -o-linear-gradient(top, #fafafa, #ddd); 186 background-image: -webkit-linear-gradient(top, #fafafa, #ddd); 187 background-image: linear-gradient(top, #fafafa, #ddd); 188 } 189 190 .submit[disabled='disabled'] { 191 background-image: -moz-linear-gradient(top, #eee, #ccc); 192 background-image: -o-linear-gradient(top, #eee, #ccc); 193 background-image: -webkit-linear-gradient(top, #eee, #ccc); 194 background-image: linear-gradient(top, #eee, #ccc); 195 } 196 197 .edit { 198 background-color: #66ff66; 199 background-image: -moz-linear-gradient(top, #8f8, #6f6); 200 background-image: -o-linear-gradient(top, #8f8, #6f6); 201 background-image: -webkit-linear-gradient(top, #8f8, #6f6); 202 background-image: linear-gradient(top, #8f8, #6f6); 203 } 204 205 /* Errors */ 206 .error { 207 color: red; 208 background-color: yellow; 209 } 210 211 /* Fonts */ 212 .tiny { 213 font-size: smaller; 214 padding: 0; 215 } 216 217 .note, .ask { 218 font-weight: bold; 219 } 220 221 /* Alerts */ 222 .alert { 223 display: inline; 224 padding: 1ex; 225 margin: 1ex 0 1ex 5em; 226 background-color: yellow; 227 border: 1px solid #888; 228 border-radius: 6px; 229 } 230 231 .alert input { 232 margin-top: 1ex; 233 } 234 235 /* Dialogs */ 236 .dialog { 237 padding: 1ex; 238 margin: 1ex 5em 1ex 1em; 239 border: 1px solid #888; 240 border-radius: 6px; 241 } 242 243 /* Hints */ 244 .hint { 245 font-size: small; 246 background-color: #777; 247 } 248 249 .hints { 250 font-size: small; 251 color: black; 252 padding-left: 3px; 253 padding-top: 3px; 254 border: 1px solid; 255 background-color: white; 256 }