Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4684)

Unified Diff: chrome/browser/resources/file_manager/css/gallery.css

Issue 9958101: [WebUI] Fix rest of CSS style nits in misc. dirs so I can turn on CSS checker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: estade review Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/css/gallery.css
diff --git a/chrome/browser/resources/file_manager/css/gallery.css b/chrome/browser/resources/file_manager/css/gallery.css
index 81cae4790dfac443050430816cb9469737efd418..08f70c3466a56c2949366a5824f977181af872f8 100644
--- a/chrome/browser/resources/file_manager/css/gallery.css
+++ b/chrome/browser/resources/file_manager/css/gallery.css
@@ -1,32 +1,30 @@
-/*
- * Copyright (c) 2012 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
+ * found in the LICENSE file. */
body {
- margin: 0;
-webkit-user-select: none;
font-family: Open Sans,Droid Sans Fallback,sans-serif;
font-size: 84%;
+ margin: 0;
}
.gallery {
background: black;
- position: absolute;
+ bottom: 0;
left: 0;
+ overflow: hidden;
+ position: absolute;
right: 0;
top: 0;
- bottom: 0;
- overflow: hidden;
}
/* Close button */
.gallery > .close {
+ cursor: pointer;
position: absolute;
right: 5px;
top: 5px;
- cursor: pointer;
z-index: 200;
}
@@ -34,12 +32,12 @@ body {
independently from its parent (which can be dimmed when the crop frame
overlaps it) */
.gallery > .close div {
- opacity: 0;
- width: 20px;
- height: 20px;
background-image: url(../images/gallery/close_x.png);
- background-repeat: no-repeat;
background-position: center center;
+ background-repeat: no-repeat;
+ height: 20px;
+ opacity: 0;
+ width: 20px;
}
.gallery[tools] > .close div {
@@ -47,18 +45,18 @@ body {
}
.gallery[tools] > .close div:hover {
- opacity: 0.7;
background-color: rgba(81,81,81,1);
+ opacity: 0.7;
}
/* Image container and canvas elements */
.gallery > .image-container {
- position: absolute;
- height: 100%;
- width: 100%;
background-color: rgba(0,0,0,1);
cursor: none; /* Only visible when the toolbar is active */
+ height: 100%;
+ position: absolute;
+ width: 100%;
}
.gallery[tools][locked] *,
@@ -99,14 +97,12 @@ body {
}
.gallery > .image-container > .image {
- position: absolute;
- pointer-events: none;
-
- -webkit-transition-property: -webkit-transform, opacity;
- -webkit-transition-timing-function: ease-in-out;
-
/* Keep in sync with ImageView.ANIMATION_DURATION in image_view.js*/
-webkit-transition-duration: 180ms;
+ -webkit-transition-property: -webkit-transform, opacity;
+ -webkit-transition-timing-function: ease-in-out;
+ pointer-events: none;
+ position: absolute;
}
.gallery > .image-container > .image[fade] {
@@ -124,30 +120,28 @@ body {
/* Toolbar */
.gallery > .toolbar {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 55px;
- display: -webkit-box;
+ -webkit-box-align: stretch;
-webkit-box-orient: horizontal;
-webkit-box-pack: start;
- -webkit-box-align: stretch;
- background-color: rgba(18,18,18,0.75);
- border-top: 1px solid rgba(31,31,31,0.75);
-
- pointer-events: none;
- opacity: 0;
-webkit-transform: translate(0, 0);
-
- -webkit-transition-property: webkit-transform, opacity;
-webkit-transition-duration: 300ms;
+ -webkit-transition-property: webkit-transform, opacity;
-webkit-transition-timing-function: ease;
+ background-color: rgba(18,18,18,0.75);
+ border-top: 1px solid rgba(31,31,31,0.75);
+ bottom: 0;
+ display: -webkit-box;
+ height: 55px;
+ opacity: 0;
+ pointer-events: none;
+ position: absolute;
+ width: 100%;
}
.gallery[tools] > .toolbar {
- pointer-events: auto;
- opacity: 1;
-webkit-transform: translate(0, 0);
+ opacity: 1;
+ pointer-events: auto;
}
.gallery[tools][locked] > .toolbar {
@@ -155,15 +149,15 @@ body {
}
.gallery .arrow-box {
- position: absolute;
- z-index: 100;
- width: 100%;
- height: 100%;
- pointer-events: none;
- display: -webkit-box;
- -webkit-box-orient: horizontal;
-webkit-box-align: center;
+ -webkit-box-orient: horizontal;
-webkit-box-pack: center;
+ display: -webkit-box;
+ height: 100%;
+ pointer-events: none;
+ position: absolute;
+ width: 100%;
+ z-index: 100;
}
.gallery .arrow-box .arrow {
@@ -176,34 +170,34 @@ body {
}
.gallery[tools] .arrow[active] {
- pointer-events: auto;
cursor: pointer;
+ pointer-events: auto;
}
/* The arrow icons are in nested divs so that their opacity can be manipulated
- independently from their parent (which can be dimmed when the crop frame
- overlaps it) */
-.gallery .arrow div{
- width: 105px;
- height: 193px;
- background-repeat: no-repeat;
+ * independently from their parent (which can be dimmed when the crop frame
+ * overlaps it) */
+.gallery .arrow div {
background-position: center center;
+ background-repeat: no-repeat;
+ height: 193px;
opacity: 0;
+ width: 105px;
}
-.gallery[tools] .arrow[active] div{
+.gallery[tools] .arrow[active] div {
opacity: 0.25;
}
-.gallery[tools] .arrow[active] div:hover{
+.gallery[tools] .arrow[active] div:hover {
opacity: 1;
}
-.gallery .arrow.left div{
+.gallery .arrow.left div {
background-image: url(../images/gallery/arrow_left.png);
}
-.gallery .arrow.right div{
+.gallery .arrow.right div {
background-image: url(../images/gallery/arrow_right.png);
}
@@ -250,24 +244,24 @@ body {
}
.gallery .filename-spacer > * {
- font-family: Open Sans,Droid Sans Fallback,sans-serif;
- position: absolute;
background-color: transparent;
+ color: white;
+ font-family: Open Sans,Droid Sans Fallback,sans-serif;
height: 21px;
+ position: absolute;
width: 260px;
- color: white;
}
.gallery .filename-spacer > input,
.gallery .filename-spacer > .name {
border: none;
- outline: none;
font-size: 120%;
+ left: 10px;
+ outline: none;
overflow: hidden;
text-overflow: ellipsis;
- white-space: nowrap;
- left: 10px;
top: 5px;
+ white-space: nowrap;
}
.gallery .filename-spacer > .name:hover {
@@ -278,9 +272,9 @@ body {
.gallery .filename-spacer > input:focus,
.gallery .filename-spacer > input:focus:hover {
background-color: white;
- color: black;
- border-right: 1px solid white;
border-bottom: 1px solid white;
+ border-right: 1px solid white;
+ color: black;
}
.gallery .filename-spacer > .options {
@@ -290,54 +284,53 @@ body {
.gallery .filename-spacer .saved,
.gallery .filename-spacer .keep-original {
- display: none;
- color: gray;
- font-size: 90%;
-webkit-transition: all linear 120ms;
- pointer-events: none;
+ color: gray;
cursor: inherit;
+ display: none;
+ font-size: 90%;
margin-right: 10px;
+ pointer-events: none;
}
.gallery .filename-spacer .saved[highlighted] {
+ -webkit-transform: scaleX(1.1) scaleY(1.1) rotate(0);
color: white;
- -webkit-transform: scaleX(1.1) scaleY(1.1) rotate(0deg);
}
.gallery .filename-spacer .keep-original[visible] {
- display: inline-block;
- cursor: pointer;
color: white;
+ cursor: pointer;
+ display: inline-block;
pointer-events: auto;
}
.gallery .button-spacer {
- display: -webkit-box;
-webkit-box-flex: 1;
+ display: -webkit-box;
}
/* Thumbnails */
.gallery .ribbon-spacer {
- position: absolute;
- left: 280px;
- right: 280px;
- height: 100%;
- display: -webkit-box;
+ -webkit-box-align: center;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
- -webkit-box-align: center;
+ display: -webkit-box;
+ height: 100%;
+ left: 280px;
+ position: absolute;
+ right: 280px;
}
.gallery .toolbar .ribbon {
- overflow: hidden;
- height: 100%;
-webkit-box-flex: 0;
- display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: start;
-
-webkit-transition: opacity 180ms linear;
+ display: -webkit-box;
+ height: 100%;
+ overflow: hidden;
z-index: 0;
}
@@ -346,17 +339,17 @@ body {
}
.gallery .ribbon-image {
- display: -webkit-box;
+ -webkit-box-align: center;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
- -webkit-box-align: center;
- overflow: hidden;
+ -webkit-transition: margin-left 180ms linear;
+ border: 2px solid rgba(255,255,255,0); /* transparent white */
cursor: pointer;
- width: 47px;
+ display: -webkit-box;
height: 47px;
margin: 2px;
- border: 2px solid rgba(255,255,255,0); /* transparent white */
- -webkit-transition: margin-left 180ms linear;
+ overflow: hidden;
+ width: 47px;
}
.gallery .ribbon-image[selected] {
@@ -364,40 +357,45 @@ body {
}
.gallery .toolbar .ribbon.fade-left {
- -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,0) 0, rgba(0,0,0,1) 40px);
+ -webkit-mask-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0,
+ rgba(0, 0, 0, 1) 40px);
}
.gallery .toolbar .ribbon.fade-right {
- -webkit-mask-image: -webkit-linear-gradient(right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 40px);
+ -webkit-mask-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0) 0,
+ rgba(0, 0, 0, 1) 40px);
}
.gallery .toolbar .ribbon.fade-left.fade-right {
- -webkit-mask-image: -webkit-linear-gradient(left, rgba(0,0,0,0) 0, rgba(0,0,0,1) 40px, rgba(0,0,0,1) 230px, rgba(0,0,0,0) 100%);
+ -webkit-mask-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0,
+ rgba(0, 0, 0, 1) 40px,
+ rgba(0, 0, 0, 1) 230px,
+ rgba(0, 0, 0, 0) 100%);
}
.gallery .image-wrapper {
- position: relative;
+ border: 1px solid rgba(0, 0, 0, 0); /* transparent black */
+ height: 45px;
overflow: hidden;
+ position: relative;
width: 45px;
- height: 45px;
- border: 1px solid rgba(0,0,0,0); /* transparent black */
}
/* Editor buttons */
.gallery .toolbar .edit-bar {
- position: absolute;
+ -webkit-box-orient: horizontal;
+ -webkit-box-pack: center;
+ -webkit-transition: opacity 180ms linear;
+ color: white;
+ display: -webkit-box;
+ height: 55px;
+ opacity: 0;
overflow: hidden;
pointer-events: none;
+ position: absolute;
right: 0;
width: 100%;
- opacity: 0;
- height: 55px;
- color: white;
- display: -webkit-box;
- -webkit-box-orient: horizontal;
- -webkit-box-pack: center;
- -webkit-transition: opacity 180ms linear;
}
.gallery[editing] .toolbar .edit-bar {
@@ -405,33 +403,30 @@ body {
}
.gallery .edit-main {
- display: -webkit-box;
-webkit-box-orient: horizontal;
- opacity: 0;
-webkit-transition: opacity 250ms ease-in-out;
+ display: -webkit-box;
+ opacity: 0;
}
.gallery[editing] .edit-main {
- pointer-events: auto;
opacity: 1.0;
+ pointer-events: auto;
}
.gallery > .toolbar .button {
+ -webkit-box-align: center;
-webkit-box-flex: 0;
- padding: 0 10px 0 35px;
- cursor: pointer;
- margin: 8px 0 7px 3px;
- height: 40px;
-
- display: -webkit-box;
-webkit-box-orient: horizontal;
- -webkit-box-align: center;
-webkit-box-pack: end;
-
- background-repeat: no-repeat;
background-position: 5px center;
-
+ background-repeat: no-repeat;
+ cursor: pointer;
+ display: -webkit-box;
+ height: 40px;
+ margin: 8px 0 7px 3px;
opacity: 0.99; /* Workaround for http://crosbug.com/21065 */
+ padding: 0 10px 0 35px;
}
.gallery > .toolbar .button {
@@ -499,13 +494,13 @@ body {
}
.gallery > .toolbar .button.redo {
- position: absolute; /* Exclude from center-packing*/
background-image: url(../images/gallery/icon_redo.png);
+ position: absolute; /* Exclude from center-packing*/
}
.gallery > .toolbar .button[disabled] {
- pointer-events: none;
opacity: 0.5;
+ pointer-events: none;
}
.gallery > .toolbar .button[hidden] {
@@ -513,9 +508,9 @@ body {
}
.gallery > .toolbar > .button.edit {
+ background-image: url(../images/gallery/icon_edit.png);
position: relative;
z-index: 10;
- background-image: url(../images/gallery/icon_edit.png);
}
.gallery > .toolbar > .button.edit[pressed] {
@@ -523,9 +518,9 @@ body {
}
.gallery > .toolbar > .button.share {
+ background-image: url(../images/gallery/icon_share.png);
position: relative;
z-index: 10;
- background-image: url(../images/gallery/icon_share.png);
}
.gallery > .toolbar > .button.share[pressed] {
@@ -534,8 +529,8 @@ body {
.gallery[error] > .toolbar .button.edit,
.gallery[error] > .toolbar .button.share {
- pointer-events: none;
opacity: 0.7;
+ pointer-events: none;
}
.gallery > .toolbar > .button:last-child {
@@ -545,14 +540,14 @@ body {
/* Secondary toolbar (mode-specific tools) */
.gallery .edit-modal {
- position: absolute;
- width: 100%;
- bottom: 80px;
- height: 40px;
- display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
+ bottom: 80px;
+ display: -webkit-box;
+ height: 40px;
pointer-events: none;
+ position: absolute;
+ width: 100%;
}
.gallery .edit-modal-wrapper[hidden] {
@@ -560,27 +555,25 @@ body {
}
.gallery .edit-modal-wrapper {
- color: white;
- padding-right: 5px;
- background-color: rgba(0, 0, 0, 0.75);
- display: -webkit-box;
+ -webkit-box-align: center;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
- -webkit-box-align: center;
+ background-color: rgba(0, 0, 0, 0.75);
+ color: white;
+ display: -webkit-box;
+ padding-right: 5px;
pointer-events: auto;
}
.gallery .edit-modal .label {
+ -webkit-box-align: center;
+ -webkit-box-orient: horizontal;
+ background-position: 20px center;
+ background-repeat: no-repeat;
+ display: -webkit-box;
height: 20px;
padding-left: 50px;
padding-right: 10px;
-
- display: -webkit-box;
- -webkit-box-orient: horizontal;
- -webkit-box-align: center;
-
- background-repeat: no-repeat;
- background-position: 20px center;
}
.gallery .edit-modal .label.brightness {
@@ -588,31 +581,31 @@ body {
}
.gallery .edit-modal .label.contrast {
- margin-left: 15px;
background-image: url(../images/gallery/icon_contrast.png);
+ margin-left: 15px;
}
.gallery .edit-modal .range {
-webkit-appearance: none !important;
height: 3px;
- margin-top: 1px;
margin-right: 10px;
+ margin-top: 1px;
}
.gallery .edit-modal .range::-webkit-slider-thumb {
-webkit-appearance: none;
- width: 16px;
- height: 29px;
background-image: url(../images/gallery/slider_thumb.png);
+ height: 29px;
+ width: 16px;
}
/* Crop frame */
.gallery .crop-overlay {
- position: absolute;
- pointer-events: none;
- display: -webkit-box;
-webkit-box-orient: vertical;
+ display: -webkit-box;
+ pointer-events: none;
+ position: absolute;
}
.gallery .crop-overlay .shadow {
@@ -620,27 +613,27 @@ body {
}
.gallery .crop-overlay .middle-box {
- display: -webkit-box;
- -webkit-box-orient: horizontal;
-webkit-box-flex: 1;
+ -webkit-box-orient: horizontal;
+ display: -webkit-box;
}
.gallery .crop-frame {
- position: relative;
- display: -webkit-box;
-webkit-box-flex: 1;
+ display: -webkit-box;
+ position: relative;
}
-.gallery .crop-frame div{
- position: absolute;
- background-color: rgba(255, 255, 255, 1);
+.gallery .crop-frame div {
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
+ background-color: rgba(255, 255, 255, 1);
+ position: absolute;
}
.gallery .crop-frame .horizontal {
+ height: 1px;
left: 7px;
right: 7px;
- height: 1px;
}
.gallery .crop-frame .horizontal.top {
@@ -652,8 +645,8 @@ body {
}
.gallery .crop-frame .vertical {
- top: 7px;
bottom: 7px;
+ top: 7px;
width: 1px;
}
@@ -667,8 +660,8 @@ body {
.gallery .crop-frame .corner {
border-radius: 6px;
- width: 13px;
height: 13px;
+ width: 13px;
}
.gallery .crop-frame .corner.left {
@@ -690,15 +683,13 @@ body {
/* Prompt/notification panel */
.gallery .prompt-wrapper {
- position: absolute;
- pointer-events: none;
-
- width: 100%;
- height: 100%;
-
- display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
+ display: -webkit-box;
+ height: 100%;
+ pointer-events: none;
+ position: absolute;
+ width: 100%;
}
.gallery .prompt-wrapper[pos=top] {
@@ -714,35 +705,29 @@ body {
}
.gallery .prompt-wrapper > div.dimmable {
- opacity: 1;
-webkit-transition: opacity 220ms ease;
+ opacity: 1;
}
.gallery .prompt {
+ -webkit-box-align: center;
+ -webkit-box-orient: horizontal;
+ -webkit-transition: all 180ms ease;
+ background-color: rgba(0, 0, 0, 0.8);
+ color: white;
+ display: -webkit-box;
font-size: 120%;
height: 40px;
+ opacity: 0;
padding: 0 20px;
- color: white;
- background-color: rgba(0, 0, 0, 0.8);
-
- display: -webkit-box;
- -webkit-box-orient: horizontal;
- -webkit-box-align: center;
-
position: relative;
top: 5px;
- opacity: 0;
- -webkit-transition: all 180ms ease;
-}
-
-.gallery .prompt[state='fadein'] {
- top: 0;
- opacity: 1;
}
+.gallery .prompt[state='fadein'],
.gallery .prompt[state='fadeout'] {
- top: 0;
opacity: 0;
Tyler Breisacher (Chromium) 2012/04/03 18:09:36 Doesn't this change the behavior? The rule .galle
Dan Beam 2012/04/03 19:42:01 yes, good catch, I'll just undo as having a second
+ top: 0;
}
.gallery .prompt-wrapper[pos=top] .prompt {
@@ -750,63 +735,62 @@ body {
}
.gallery .prompt .close {
- pointer-events: auto;
- width: 16px;
+ background-image: url(../images/gallery/butterbar_close_x.png);
+ background-position: center center;
+ background-repeat: no-repeat;
height: 16px;
margin-left: 16px;
opacity: 0.65;
- background-image: url(../images/gallery/butterbar_close_x.png);
- background-repeat: no-repeat;
- background-position: center center;
+ pointer-events: auto;
+ width: 16px;
}
.gallery .prompt .close:hover {
- opacity: 1.0;
background-color: rgba(81,81,81,1);
+ opacity: 1.0;
}
-
.gallery .share-menu {
- position: absolute;
- right: 10px;
- bottom: 60px;
- background-color: white;
- opacity: 1.0;
- -webkit-transition: opacity 500ms ease-in-out;
- padding: 8px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
+ -webkit-border-radius: 1px;
-webkit-box-align: stretch;
+ -webkit-box-orient: vertical;
-webkit-box-pack: start;
+ -webkit-transition: opacity 500ms ease-in-out;
+ background-color: white;
border: 1px solid #7f7f7f;
- -webkit-border-radius: 1px;
+ bottom: 60px;
+ display: -webkit-box;
+ opacity: 1.0;
+ padding: 8px;
+ position: absolute;
+ right: 10px;
}
.gallery .share-menu .bubble-point {
background-image: url(../images/gallery/bubble_point.png);
background-position: center top;
background-repeat: no-repeat;
- position: absolute;
- width: 20px;
- height: 8px;
bottom: -8px;
- right: 20px;
+ height: 8px;
padding: 0;
+ position: absolute;
+ right: 20px;
+ width: 20px;
}
.gallery .share-menu[hidden] {
- opacity: 0.0;
bottom: -100%; /* offscreen so that 'dimmed' attribute does not show it*/
+ opacity: 0.0;
Tyler Breisacher (Chromium) 2012/04/03 18:09:36 If we're going to get rid of "0px" and "0%" and "0
Dan Beam 2012/04/03 19:42:01 This was a bug in the checker - fixed and tests ad
pointer-events: none;
}
.gallery .share-menu > div {
- cursor: pointer;
- background-color: rgba(0,0,0,0);
- padding: 5px;
- display: -webkit-box;
-webkit-box-align: center;
-webkit-box-pack: start;
+ background-color: rgba(0,0,0,0);
+ cursor: pointer;
+ display: -webkit-box;
+ padding: 5px;
}
.gallery .share-menu > div:hover {
@@ -814,23 +798,23 @@ body {
}
.gallery .share-menu > div > img {
- margin-right: 5px;
display: block;
+ margin-right: 5px;
}
/* Load spinner and error banner */
.gallery .spinner {
- width: 32px;
+ background-image: url(../images/gallery/spinner_white.svg);
+ background-size: 100%;
height: 32px;
- position: absolute;
left: 50%;
- top: 50%;
margin-left: -16px;
margin-top: -16px;
opacity: 0.5;
- background-size: 100%;
- background-image: url(../images/gallery/spinner_white.svg);
+ position: absolute;
+ top: 50%;
+ width: 32px;
}
.gallery:not([spinner]) .spinner {
@@ -838,20 +822,18 @@ body {
}
.gallery .error-banner {
- color: white;
- background-color: rgba(24, 24, 24, 1);
- height: 54px;
- padding-left: 70px;
- padding-right: 35px;
-
- display: -webkit-box;
- -webkit-box-orient: horizontal;
-webkit-box-align: center;
+ -webkit-box-orient: horizontal;
-webkit-box-pack: center;
-
+ background-color: rgba(24, 24, 24, 1);
background-image: url(../images/media/error.png);
- background-repeat: no-repeat;
background-position: 25px center;
+ background-repeat: no-repeat;
+ color: white;
+ display: -webkit-box;
+ height: 54px;
+ padding-left: 70px;
+ padding-right: 35px;
}
.gallery:not([error]) .error-banner {
@@ -861,29 +843,29 @@ body {
/* Video playback support. */
.gallery video {
+ height: 100%;
position: absolute;
width: 100%;
- height: 100%;
}
.gallery .video-controls-spacer {
- position: absolute;
- left: 0;
- right: 0;
- height: 30px;
- bottom: 60px; /* Just above the toolbar */
- display: -webkit-box;
- -webkit-box-orient: horizontal;
-webkit-box-align: center;
+ -webkit-box-orient: horizontal;
-webkit-box-pack: center;
- pointer-events: none;
+ bottom: 60px; /* Just above the toolbar */
+ display: -webkit-box;
+ height: 30px;
+ left: 0;
opacity: 0;
+ pointer-events: none;
+ position: absolute;
+ right: 0;
}
.gallery[video] .video-controls-spacer {
/* Animate opacity on 'tools' attribute toggle. */
/* Change opacity immediately on 'video' attribute change. */
- -webkit-transition: opacity 0.28s ease;
+ -webkit-transition: opacity 280ms ease;
}
.gallery[video][tools] .video-controls-spacer {
@@ -891,13 +873,13 @@ body {
}
.gallery .video-controls {
- max-width: 800px;
display: none;
+ max-width: 800px;
}
.gallery[video] .video-controls {
- display: -webkit-box;
-webkit-box-flex: 1;
+ display: -webkit-box;
}
.gallery[video] > .toolbar .button.edit,

Powered by Google App Engine
This is Rietveld 408576698