Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. | 3 * Copyright (C) 2009 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| 11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
| 12 * documentation and/or other materials provided with the distribution. | 12 * documentation and/or other materials provided with the distribution. |
| 13 * | 13 * |
| 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY | 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY |
| 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR | 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR |
| 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 /* Chromium default media controls */ | 26 /* Chromium default media controls */ |
| 27 | 27 |
| 28 /* WARNING: This css file can only style <audio> and <video> elements */ | 28 /* WARNING: This css file can only style <audio> and <video> elements */ |
| 29 | 29 |
| 30 audio:not([controls]) { | |
|
philipj_slow
2015/06/17 12:52:24
Oops, when all of this is done make sure to base i
liberato (no reviews please)
2015/06/17 17:07:26
Acknowledged.
| |
| 31 display: none !important; | |
| 32 } | |
| 33 | |
| 34 audio { | 30 audio { |
| 35 width: 300px; | 31 width: 300px; |
| 36 height: 30px; | 32 height: 48px; |
| 37 } | 33 } |
| 38 | 34 |
| 39 audio::-webkit-media-controls, | 35 audio::-webkit-media-controls, |
| 40 video::-webkit-media-controls { | 36 video::-webkit-media-controls { |
| 41 width: inherit; | 37 width: inherit; |
| 42 height: inherit; | 38 height: inherit; |
| 43 position: relative; | 39 position: relative; |
| 44 direction: ltr; | 40 direction: ltr; |
| 45 display: flex; | 41 display: flex; |
| 46 flex-direction: column; | 42 flex-direction: column; |
| 47 justify-content: flex-end; | 43 justify-content: flex-end; |
| 48 align-items: center; | 44 align-items: center; |
| 49 } | 45 } |
| 50 | 46 |
| 51 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure { | 47 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure { |
| 52 width: 100%; | 48 width: 100%; |
| 53 max-width: 800px; | 49 max-width: 100%; |
|
philipj_slow
2015/06/17 12:52:24
Simply removing max-width should have the same eff
liberato (no reviews please)
2015/06/17 17:07:26
Done.
| |
| 54 height: 30px; | 50 height: 48.00px; |
|
philipj_slow
2015/06/17 12:52:24
Why the extra precision?
liberato (no reviews please)
2015/06/17 17:07:25
generated automatically. i'll remove.
| |
| 55 flex-shrink: 0; | 51 flex-shrink: 0; |
| 56 bottom: 0; | 52 bottom: 0; |
| 57 text-indent: 0; | 53 text-indent: 0; |
| 58 padding: 0; | 54 padding: 0; |
| 55 margin: 0; | |
| 59 box-sizing: border-box; | 56 box-sizing: border-box; |
| 60 } | 57 } |
| 61 | 58 |
| 62 video::-webkit-media-controls-enclosure { | |
| 63 padding: 0px 5px 5px 5px; | |
| 64 height: 35px; | |
| 65 flex-shrink: 0; | |
| 66 } | |
| 67 | |
| 68 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { | 59 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { |
| 69 display: flex; | 60 display: flex; |
| 70 flex-direction: row; | 61 flex-direction: row; |
| 71 align-items: center; | 62 align-items: center; |
| 72 /* We use flex-start here to ensure that the play button is visible even | 63 /* We use flex-start here to ensure that the play button is visible even |
| 73 * if we are too small to show all controls. | 64 * if we are too small to show all controls. |
| 74 */ | 65 */ |
| 75 justify-content: flex-start; | 66 justify-content: flex-start; |
| 76 -webkit-user-select: none; | 67 -webkit-user-select: none; |
| 77 position: relative; | 68 position: relative; |
| 78 width: 100%; | 69 width: 100%; |
| 79 z-index: 0; | 70 z-index: 0; |
| 80 overflow: hidden; | 71 overflow: hidden; |
| 81 text-align: right; | 72 text-align: right; |
| 82 bottom: auto; | 73 bottom: auto; |
| 83 height: 30px; | 74 height: 48.00px; |
| 84 background-color: rgba(20, 20, 20, 0.8); | 75 border-radius: 0px; |
|
philipj_slow
2015/06/17 12:52:24
Simply removing any mention of border-radius shoul
liberato (no reviews please)
2015/06/17 17:07:25
Done.
| |
| 85 border-radius: 5px; | 76 background-color: #fafafa; |
| 77 margin: 0; | |
| 78 padding: 0; | |
| 86 /* The duration is also specified in MediaControlElements.cpp and LayoutTest s/media/media-controls.js */ | 79 /* The duration is also specified in MediaControlElements.cpp and LayoutTest s/media/media-controls.js */ |
| 87 transition: opacity 0.3s; | 80 transition: opacity 0.3s; |
| 88 } | 81 } |
| 89 | 82 |
| 90 video:-webkit-full-page-media { | 83 video:-webkit-full-page-media { |
| 91 margin: auto; | 84 margin: auto; |
| 92 position: absolute; | 85 position: absolute; |
| 93 top: 0; | 86 top: 0; |
| 94 right: 0; | 87 right: 0; |
| 95 bottom: 0; | 88 bottom: 0; |
| 96 left: 0; | 89 left: 0; |
| 97 } | 90 } |
| 98 | 91 |
| 99 audio:-webkit-full-page-media, video:-webkit-full-page-media { | 92 audio:-webkit-full-page-media, video:-webkit-full-page-media { |
| 100 max-height: 100%; | 93 max-height: 100%; |
| 101 max-width: 100%; | 94 max-width: 100%; |
| 102 } | 95 } |
| 103 | 96 |
| 104 audio:-webkit-full-page-media::-webkit-media-controls-panel, | 97 audio:-webkit-full-page-media::-webkit-media-controls-panel, |
| 105 video:-webkit-full-page-media::-webkit-media-controls-panel { | 98 video:-webkit-full-page-media::-webkit-media-controls-panel { |
| 106 bottom: 0px; | 99 bottom: 0px; |
| 107 } | 100 } |
| 108 | 101 |
| 109 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-bu tton { | 102 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-bu tton { |
| 110 -webkit-appearance: media-mute-button; | 103 -webkit-appearance: media-mute-button; |
| 111 display: flex; | 104 display: flex; |
| 112 flex: none; | 105 flex: none; |
| 113 border: none; | 106 border: none; |
| 114 box-sizing: border-box; | 107 box-sizing: border-box; |
| 115 width: 35px; | 108 width: 48.00px; |
| 116 height: 30px; | 109 height: 48.00px; |
| 117 line-height: 30px; | 110 line-height: 48.00px; |
| 118 margin: 0 6px 0 0; | 111 margin: 0; |
| 119 padding: 0; | 112 padding: 12.00px; |
| 120 background-color: initial; | 113 background-color: initial; |
| 121 color: inherit; | 114 color: inherit; |
| 122 } | 115 } |
| 123 | 116 |
| 124 audio::-webkit-media-controls-overlay-enclosure { | 117 audio::-webkit-media-controls-overlay-enclosure { |
| 125 display: none; | 118 display: none; |
| 126 } | 119 } |
| 127 | 120 |
| 128 video::-webkit-media-controls-overlay-enclosure { | 121 video::-webkit-media-controls-overlay-enclosure { |
| 129 display: flex; | 122 display: flex; |
| 130 position: relative; | 123 position: relative; |
| 131 flex-direction: column; | 124 flex-direction: column; |
| 132 justify-content: flex-end; | 125 justify-content: flex-end; |
| 133 align-items: center; | 126 align-items: center; |
| 134 flex: 1 1; | 127 flex: 1 1; |
| 135 min-height: 0; | 128 min-height: 0; |
| 136 width: 100%; | 129 width: 100%; |
| 137 text-indent: 0; | 130 text-indent: 0; |
| 138 box-sizing: border-box; | 131 box-sizing: border-box; |
| 139 overflow: hidden; | 132 overflow: hidden; |
| 140 } | 133 } |
| 141 | 134 |
| 142 video::-webkit-media-controls-overlay-play-button { | 135 video::-webkit-media-controls-overlay-play-button { |
| 143 -webkit-appearance: media-overlay-play-button; | 136 -webkit-appearance: media-overlay-play-button; |
| 144 display: flex; | 137 display: flex; |
| 145 position: absolute; | 138 position: absolute; |
| 146 top: 50%; | 139 top: 0; |
| 147 left: 50%; | 140 left: 0; |
| 148 margin-left: -40px; | 141 fargin: 0; |
|
philipj_slow
2015/06/17 12:52:24
fargin?
liberato (no reviews please)
2015/06/17 17:07:26
"far margin" - sets margin on elements in your nei
| |
| 149 margin-top: -40px; | |
| 150 border: none; | 142 border: none; |
| 151 box-sizing: border-box; | 143 box-sizing: border-box; |
| 152 background-color: transparent; | 144 background-color: transparent; |
| 153 width: 80px; | 145 width: 100%; |
|
philipj_slow
2015/06/17 12:52:24
This may result in a problem I had previously. If
liberato (no reviews please)
2015/06/17 17:07:25
good point. that's the intention.
i can shrink i
liberato (no reviews please)
2015/07/14 22:10:35
i ended up shrinking this a bit.
| |
| 154 height: 80px; | 146 height: 100%; |
| 155 padding: 0; | 147 padding: 0; |
| 156 } | 148 } |
| 157 | 149 |
| 158 video::-internal-media-controls-overlay-cast-button { | 150 video::-internal-media-controls-overlay-cast-button { |
| 159 -webkit-appearance: -internal-media-overlay-cast-off-button; | 151 -webkit-appearance: -internal-media-overlay-cast-off-button; |
| 160 display: flex; | 152 display: flex; |
| 161 position: absolute; | 153 position: absolute; |
| 162 top: 5%; | 154 top: 5%; |
| 163 left: 5%; | 155 left: 5%; |
| 164 margin-left: 0px; | 156 margin-left: 0px; |
| 165 margin-top: 0px; | 157 margin-top: 0px; |
| 166 border: none; | 158 border: none; |
| 167 box-sizing: border-box; | 159 box-sizing: border-box; |
| 168 background-color: transparent; | 160 background-color: transparent; |
| 169 width: 30px; | 161 width: 30px; |
| 170 height: 30px; | 162 height: 30px; |
| 171 padding: 0; | 163 padding: 0; |
| 172 } | 164 } |
| 173 | 165 |
| 174 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu tton { | 166 audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu tton { |
| 175 -webkit-appearance: media-play-button; | 167 -webkit-appearance: media-play-button; |
| 176 display: flex; | 168 display: flex; |
| 177 flex: none; | 169 flex: none; |
| 178 border: none; | 170 border-sizing: border-box; |
| 179 box-sizing: border-box; | 171 width: 48.00px; |
| 180 width: 30px; | 172 height: 48.00px; |
| 181 height: 30px; | 173 line-height: 48.00px; |
| 182 line-height: 30px; | 174 padding: 12.00px; |
| 183 margin-left: 9px; | |
| 184 margin-right: 9px; | |
| 185 padding: 0; | |
| 186 background-color: initial; | 175 background-color: initial; |
| 187 color: inherit; | 176 color: inherit; |
| 188 } | 177 } |
| 189 | 178 |
| 190 audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls- timeline-container { | 179 audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls- timeline-container { |
| 191 -webkit-appearance: media-controls-background; | 180 -webkit-appearance: media-controls-background; |
| 192 display: flex; | 181 display: flex; |
| 193 flex-direction: row; | 182 flex-direction: row; |
| 194 align-items: center; | 183 align-items: center; |
| 195 justify-content: flex-end; | 184 justify-content: flex-end; |
| 196 flex: 1 1; | 185 flex: 1 1; |
| 197 -webkit-user-select: none; | 186 -webkit-user-select: none; |
| 198 height: 16px; | 187 height: 48.00px; |
| 188 margin: 0 0 0 0; | |
|
philipj_slow
2015/06/17 12:52:24
Just margin: 0 means the same thing.
liberato (no reviews please)
2015/06/17 17:07:26
left over from tinkering. fixed.
| |
| 189 padding: 0; | |
| 199 min-width: 0; | 190 min-width: 0; |
| 200 } | 191 } |
| 201 | 192 |
| 202 audio::-webkit-media-controls-current-time-display, video::-webkit-media-control s-current-time-display, | 193 audio::-webkit-media-controls-current-time-display, video::-webkit-media-control s-current-time-display { |
| 203 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-contr ols-time-remaining-display { | |
| 204 -webkit-appearance: media-current-time-display; | 194 -webkit-appearance: media-current-time-display; |
| 205 -webkit-user-select: none; | 195 -webkit-user-select: none; |
| 206 flex: none; | 196 flex: none; |
| 207 display: flex; | 197 display: flex; |
| 208 border: none; | 198 border: none; |
| 209 cursor: default; | 199 cursor: default; |
| 210 | 200 |
| 211 height: 30px; | 201 height: 48.00px; |
| 212 margin: 0 9px 0 0; | 202 |
| 203 /* text runs right to the edge of the container */ | |
| 204 margin: 0; | |
| 213 padding: 0; | 205 padding: 0; |
| 214 | 206 |
| 215 line-height: 30px; | 207 line-height: 48.00px; |
| 216 font-family: Arial, Helvetica, sans-serif; | 208 font-family: Noto Sans, Serif; |
|
philipj_slow
2015/06/17 12:52:24
Is Noto Sans part of Chrome or will this only work
liberato (no reviews please)
2015/06/17 17:07:25
i thought it was part of chrome, but upon checking
| |
| 217 font-size: 13px; | 209 font-size: 14px; |
| 218 font-weight: bold; | 210 font-weight: normal; |
|
philipj_slow
2015/06/17 12:52:24
I think normal is the default.
liberato (no reviews please)
2015/06/17 17:07:25
Done.
| |
| 219 font-style: normal; | 211 font-style: normal; |
| 220 color: white; | 212 color: #5a5a5a; |
| 221 | 213 |
| 222 letter-spacing: normal; | 214 letter-spacing: normal; |
| 223 word-spacing: normal; | 215 word-spacing: normal; |
| 216 text-transform: none; | |
| 217 text-indent: 0; | |
| 218 text-shadow: none; | |
|
philipj_slow
2015/06/17 12:52:24
Isn't this the default?
liberato (no reviews please)
2015/06/17 17:07:25
yeah. not sure why it was specified before. i'll
| |
| 219 text-decoration: none; | |
| 220 } | |
| 221 | |
| 222 audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-contr ols-time-remaining-display { | |
| 223 -webkit-appearance: media-current-time-display; | |
| 224 -webkit-user-select: none; | |
| 225 flex: none; | |
| 226 display: flex; | |
| 227 border: none; | |
| 228 cursor: default; | |
| 229 | |
| 230 height: 48.00px; | |
| 231 | |
| 232 /* text runs right to the edge of the container, plus a little on | |
| 233 * the left to pad the leading "/" */ | |
|
philipj_slow
2015/06/17 12:52:24
This seems like the kind of thing that might resul
liberato (no reviews please)
2015/06/17 17:07:25
i'd prefer that. but, the / is supposed to be anc
| |
| 234 margin: 0; | |
| 235 padding: 0 0 0 4px; | |
| 236 | |
| 237 line-height: 48.00px; | |
| 238 font-family: Noto Sans; | |
|
philipj_slow
2015/06/17 12:52:24
No fallback here? Maybe the font-family should be
liberato (no reviews please)
2015/06/17 17:07:25
added to my todo list.
liberato (no reviews please)
2015/07/14 22:10:35
ux designers provided a fallback list.
| |
| 239 font-size: 14px; | |
| 240 font-weight: normal; | |
| 241 font-style: normal; | |
| 242 color: #5a5a5a; | |
| 243 | |
| 244 letter-spacing: normal; | |
| 245 word-spacing: normal; | |
| 224 text-transform: none; | 246 text-transform: none; |
| 225 text-indent: 0; | 247 text-indent: 0; |
| 226 text-shadow: none; | 248 text-shadow: none; |
| 227 text-decoration: none; | 249 text-decoration: none; |
| 228 } | 250 } |
| 229 | 251 |
| 230 audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline { | 252 audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline { |
| 231 -webkit-appearance: media-slider; | 253 -webkit-appearance: media-slider; |
| 232 display: flex; | 254 display: flex; |
| 233 flex: 1 1 auto; | 255 flex: 1 1 auto; |
| 234 height: 8px; | 256 height: 48.00px; |
| 235 margin: 0 15px 0 0; | 257 |
| 258 /* Leave 6px on either side for the thumb. Use margin so that | |
| 259 * the slider doesn't extend into it. We also add 12px border. | |
| 260 */ | |
| 236 padding: 0; | 261 padding: 0; |
| 262 margin: 0 18.00px 0 18.00px; | |
| 237 background-color: transparent; | 263 background-color: transparent; |
| 238 min-width: 25px; | 264 min-width: 25px; |
| 239 border: initial; | 265 border: initial; |
| 240 color: inherit; | 266 color: inherit; |
| 241 } | 267 } |
| 242 | 268 |
| 243 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volum e-slider { | 269 audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volum e-slider { |
| 244 -webkit-appearance: media-volume-slider; | 270 -webkit-appearance: media-volume-slider; |
| 245 display: flex; | 271 display: flex; |
| 246 /* The 1.9 value was empirically chosen to match old-flexbox behaviour | 272 /* The 1.9 value was empirically chosen to match old-flexbox behaviour |
| 247 * and be aesthetically pleasing. | 273 * and be aesthetically pleasing. |
| 248 */ | 274 */ |
| 249 flex: 1 1.9 auto; | 275 flex: 1 1.9 auto; |
| 250 height: 8px; | 276 height: 48.00px; |
| 251 max-width: 70px; | 277 max-width: 70px; |
| 252 margin: 0 15px 0 0; | 278 /* Leave room for the thumb, which has 6px radius. Use margin rather |
| 279 * than padding so that the slider doesn't extend into it. We also | |
| 280 * leave an addition 12px margin. | |
| 281 */ | |
| 253 padding: 0; | 282 padding: 0; |
| 283 margin: 0 18.00px 0 18.00px; | |
| 254 background-color: transparent; | 284 background-color: transparent; |
| 255 min-width: 15px; | 285 min-width: 25px; |
| 256 border: initial; | 286 border: initial; |
| 257 color: inherit; | 287 color: inherit; |
| 258 } | 288 } |
| 259 | 289 |
| 260 /* FIXME these shouldn't use special pseudoShadowIds, but nicer rules. | 290 /* FIXME these shouldn't use special pseudoShadowIds, but nicer rules. |
| 261 https://code.google.com/p/chromium/issues/detail?id=112508 | 291 https://code.google.com/p/chromium/issues/detail?id=112508 |
| 262 https://bugs.webkit.org/show_bug.cgi?id=62218 | 292 https://bugs.webkit.org/show_bug.cgi?id=62218 |
| 263 */ | 293 */ |
| 264 input[type="range" i]::-webkit-media-slider-container { | 294 input[type="range" i]::-webkit-media-slider-container { |
| 265 display: flex; | 295 display: flex; |
| 266 align-items: center; | 296 align-items: center; |
| 267 flex-direction: row; /* This property is updated by C++ code. */ | 297 flex-direction: row; /* This property is updated by C++ code. */ |
| 268 box-sizing: border-box; | 298 box-sizing: border-box; |
| 269 height: 100%; | 299 /** this positions the slider thumb for both time and volume. */ |
| 300 height: 48.00px; | |
| 270 width: 100%; | 301 width: 100%; |
| 271 border: 1px solid rgba(230, 230, 230, 0.35); | 302 padding: 0; |
| 272 border-radius: 4px; | 303 margin: 0; |
| 273 background-color: transparent; /* Background drawing is managed by C++ code to draw ranges. */ | 304 background-color: transparent; /* Background drawing is managed by C++ code to draw ranges. */ |
| 274 } | 305 } |
| 275 | 306 |
| 276 /* The negative right margin causes the track to overflow its container. */ | 307 /* The negative right margin causes the track to overflow its container. */ |
| 277 input[type="range" i]::-webkit-media-slider-container > div { | 308 input[type="range" i]::-webkit-media-slider-container > div { |
| 278 margin-right: -14px; | 309 margin-right: -18.00px; /* box is 36.00px wide, get to the middle */ |
| 310 margin-left: -18.00px; | |
| 279 } | 311 } |
| 280 | 312 |
| 281 input[type="range" i]::-webkit-media-slider-thumb { | 313 input[type="range" i]::-webkit-media-slider-thumb { |
| 282 margin-left: -7px; | 314 box-sizing: border-box; |
| 283 margin-right: -7px; | 315 width: 48.00px; |
| 316 height: 48.00px; | |
| 317 padding: 0px; | |
| 318 margin: 0px; | |
| 284 } | 319 } |
| 285 | 320 |
| 286 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-f ullscreen-button { | 321 audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-f ullscreen-button { |
| 287 -webkit-appearance: media-enter-fullscreen-button; | 322 -webkit-appearance: media-enter-fullscreen-button; |
| 288 display: flex; | 323 display: flex; |
| 289 flex: none; | 324 flex: none; |
| 325 overflow: hidden; | |
| 290 border: none; | 326 border: none; |
| 291 box-sizing: border-box; | 327 box-sizing: border-box; |
| 292 width: 30px; | 328 width: 48.00px; |
| 293 height: 30px; | 329 height: 48.00px; |
| 294 line-height: 30px; | 330 line-height: 48.00px; |
| 295 margin-left: -5px; | |
| 296 margin-right: 9px; | |
| 297 padding: 0; | |
| 298 background-color: initial; | 331 background-color: initial; |
| 299 color: inherit; | 332 color: inherit; |
| 300 } | 333 } |
| 301 | 334 |
| 302 audio::-internal-media-controls-cast-button, video::-internal-media-controls-cas t-button { | 335 audio::-internal-media-controls-cast-button, video::-internal-media-controls-cas t-button { |
| 303 -webkit-appearance: -internal-media-cast-off-button; | 336 -webkit-appearance: -internal-media-cast-off-button; |
| 304 display: flex; | 337 display: flex; |
| 305 flex: none; | 338 flex: none; |
| 306 border: none; | 339 border: none; |
| 307 box-sizing: border-box; | 340 box-sizing: border-box; |
| 308 width: 30px; | 341 width: 48.00px; |
| 309 height: 30px; | 342 height: 48.00px; |
| 310 line-height: 30px; | 343 line-height: 48.00px; |
| 311 margin-left: -5px; | 344 margin-left: 0px; |
| 312 margin-right: 9px; | 345 margin-right: 0px; |
| 313 padding: 0; | 346 padding: 12.00px; |
| 314 background-color: initial; | 347 background-color: initial; |
| 315 color: inherit; | 348 color: inherit; |
| 316 } | 349 } |
| 317 | 350 |
| 318 audio::-webkit-media-controls-toggle-closed-captions-button { | 351 audio::-webkit-media-controls-toggle-closed-captions-button { |
| 319 display: none; | 352 display: none; |
| 320 } | 353 } |
| 321 | 354 |
| 322 video::-webkit-media-controls-toggle-closed-captions-button { | 355 video::-webkit-media-controls-toggle-closed-captions-button { |
| 323 -webkit-appearance: media-toggle-closed-captions-button; | 356 -webkit-appearance: media-toggle-closed-captions-button; |
| 324 display: flex; | 357 display: flex; |
| 325 flex: none; | 358 flex: none; |
| 326 border: none; | 359 border: none; |
| 327 box-sizing: border-box; | 360 box-sizing: border-box; |
| 328 width: 30px; | 361 width: 48.00px; |
| 329 height: 30px; | 362 height: 48.00px; |
| 330 line-height: 30px; | 363 line-height: 48.00px; |
| 331 margin-left: -5px; | 364 margin-left: 0px; |
| 332 margin-right: 9px; | 365 margin-right: 0px; |
| 333 padding: 0; | 366 padding: 12.00px; |
| 334 background-color: initial; | 367 background-color: initial; |
| 335 color: inherit; | 368 color: inherit; |
| 336 } | 369 } |
| 337 | 370 |
| 338 audio::-webkit-media-controls-fullscreen-volume-slider, video::-webkit-media-con trols-fullscreen-volume-slider { | 371 audio::-webkit-media-controls-fullscreen-volume-slider, video::-webkit-media-con trols-fullscreen-volume-slider { |
| 339 display: none; | 372 display: none; |
| 340 } | 373 } |
| 341 | 374 |
| 342 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media -controls-fullscreen-volume-min-button { | 375 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media -controls-fullscreen-volume-min-button { |
| 343 display: none; | 376 display: none; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 414 font-weight: bold; | 447 font-weight: bold; |
| 415 } | 448 } |
| 416 | 449 |
| 417 video::-webkit-media-text-track-container u { | 450 video::-webkit-media-text-track-container u { |
| 418 text-decoration: underline; | 451 text-decoration: underline; |
| 419 } | 452 } |
| 420 | 453 |
| 421 video::-webkit-media-text-track-container i { | 454 video::-webkit-media-text-track-container i { |
| 422 font-style: italic; | 455 font-style: italic; |
| 423 } | 456 } |
| OLD | NEW |