diff options
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/foot.css | 22 | ||||
-rw-r--r-- | public/css/head.css | 2 | ||||
-rw-r--r-- | public/css/menu.css | 72 |
3 files changed, 95 insertions, 1 deletions
diff --git a/public/css/foot.css b/public/css/foot.css index 0e454ac..91f67ab 100644 --- a/public/css/foot.css +++ b/public/css/foot.css | |||
@@ -124,3 +124,25 @@ footer > div | |||
124 | background-color: #ffff00; | 124 | background-color: #ffff00; |
125 | border-radius: 4px; | 125 | border-radius: 4px; |
126 | } | 126 | } |
127 | |||
128 | .toast { | ||
129 | visibility: hidden; | ||
130 | /*max-width: 50%;*/ | ||
131 | margin: auto; | ||
132 | background-color: #333; | ||
133 | color: #fff; | ||
134 | text-align: center; | ||
135 | border-radius: 5px; | ||
136 | padding: 16px; | ||
137 | position: fixed; | ||
138 | z-index: 1; | ||
139 | left: 50%; | ||
140 | bottom: 30px; | ||
141 | transform: translateX(-50%); | ||
142 | /*opacity: 0;*/ | ||
143 | transition: opacity 0.5s, visibility 0.5s; | ||
144 | } | ||
145 | .toast.show { | ||
146 | visibility: visible; | ||
147 | opacity: 1; | ||
148 | } \ No newline at end of file | ||
diff --git a/public/css/head.css b/public/css/head.css index a718a45..4872275 100644 --- a/public/css/head.css +++ b/public/css/head.css | |||
@@ -6,7 +6,7 @@ header | |||
6 | background-image: url('../assets/fond-piscine.jpg'); | 6 | background-image: url('../assets/fond-piscine.jpg'); |
7 | background-size: cover; /* largeur du bloc_page */ | 7 | background-size: cover; /* largeur du bloc_page */ |
8 | } | 8 | } |
9 | .empty_nav_zone | 9 | #nav_zone |
10 | { | 10 | { |
11 | /*margin: auto;*/ | 11 | /*margin: auto;*/ |
12 | /*max-width: 1200px;*/ | 12 | /*max-width: 1200px;*/ |
diff --git a/public/css/menu.css b/public/css/menu.css new file mode 100644 index 0000000..cce1d43 --- /dev/null +++ b/public/css/menu.css | |||
@@ -0,0 +1,72 @@ | |||
1 | /* page "Menu et chemins" uniquement */ | ||
2 | |||
3 | .menu | ||
4 | { | ||
5 | padding: 0 20px; | ||
6 | } | ||
7 | .menu img | ||
8 | { | ||
9 | width: 20px; | ||
10 | vertical-align: middle; | ||
11 | } | ||
12 | |||
13 | /* explications pour l'utiisateur */ | ||
14 | .menu aside | ||
15 | { | ||
16 | display: flex; | ||
17 | flex-wrap: wrap; | ||
18 | background-color: white; | ||
19 | padding: 10px; | ||
20 | } | ||
21 | .menu aside p | ||
22 | { | ||
23 | margin: 5px; | ||
24 | font-size: smaller; | ||
25 | } | ||
26 | .menu aside input | ||
27 | { | ||
28 | pointer-events: none; /* case non clicable, sauf action au clavier... */ | ||
29 | } | ||
30 | |||
31 | .menu button | ||
32 | { | ||
33 | margin: 5px; | ||
34 | } | ||
35 | input | ||
36 | { | ||
37 | vertical-align: middle; | ||
38 | } | ||
39 | .menu_entry_checkbox | ||
40 | { | ||
41 | margin-left: 2px; | ||
42 | } | ||
43 | .move_entry_icon | ||
44 | { | ||
45 | width: 20px; | ||
46 | vertical-align: middle; | ||
47 | border: 2px #e3f3ff solid; | ||
48 | } | ||
49 | .move_entry_icon:hover | ||
50 | { | ||
51 | background-color: #ffff00; | ||
52 | border-radius: 4px; | ||
53 | border: lightgrey 2px outset; | ||
54 | cursor: pointer; | ||
55 | } | ||
56 | |||
57 | .menu .new_entry_buttons | ||
58 | { | ||
59 | background-color: white; | ||
60 | padding: 10px; | ||
61 | } | ||
62 | .menu .new_entry_buttons p | ||
63 | { | ||
64 | margin: 5px; | ||
65 | } | ||
66 | |||
67 | @media screen and (min-width: 80rem) { | ||
68 | i | ||
69 | { | ||
70 | /*display: none;*/ | ||
71 | } | ||
72 | } \ No newline at end of file | ||