Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/mediaControlsNew.css |
| diff --git a/third_party/WebKit/Source/core/css/mediaControlsNew.css b/third_party/WebKit/Source/core/css/mediaControlsNew.css |
| index 8b82dbf38019b6c79307403fbbbfe9c77a08c65f..051ed6f205b163f2f7c523419c134c47b1fa5ce9 100644 |
| --- a/third_party/WebKit/Source/core/css/mediaControlsNew.css |
| +++ b/third_party/WebKit/Source/core/css/mediaControlsNew.css |
| @@ -33,7 +33,7 @@ audio:not([controls]) { |
| audio { |
| width: 300px; |
| - height: 48px; |
| + height: 32px; |
| } |
| audio::-webkit-media-controls, |
| @@ -50,7 +50,7 @@ video::-webkit-media-controls { |
| audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure { |
| width: 100%; |
| - height: 48px; |
| + height: 32px; |
| flex-shrink: 0; |
| bottom: 0; |
| text-indent: 0; |
| @@ -74,14 +74,15 @@ audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { |
| overflow: hidden; |
| text-align: right; |
| bottom: auto; |
| - height: 48px; |
| + height: 32px; |
| min-width: 48px; |
| + line-height: 32px; |
| background-color: #fafafa; |
| /* The duration is also specified in MediaControlElements.cpp and LayoutTests/media/media-controls.js */ |
| transition: opacity 0.3s; |
| font-family: Segoe, "Helvetica Neue", Roboto, Arial, Helvetica, sans-serif ; |
| - font-size: 14px; |
| + font-size: 12px; |
| font-weight: normal; /* Make sure that we don't inherit non-defaults. */ |
| font-style: normal; |
| } |
| @@ -109,11 +110,11 @@ audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-bu |
| -webkit-appearance: media-mute-button; |
| display: flex; |
| flex: none; |
| - border: none; |
| - width: 48px; |
| - height: 48px; |
| - line-height: 48px; |
| - padding: 12px; |
| + box-sizing: content-box; |
| + width: 32px; |
| + height: 32px; |
| + padding: 0px; |
| + border-width: 0px; |
| background-color: initial; |
| color: inherit; |
| } |
| @@ -145,7 +146,7 @@ video::-webkit-media-controls-overlay-play-button { |
| top: 0; |
| left: 0; |
| margin: 0; |
| - border: none; |
| + border-width: 0px; |
|
philipj_slow
2016/04/01 08:47:31
A pet peeve of mine: 0px==0. There are a bunch of
|
| background-color: transparent; |
| width: 100%; |
| height: 100%; |
| @@ -160,10 +161,10 @@ video::-internal-media-controls-overlay-cast-button { |
| left: 8px; |
| margin-left: 0px; |
| margin-top: 0px; |
| - border: none; |
| + border-width: 0px; |
| background-color: transparent; |
| - width: 48px; |
| - height: 48px; |
| + width: 32px; |
| + height: 32px; |
| padding: 0; |
| transition: opacity 0.3s; |
| } |
| @@ -172,11 +173,11 @@ audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-bu |
| -webkit-appearance: media-play-button; |
| display: flex; |
| flex: none; |
| - border-sizing: border-box; |
| - width: 48px; |
| - height: 48px; |
| - line-height: 48px; |
| - padding: 12px; |
| + box-sizing: content-box; |
| + width: 32px; |
| + height: 32px; |
| + padding: 0px; |
| + border-width: 0px; |
| background-color: initial; |
| color: inherit; |
| } |
| @@ -202,12 +203,11 @@ audio::-webkit-media-controls-current-time-display, video::-webkit-media-control |
| border: none; |
| cursor: default; |
| - height: 48px; |
| + height: 32px; |
| /* text runs right to the edge of the container */ |
| padding: 0; |
| - line-height: 48px; |
| color: #5a5a5a; |
| letter-spacing: normal; |
| @@ -226,13 +226,12 @@ audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-contr |
| border: none; |
| cursor: default; |
| - height: 48px; |
| + height: 32px; |
| /* text runs right to the edge of the container, plus a little on |
| * the left to pad the leading "/" */ |
| padding: 0 0 0 4px; |
| - line-height: 48px; |
| color: #5a5a5a; |
| letter-spacing: normal; |
| @@ -314,10 +313,11 @@ audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-f |
| display: flex; |
| flex: none; |
| overflow: hidden; |
| - border: none; |
| - width: 48px; |
| - height: 48px; |
| - line-height: 48px; |
| + box-sizing: content-box; |
| + width: 32px; |
| + height: 32px; |
| + padding: 0px; |
| + border-width: 0px; |
| background-color: initial; |
| color: inherit; |
| } |
| @@ -326,13 +326,13 @@ audio::-internal-media-controls-cast-button, video::-internal-media-controls-cas |
| -webkit-appearance: -internal-media-cast-off-button; |
| display: flex; |
| flex: none; |
| - border: none; |
| - width: 48px; |
| - height: 48px; |
| - line-height: 48px; |
| + box-sizing: content-box; |
| + width: 32px; |
| + height: 32px; |
| + padding: 0px; |
| + border-width: 0px; |
| margin-left: 0px; |
| margin-right: 0px; |
| - padding: 12px; |
| background-color: initial; |
| color: inherit; |
| } |
| @@ -345,13 +345,13 @@ video::-webkit-media-controls-toggle-closed-captions-button { |
| -webkit-appearance: media-toggle-closed-captions-button; |
| display: flex; |
| flex: none; |
| - border: none; |
| - width: 48px; |
| - height: 48px; |
| - line-height: 48px; |
| + box-sizing: content-box; |
| + width: 32px; |
| + height: 32px; |
| + padding: 0px; |
| + border-width: 0px; |
| margin-left: 0px; |
| margin-right: 0px; |
| - padding: 12px; |
| background-color: initial; |
| color: inherit; |
| } |