Projet

Général

Profil

Paste
Télécharger (1,97 ko) Statistiques
| Branche: | Révision:

root / css / all.css @ 5b8e0184

1
* {
2
    padding:0;
3
    margin:0;
4
}
5

    
6
body {
7
    overflow:hidden;
8
}
9

    
10
#mon-canvas {
11
    background-color:#44F;
12
    margin:auto;
13
    display:block;
14
}
15

    
16
#info {
17
    display:none;
18
    background-color:#FF0;
19
    border:1px red solid;
20
    position:absolute;
21
    margin:1em;
22
    padding:0.2em 0.5em;
23
    border-radius:0.5em;
24
}
25

    
26
#insert {
27
    display:none;
28
    background-color:#F88;
29
    border:1px red solid;
30
    position:absolute;
31
}
32

    
33
label {
34
    display:block;
35
    clear:both;
36
}
37

    
38
legend {
39
    opacity:1;
40
    background-color:#F88;
41
    border:solid #F00 1px;
42
    border-radius:0.5em;
43
    padding:0 1em;
44
}      
45

    
46
fieldset#control {
47
    text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
48
    color:#FFF;
49
    float:left;
50
    position:absolute;
51
    top:1em;
52
    left:2em;
53
    background-color:rgba(128,128,128,0.5);
54
    border:solid #F00 1px;
55
    border-radius:0.5em;
56
    padding:0.2em 0.5em;
57
}
58

    
59
input {
60
    vertical-align:middle;
61
}
62
input[type="number"] {
63
    border-radius:1em;
64
    display:block;
65
    float:right;
66
}
67

    
68
#res>:not(ul), #control, #params, #info {
69
    user-select:none;
70
    -khtml-user-select:none;
71
    -o-user-select:none;
72
    -moz-user-select:-moz-none;
73
    -webkit-user-select:none;
74
}
75

    
76
div#params {
77
    padding:0.2em 0.5em;
78
    border-radius:0.5em;
79
    background-color:rgba(128,128,128,0.5);
80
    border:solid #00F 1px;
81
    position:absolute;
82
    top:1em;
83
    right:2em;
84
    float:right;
85
}
86

    
87
div#params em {
88
    display:block;
89
    float:right;
90
    background-color:#88F;
91
    border-radius:0.5em;
92
    padding:0 0.5em;
93
    color:#FFF;
94
}
95

    
96
div#params em:nth-child[2] {
97
    display:inline;
98
}
99

    
100
.validators {
101
    text-align:center;
102
    background-color:#CCC;
103
    border:solid 1px #F55;
104
    border-width:0 0 1px 0;
105
    display:none;
106
}
107

    
108
#res {
109
    padding:0.2em 0.4em;
110
    color:#FF8;
111
    position:absolute;
112
    bottom:1em;
113
    right:2em;
114
    background-color:rgba(0,0,0,0.3);
115
    border:solid #FFF 1px;
116
}
117

    
118
#res:empty {padding:0;}
119

    
120
#res li {
121
    list-style-type: none;
122
    color:#FFF;
123
    background-color:rgba(100,0,0,0.5);
124

    
125
}