1 | /* ------------------------------------------------------------------ titres */ |
---|
2 | |
---|
3 | |
---|
4 | /* fil d'ariane */ |
---|
5 | |
---|
6 | #content > h2 { |
---|
7 | padding: 0 1em .5em 1em; |
---|
8 | margin: 0 -1em 1em -1em; |
---|
9 | background: $breadcrumb-background; |
---|
10 | border-bottom: 1px solid $breadcrumb-border; |
---|
11 | } |
---|
12 | |
---|
13 | /* page courante dans le fil d'ariane */ |
---|
14 | |
---|
15 | .page-title { |
---|
16 | color: $breadcrumb-current; |
---|
17 | img { |
---|
18 | padding-left: .5em; |
---|
19 | vertical-align: middle; |
---|
20 | } |
---|
21 | } |
---|
22 | |
---|
23 | |
---|
24 | /* autres titres */ |
---|
25 | |
---|
26 | #main-menu h3 { |
---|
27 | font-weight: bold; |
---|
28 | } |
---|
29 | |
---|
30 | .fieldset h3, |
---|
31 | .fieldset h4, |
---|
32 | .pretty-title { |
---|
33 | color: $fieldset-pretty-title-color; |
---|
34 | font-size: 1em; |
---|
35 | font-weight: bold; |
---|
36 | } |
---|
37 | |
---|
38 | .fieldset h3 { |
---|
39 | font-size: 1.17em; |
---|
40 | } |
---|
41 | |
---|
42 | .fieldset h3.smart-title, |
---|
43 | .fieldset h4.smart-title, |
---|
44 | .smart-title { |
---|
45 | font-size: 1em; |
---|
46 | text-transform: uppercase; |
---|
47 | font-weight: bold; |
---|
48 | color: $fieldset-smart-title-color; |
---|
49 | } |
---|
50 | |
---|
51 | #entry-sidebar h5 { |
---|
52 | font-weight: normal; |
---|
53 | color: $entry-sidebar-title-color; |
---|
54 | } |
---|
55 | |
---|
56 | .entry-status img.img_select_option { |
---|
57 | padding-left: 4px; |
---|
58 | vertical-align: -1px; |
---|
59 | } |
---|
60 | |
---|
61 | h4 label, |
---|
62 | h5 label { |
---|
63 | color: $title-label-color; |
---|
64 | } |
---|
65 | |
---|
66 | h2:first-child, |
---|
67 | h3:first-child, |
---|
68 | h4:first-child, |
---|
69 | h5:first-child, |
---|
70 | ul:first-child, |
---|
71 | p:first-child { |
---|
72 | margin-top: 0; |
---|
73 | } |
---|
74 | |
---|
75 | |
---|
76 | /* ---------------------------------------------------------------- tableaux */ |
---|
77 | |
---|
78 | |
---|
79 | /* Pour autoriser le scroll sur les petites largeurs |
---|
80 | envelopper les tableaux dans une div.table-outer */ |
---|
81 | |
---|
82 | .table-outer { |
---|
83 | width: 100%; |
---|
84 | overflow: auto; |
---|
85 | } |
---|
86 | |
---|
87 | table { |
---|
88 | font-size: 1em; |
---|
89 | border-collapse: collapse; |
---|
90 | margin: 0 0 1em 0; |
---|
91 | width: 100%; |
---|
92 | } |
---|
93 | |
---|
94 | caption { |
---|
95 | color: $table-caption-color; |
---|
96 | font-weight: bold; |
---|
97 | text-align: left; |
---|
98 | margin-bottom: .5em; |
---|
99 | } |
---|
100 | |
---|
101 | th:not(.module-name) { |
---|
102 | border-width: 1px 0 1px 0; |
---|
103 | border-style: solid; |
---|
104 | border-color: $head-border; |
---|
105 | background: $head-background; |
---|
106 | padding: .4em 1em .4em .5em; |
---|
107 | vertical-align: top; |
---|
108 | text-align: left; |
---|
109 | } |
---|
110 | |
---|
111 | td, th.module-name { |
---|
112 | font-weight: normal; |
---|
113 | border-width: 0 0 1px 0; |
---|
114 | border-style: solid; |
---|
115 | border-color: $cell-border; |
---|
116 | padding: .4em 1em .4em .5em; |
---|
117 | vertical-align: top; |
---|
118 | } |
---|
119 | |
---|
120 | |
---|
121 | /* ---------------------------------------------------------- autres balises */ |
---|
122 | |
---|
123 | p { |
---|
124 | margin: 0 0 1em 0; |
---|
125 | } |
---|
126 | |
---|
127 | hr { |
---|
128 | height: 1px; |
---|
129 | border-width: 1px 0 0; |
---|
130 | border-color: $hr-color; |
---|
131 | background: $hr-color; |
---|
132 | border-style: solid; |
---|
133 | &.clearer { |
---|
134 | clear: both; |
---|
135 | } |
---|
136 | } |
---|
137 | |
---|
138 | pre, |
---|
139 | code, |
---|
140 | #debug { |
---|
141 | font: 100% $monospace; |
---|
142 | } |
---|
143 | |
---|
144 | code { |
---|
145 | color: $code-color; |
---|
146 | background: $code-background; |
---|
147 | } |
---|
148 | |
---|
149 | pre { |
---|
150 | white-space: pre; |
---|
151 | white-space: -moz-pre-wrap; |
---|
152 | white-space: pre-wrap; |
---|
153 | white-space: pre-line; |
---|
154 | word-wrap: break-word; |
---|
155 | } |
---|
156 | |
---|
157 | abbr { |
---|
158 | cursor: help; |
---|
159 | } |
---|
160 | |
---|
161 | input, |
---|
162 | textarea, |
---|
163 | select, |
---|
164 | option, |
---|
165 | optgroup, |
---|
166 | legend, |
---|
167 | label { |
---|
168 | font-size: 1em; |
---|
169 | } |
---|
170 | |
---|
171 | |
---|
172 | /* ------------------------------------------------------------------ liens */ |
---|
173 | |
---|
174 | a, |
---|
175 | a:link, |
---|
176 | a:visited { |
---|
177 | color: $link-color; |
---|
178 | text-decoration: none; |
---|
179 | border-bottom: 1px dotted $link-border; |
---|
180 | background-color: inherit; |
---|
181 | outline: 0; |
---|
182 | img { |
---|
183 | border: none; |
---|
184 | background: initial; |
---|
185 | } |
---|
186 | } |
---|
187 | |
---|
188 | a:hover, |
---|
189 | a:active { |
---|
190 | border-bottom-style: solid; |
---|
191 | } |
---|
192 | |
---|
193 | h1 a:link, |
---|
194 | h1 a:visited { |
---|
195 | border: none; |
---|
196 | } |
---|
197 | |
---|
198 | .discrete a { |
---|
199 | color: $discrete-link-color; |
---|
200 | } |
---|
201 | |
---|
202 | a:link { |
---|
203 | transition: .5s; |
---|
204 | } |
---|
205 | |
---|
206 | a:focus, |
---|
207 | a:focus img { |
---|
208 | outline: 2px solid $link-outline; |
---|
209 | border-bottom: none; |
---|
210 | text-decoration: none; |
---|
211 | } |
---|
212 | |
---|
213 | a.outgoing img, .outgoing-js { |
---|
214 | width: .75em; |
---|
215 | filter: contrast($outgoing-link-filter); |
---|
216 | #header & { |
---|
217 | width: 1.25em; |
---|
218 | padding: 0 0 0 .5em; |
---|
219 | vertical-align: initial; |
---|
220 | filter: contrast(100%); |
---|
221 | } |
---|
222 | } |
---|