style.css (4332B)
1 /* Mise en page */ 2 3 body { 4 margin: 0; 5 } 6 7 8 9 /* Boutons */ 10 11 .log form { 12 display: inline-block; 13 } 14 15 .bouton { 16 display: inline-block; 17 padding: 0.1em 0.2em; 18 margin: 0.2em; 19 text-decoration: none; 20 border-width: thin; 21 border-style: solid; 22 } 23 24 .bouton { 25 color: #333; 26 border-color: #999; 27 background-color: #eee 28 } 29 30 .bouton:hover { 31 color: #555; 32 border-color: #ccc; 33 background-color: #fff 34 } 35 36 /* Icônes */ 37 38 .icone { 39 display: block; 40 font-weight: bolder; 41 color: black; 42 text-align: center; 43 min-width: 1.3em; 44 border-width: thin; 45 border-style: solid; 46 font-size: 80%; 47 } 48 49 .icone { 50 color: #333; 51 border-color: #999; 52 background-color: #eee 53 } 54 55 .icone:hover { 56 color: #555; 57 border-color: #ccc; 58 background-color: #fff 59 } 60 61 .icone-plus:before { 62 content: "+"; 63 } 64 65 .icone-moins:before { 66 content: "-"; 67 } 68 69 70 71 /* Outils */ 72 #outils { 73 margin: 0; 74 } 75 76 #outils .bouton { 77 color: #242; 78 border-color: #8a8; 79 background-color: #efd; 80 } 81 82 #outils .boutonNormal { 83 color: #242; 84 border-color: #8a8; 85 background-color: #efd; 86 } 87 88 #outils .bouton:hover { 89 color: #422; 90 border-color: #a88; 91 background-color: #fed; 92 } 93 94 #outils .boutonHover { 95 color: #422; 96 border-color: #a88; 97 background-color: #fed; 98 } 99 100 101 102 /* Zone principale */ 103 104 #edition { 105 position: absolute; 106 border: thick solid gray; 107 top: 1.9em; /* Hack, mais CSS ne nous permettra pas de faire mieux… :( */ 108 bottom: 25%; 109 left: 0; 110 right: 0; 111 padding: 1em; 112 } 113 114 /* Résultats de la recherche */ 115 #resultats-recherche { 116 width: 100%; 117 border-collapse: collapse; 118 } 119 120 #resultats-recherche th { 121 border-bottom: thin solid black; 122 } 123 124 #resultats-recherche td { 125 border-bottom: thin solid lightgray; 126 } 127 128 #resultats-recherche tr:hover td { 129 background-color: #fed; 130 } 131 132 #resultats-recherche .actif td { 133 background-color: #efd; 134 } 135 136 #resultats-recherche th { 137 text-align: left; 138 } 139 140 /*#edition-blocs > * { 141 position: absolute; 142 top: 0; 143 bottom: 0; 144 left: 0; 145 right: 0; 146 }*/ 147 148 /* Édition des blocs */ 149 150 #edition-blocs .editionBloc { 151 position: absolute; 152 top: 0; 153 bottom: 0; 154 left: 0; 155 right: 0; 156 /* Écrasement des valeurs de .bloc ci-dessous */ 157 border: none; 158 width: auto; 159 height: auto; 160 } 161 162 .bloc { 163 border: medium solid gray; 164 background-color: white; 165 position: absolute; 166 width: 350px; 167 height: 110px; 168 top: 100px; 169 left: 200px; 170 } 171 172 .agencement-bloc { 173 width: 100%; 174 height: 100%; 175 } 176 177 .tete { 178 margin: 0.2em; 179 padding: 0.3em; 180 background-color: lightgray; 181 } 182 183 .bloc .contenu .titre { 184 display: none; 185 text-align: center; 186 } 187 188 .bloc .tete { 189 text-align: center; 190 } 191 192 .tete .icone { 193 float: right; 194 } 195 196 .contenu { 197 padding: 0.4em; 198 } 199 200 /* Ports */ 201 202 .ports { 203 height:100%; 204 width: 1em; 205 padding: 0; 206 border-collapse: collapse; 207 } 208 209 .ports.sortie { 210 text-align: right; 211 } 212 213 .ports.entree { 214 text-align: left; 215 } 216 217 .port .symbole { 218 position: relative; 219 z-index: 10; 220 width: 10px; 221 height: 10px; 222 background-color: lightblue; 223 border: thin solid blue; 224 /* z-index: 2000; */ 225 } 226 227 .port .symbole.placeholder { 228 background-color: white; 229 border: thin solid lightgray; 230 } 231 232 .port:hover .symbole { 233 background-color: lightgreen; 234 border-color: green; 235 } 236 237 /* Liens */ 238 .lien { 239 background-color: lightblue; 240 position: absolute; 241 height: 5px; 242 width: 5px; 243 } 244 245 246 247 /*.segment-1 { 248 background-color: lightgreen; 249 } 250 251 .segment-3 { 252 background-color: pink; 253 }*/ 254 255 256 257 /* Log */ 258 259 .log { 260 position: absolute; 261 top: 75%; 262 bottom: 0; 263 left: 0; 264 right: 0; 265 } 266 267 .log p { 268 border-bottom: thin solid lightgray; 269 padding: 0.1em 0.3em 0; 270 margin: 0; 271 } 272 273 #log-en-tete { 274 padding: 0 1em; 275 margin: 0; 276 font-size: small; 277 background-color: lightgray; 278 } 279 280 .log h2 { 281 display: inline; 282 font-size: 100%; 283 margin-right : 1em; 284 } 285 286 #log-en-tete .bouton { 287 color: #333; 288 border-color: #999; 289 background-color: #eee 290 } 291 292 #log-en-tete .bouton:hover { 293 color: #555; 294 border-color: #ccc; 295 background-color: #fff 296 } 297 298 .log .contenu { 299 position: absolute; 300 top: 1.7em; /* Hack, mais CSS ne nous permettra pas de faire mieux… :( */ 301 bottom: 0; 302 left: 0; 303 right: 0; 304 overflow: auto; 305 }