Changeset 3439:640a478849cf for admin/style/scss/init/_rebase.scss
- Timestamp:
- 12/04/16 14:23:07 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/scss/init/_rebase.scss
r3365 r3439 1 1 /* largeur des paddings et border compris dans "width" */ 2 2 3 *, 3 4 *:before, 4 5 *:after { 5 box-sizing: border-box; 6 } 6 box-sizing: border-box; 7 } 8 7 9 html { 8 10 font-size: 100%; … … 12 14 padding: 0; 13 15 } 16 14 17 body { 15 margin: 0; 16 padding: 0; 17 } 18 a { background: transparent; } 19 a:focus { outline: thin dotted; } 20 a:active, a:hover { outline: none; } 21 a img { border: none; } 22 q, cite { 23 font-style: italic; 24 } 25 q:before, q:after { 26 content: ""; 27 } 28 sup, sub { 18 margin: 0; 19 padding: 0; 20 } 21 22 a { 23 background: transparent; 24 &:focus { 25 outline: thin dotted; 26 } 27 &:active, 28 &:hover { 29 outline: none; 30 } 31 img { 32 border: none; 33 } 34 } 35 36 q, 37 cite { 38 font-style: italic; 39 } 40 41 q:before, 42 q:after { 43 content: ""; 44 } 45 46 sup, 47 sub { 29 48 font-size: .75em; 30 49 line-height: 0; … … 32 51 vertical-align: baseline; 33 52 } 34 sup { top: -0.5em; } 35 sub { bottom: -0.25em; } 53 54 sup { 55 top: -0.5em; 56 } 57 58 sub { 59 bottom: -0.25em; 60 } 61 36 62 abbr[title] { 37 border-bottom: 1px dotted; 38 cursor: help; 39 } 40 b, strong { 41 font-weight: bold; 42 font-size: 0.9375em; 43 } 63 border-bottom: 1px dotted; 64 cursor: help; 65 } 66 67 b, 68 strong { 69 font-weight: bold; 70 font-size: 0.9375em; 71 } 72 44 73 small { 45 74 font-size: 80%; 46 75 } 76 47 77 dfn { 48 78 font-style: italic; 49 79 } 80 50 81 hr { 51 -moz-box-sizing: content-box;52 82 box-sizing: content-box; 53 83 height: 0; 54 84 } 85 55 86 mark { 56 87 background: #ff0; 57 88 color: #000; 58 89 } 59 code, kbd, pre, samp { 90 91 code, 92 kbd, 93 pre, 94 samp { 60 95 font-family: monospace, serif; 61 96 font-size: 1em; 62 97 } 98 63 99 pre { 64 100 white-space: pre-wrap; 65 101 } 102 66 103 fieldset { 67 104 margin: 0; … … 69 106 border: none; 70 107 } 71 input, button, select { 108 109 input, 110 button, 111 select { 72 112 vertical-align: middle; 73 113 } 74 button, input, select, textarea { 114 115 button, 116 input, 117 select, 118 textarea { 75 119 font-family: inherit; 76 120 font-size: 100%; 77 121 margin: 0; 78 122 } 79 button, input { 123 124 button, 125 input { 80 126 line-height: normal; 81 127 } 128 82 129 button, 83 130 html input[type="button"], … … 87 134 cursor: pointer; 88 135 } 136 89 137 button[disabled], 90 138 html input[disabled] { 91 139 cursor: default; 92 140 } 141 93 142 input[type="checkbox"], 94 143 input[type="radio"] { … … 96 145 border: none; 97 146 } 147 98 148 input[type="search"] { 99 149 -webkit-appearance: textfield; 100 150 } 151 101 152 input[type="search"]::-webkit-search-cancel-button, 102 153 input[type="search"]::-webkit-search-decoration { 103 154 -webkit-appearance: none; 104 155 } 156 105 157 button::-moz-focus-inner, 106 158 input::-moz-focus-inner { … … 108 160 padding: 0; 109 161 } 162 110 163 textarea { 111 164 overflow: auto; 112 165 vertical-align: top; 113 166 } 167 114 168 table { 115 169 border-collapse: collapse; 116 170 margin-bottom: 1.5em; 117 171 } 118 td, th { 172 173 td, 174 th { 119 175 padding: 1px; 120 176 vertical-align: top; 121 177 text-align: left; 122 178 } 123 td:first-child, th:first-child { 179 180 td:first-child, 181 th:first-child { 124 182 empty-cells: hide; 125 183 } 184 185 126 186 /* scripts */ 127 body > script {display: none !important;} 187 188 body > script { 189 display: none !important; 190 } 191 128 192 129 193 /* HTML5 for old browsers */ 130 article, aside, details, figcaption, figure, footer, 131 header, hgroup, main, nav, section, summary { 194 195 article, 196 aside, 197 details, 198 figcaption, 199 figure, 200 footer, 201 header, 202 hgroup, 203 main, 204 nav, 205 section, 206 summary { 132 207 display: block; 133 208 } 134 audio, canvas, video { 209 210 audio, 211 canvas, 212 video { 135 213 display: inline-block; 136 214 } 215 137 216 audio:not([controls]) { 138 217 display: none; 139 218 height: 0; 140 219 } 220 141 221 figure { 142 222 margin: 0; 143 223 } 144 [hidden], template { 224 225 [hidden], 226 template { 145 227 display: none; 146 228 } 229 147 230 svg:not(:root) { 148 231 overflow: hidden; 149 232 } 233 234 150 235 /* Headings reset */ 151 h1, h2, h3, h4, h5, h6 { 236 237 h1, 238 h2, 239 h3, 240 h4, 241 h5, 242 h6 { 152 243 font-size: 1em; 153 244 font-weight: normal; … … 155 246 } 156 247 248 157 249 /* Screen-reader only */ 250 158 251 .visually-hidden { 159 252 @include visually-hidden;
Note: See TracChangeset
for help on using the changeset viewer.