Index: chrome/browser/resources/file_manager/js/image_editor/media_controls.css |
diff --git a/chrome/browser/resources/file_manager/js/image_editor/media_controls.css b/chrome/browser/resources/file_manager/js/image_editor/media_controls.css |
deleted file mode 100644 |
index e1a281a0334079d3e99cff5490ae5b4303347468..0000000000000000000000000000000000000000 |
--- a/chrome/browser/resources/file_manager/js/image_editor/media_controls.css |
+++ /dev/null |
@@ -1,491 +0,0 @@ |
-/* |
- * 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. |
- */ |
- |
-.media-button { |
- position: relative; |
- width: 28px; |
- height: 28px; |
- background-repeat: no-repeat; |
- background-position: center center; |
-} |
- |
-.media-button > div { |
- position: absolute; |
- pointer-events: none; |
- width: 100%; |
- height: 100%; |
- -webkit-transition: opacity 100ms linear; |
- opacity: 0; |
-} |
- |
-.media-button[state='0']:not(.disabled):not(:hover):not(:active) > .state0.normal, |
-.media-button[state='0']:not(.disabled):hover > .state0.hover, |
-.media-button[state='0']:not(.disabled):active > .state0.active, |
-.media-button[state='1']:not(.disabled):not(:hover):not(:active) > .state1.normal, |
-.media-button[state='1']:not(.disabled):hover > .state1.hover, |
-.media-button[state='1']:not(.disabled):active > .state1.active, |
-.media-button.disabled > .disabled { |
- opacity: 1; |
-} |
- |
-/* Custom sliders for progress and volume. */ |
- |
-/* Customize the standard input[type='range']. */ |
-.custom-slider > input[type='range'] { |
- position: absolute; |
- -webkit-appearance: none !important; /* Hide the default thumb icon. */ |
- left: -2px; /* Required to align the input element with the parent. */ |
- top: -2px; |
- width: 100%; |
- height: 100%; |
- background: transparent; /* Hide the standard slider bar */ |
-} |
- |
-/* Custom thumb icon. */ |
-.custom-slider > input[type='range']::-webkit-slider-thumb { |
- position: relative; |
- -webkit-appearance: none; |
- z-index: 2; |
- height: 24px; |
- background-position: center center; |
- background-repeat: no-repeat; |
-} |
- |
-/* Custom slider bar (we hide the standard one). */ |
-.custom-slider > .bar { |
- position: absolute; |
- /* In order to match the horizontal position of the standard slider bar |
- left and right must be equal to 1/2 of the thumb icon width. */ |
- top: 11px; |
- bottom: 11px; |
- border-width: 1px; |
- border-top-style: solid; |
- border-bottom-style: solid; |
- pointer-events: none; /* Mouse events pass through to the standard input. */ |
-} |
- |
-.custom-slider > .bar > .filled, |
-.custom-slider > .bar > .cap { |
- position: absolute; |
- top: -1px; |
- bottom: -1px; |
- border-width: 1px; |
- border-style: solid; |
-} |
- |
-/* The filled portion of the slider bar to the left of the thumb. */ |
-.custom-slider > .bar > .filled { |
- width: 0; /* The element style.width is manipulated from the code. */ |
- left: 0; |
- border-left-style: none; |
- border-right-style: none; |
-} |
- |
-/* Rounded caps to the left and right of the slider bar. */ |
-.custom-slider > .bar > .cap { |
- width: 4px; |
-} |
- |
-/* Left cap is always filled, should be the same color as .filled. */ |
-.custom-slider > .bar > .cap.left { |
- right: 100%; |
- border-right-style: none; |
- border-top-left-radius: 4px; |
- border-bottom-left-radius: 4px; |
-} |
- |
-/* Right cap is always not filled. */ |
-.custom-slider > .bar > .cap.right { |
- left: 100%; |
- border-left-style: none; |
- border-top-right-radius: 4px; |
- border-bottom-right-radius: 4px; |
-} |
- |
-.custom-slider > .bar, |
-.custom-slider > .bar > .cap.right { |
- background-color: rgba(0, 0, 0, 0.5); |
- border-color: #808080; |
-} |
- |
-.custom-slider > .bar > .filled, |
-.custom-slider > .bar > .cap.left { |
- background-image: -webkit-linear-gradient(#c3c3c3, #d9d9d9); |
- border-color: #d9d9d9; |
-} |
- |
-.custom-slider.disabled > .bar > .filled, |
-.custom-slider.disabled > .bar > .cap.left { |
- background-image: none; |
- background-color: rgba(0, 0, 0, 0.5); |
-} |
- |
-.custom-slider.disabled > .bar, |
-.custom-slider.disabled > .bar > .filled, |
-.custom-slider.disabled > .bar > .cap { |
- border-color: #404040; |
-} |
- |
-.media-button.disabled, |
-.custom-slider.disabled, |
-.custom-slider.readonly { |
- pointer-events: none; |
-} |
- |
-/* Progress seek marker (precise time shown on mouse hover. */ |
- |
-/* Thin vertical line across the slider bar */ |
-.custom-slider > .bar > .seek-mark { |
- position: absolute; |
- left: 0; |
- width: 0; |
- top: -1px; |
- bottom: -1px; |
- background-color: #202020; |
-} |
- |
-.custom-slider > .bar > .seek-mark.visible { |
- width: 1px; |
-} |
- |
-.custom-slider > .bar > .seek-mark.inverted { |
- background-color: #808080; |
-} |
- |
-/* Text label giving the precise time corresponding to the hover position. */ |
-.custom-slider > .bar > .seek-mark > .seek-label { |
- position: absolute; |
- left: 0; |
- bottom: 20px; |
- |
- font-size: 13px; |
- |
- height: 0; |
- -webkit-transition: height 0.15s ease; |
- |
- color: white; |
- background: #202020; |
- border-top-left-radius: 2px; |
- border-top-right-radius: 2px; |
- display: -webkit-box; |
- -webkit-box-orient: horizontal; |
- -webkit-box-align: center; |
- -webkit-box-pack: center; |
- |
- overflow: hidden; |
-} |
- |
-.custom-slider > .bar > .seek-mark.visible > .seek-label { |
- height: 15px; |
-} |
- |
-/* Media controls in order of appearance. */ |
- |
-/* Play/pause button. */ |
- |
-.media-button.play { |
- margin-left: -7px; |
- margin-right: -7px; |
-} |
- |
-.media-button.play > .state0.normal { |
- background-image: url(../../images/media/media_play.png); |
-} |
- |
-.media-button.play > .state0.hover { |
- background-image: url(../../images/media/media_play_hover.png); |
-} |
- |
-.media-button.play > .state0.active { |
- background-image: url(../../images/media/media_play_down.png); |
-} |
- |
-.media-button.play > .state1.normal{ |
- background-image: url(../../images/media/media_pause.png); |
-} |
- |
-.media-button.play > .state1.hover { |
- background-image: url(../../images/media/media_pause_hover.png); |
-} |
- |
-.media-button.play > .state1.active { |
- background-image: url(../../images/media/media_pause_down.png); |
-} |
- |
-.media-button.play > .disabled { |
- background-image: url(../../images/media/media_play_disabled.png); |
-} |
- |
-/* Time controls: a slider and a text time display. */ |
- |
-.time-controls { |
- height: 100%; |
- display: -webkit-box; |
- -webkit-box-orient: horizontal; |
- -webkit-box-align: center; |
- -webkit-box-pack: center; |
- -webkit-box-flex: 1; |
-} |
- |
-.custom-slider.progress { |
- position: relative; |
- height: 100%; |
- display: -webkit-box; |
- -webkit-box-flex: 1; |
- margin-left: -9px; /* Set the margins at the edges of the slider bar. */ |
- margin-right: -9px; |
-} |
- |
-.custom-slider.progress > input[type='range']::-webkit-slider-thumb { |
- width: 28px; |
- background-image: url(../../images/media/media_slider_thumb.png); |
-} |
- |
-.custom-slider.progress > input[type='range']::-webkit-slider-thumb:hover { |
- background-image: url(../../images/media/media_slider_thumb_hover.png); |
-} |
- |
-.custom-slider.progress > input[type='range']::-webkit-slider-thumb:active { |
- background-image: url(../../images/media/media_slider_thumb_down.png); |
-} |
- |
-.custom-slider.progress.disabled > input[type='range']::-webkit-slider-thumb { |
- background-image: none; |
-} |
- |
-.custom-slider.progress > .bar { |
- left: 14px; /* Exactly 1/2 of the thumb width */ |
- right: 14px; |
-} |
- |
-/* Time display. */ |
- |
-.time-controls > .time { |
- position: relative; |
- height: 100%; |
- margin-left: 15px; |
-} |
- |
-.time-controls > .time.disabled { |
- opacity: 0; |
-} |
- |
-/* Invisible div used to compute the width required for the elapsed time. */ |
-.time-controls > .time > .duration { |
- color: transparent; |
-} |
- |
-.time-controls > .time > .current { |
- position: absolute; |
- right: 0; |
- top: 0; |
- bottom: 0; |
- display: -webkit-box; |
- -webkit-box-orient: horizontal; |
- -webkit-box-align: center; |
- -webkit-box-pack: end; |
- color: white; |
-} |
- |
-/* Volume controls: sound button and volume slider */ |
- |
-.volume-controls { |
- height: 100%; |
- display: -webkit-box; |
- -webkit-box-orient: horizontal; |
- -webkit-box-align: center; |
- -webkit-box-pack: center; |
-} |
- |
-/* Sound button */ |
- |
-.media-button.sound { |
- margin-left: -4px; |
- margin-right: -2px; |
- background-position: -2px center; |
-} |
- |
-.media-button.sound[level='0'] > .normal { |
- background-image: url(../../images/media/media_sound_disabled.png); |
-} |
- |
-.media-button.sound[level='0'] > .hover { |
- background-image: url(../../images/media/media_sound_disabled_hover.png); |
-} |
- |
-.media-button.sound[level='0'] > .active { |
- background-image: url(../../images/media/media_sound_disabled_down.png); |
-} |
- |
- |
-.media-button.sound[level='1'] > .normal { |
- background-image: url(../../images/media/media_sound_level1.png); |
-} |
- |
-.media-button.sound[level='1'] > .hover { |
- background-image: url(../../images/media/media_sound_level1_hover.png); |
-} |
- |
-.media-button.sound[level='1'] > .active { |
- background-image: url(../../images/media/media_sound_level1_down.png); |
-} |
- |
- |
-.media-button.sound[level='2'] > .normal { |
- background-image: url(../../images/media/media_sound_level2.png); |
-} |
- |
-.media-button.sound[level='2'] > .hover { |
- background-image: url(../../images/media/media_sound_level2_hover.png); |
-} |
- |
-.media-button.sound[level='2'] > .active { |
- background-image: url(../../images/media/media_sound_level2_down.png); |
-} |
- |
- |
-.media-button.sound[level='3'] > .normal { |
- background-image: url(../../images/media/media_sound_full.png); |
-} |
- |
-.media-button.sound[level='3'] > .hover { |
- background-image: url(../../images/media/media_sound_full_hover.png); |
-} |
- |
-.media-button.sound[level='3'] > .active { |
- background-image: url(../../images/media/media_sound_full_down.png); |
-} |
- |
- |
-.media-button.sound > .disabled { |
- background-image: url(../../images/media/media_sound_full_disabled.png); |
-} |
- |
-/* Volume slider. */ |
- |
-.custom-slider.volume { |
- position: relative; |
- height: 100%; |
- width: 60px; |
- margin-left: -4px; |
- margin-right: -4px; |
-} |
- |
-.custom-slider.volume > input[type='range']::-webkit-slider-thumb { |
- width: 20px; |
- background-image: url(../../images/media/media_volume_slider_thumb.png); |
-} |
- |
-.custom-slider.volume > input[type='range']::-webkit-slider-thumb:hover { |
- background-image: url(../../images/media/media_volume_slider_thumb_hover.png); |
-} |
- |
-.custom-slider.volume > input[type='range']::-webkit-slider-thumb:active { |
- background-image: url(../../images/media/media_volume_slider_thumb_down.png); |
-} |
- |
-.custom-slider.volume.disabled > input[type='range']::-webkit-slider-thumb { |
- background-image: none; |
-} |
- |
-.custom-slider.volume > .bar { |
- left: 10px; /* Exactly 1/2 of the thumb width */ |
- right: 10px; |
-} |
- |
-/* Horizontal video control bar, all controls in a row. */ |
- |
-.video-controls { |
- pointer-events: auto; |
- |
- font-size: 15px; |
- height: 30px; |
- border-radius: 5px; |
- |
- padding-left: 15px; |
- padding-right: 15px; |
- |
- opacity: 0.8; |
- |
- background: #202020; |
- |
- display: -webkit-box; |
- -webkit-box-orient: horizontal; |
- -webkit-box-align: center; |
- -webkit-box-pack: center; |
-} |
- |
-.video-controls .time-controls, |
-.video-controls .volume-controls { |
- margin-left: 15px; |
-} |
- |
-/* Fullscreen button. */ |
-/* There is no final decision whether we need a separate icon when toggled. */ |
- |
-.media-button.fullscreen { |
- margin-left: 9px; /* 15px visible margin - 6px whitespace in the icon. */ |
- margin-right: -6px; |
-} |
- |
-.media-button.fullscreen > .normal { |
- background-image: url(../../images/media/media_fullscreen.png); |
-} |
- |
-.media-button.fullscreen > .hover { |
- background-image: url(../../images/media/media_fullscreen_hover.png); |
-} |
- |
-.media-button.fullscreen > .active { |
- background-image: url(../../images/media/media_fullscreen_down.png); |
-} |
- |
-.media-button.fullscreen > .disabled { |
- background-image: url(../../images/media/media_fullscreen_disabled.png); |
-} |
- |
-.playback-state-icon { |
- position: absolute; |
- left: 50%; |
- top: 50%; |
- width: 32px; |
- height: 32px; |
- margin-left: -16px; |
- margin-top: -16px; |
- border-radius: 2.5px; |
- pointer-events: none; |
- display: none; |
- |
- background-color: #202020; |
- background-repeat: no-repeat; |
- background-position: center center; |
- |
- opacity: 1; |
- -webkit-transform: scaleX(1) scaleY(1); |
- |
- -webkit-transition-property: webkit-transform, opacity; |
- -webkit-transition-duration: 500ms; |
- -webkit-transition-timing-function: linear; |
- |
- z-index: 2; |
-} |
- |
-.playback-state-icon[visible] { |
- display: block; |
-} |
- |
-.playback-state-icon[state] { |
- opacity: 0; |
- -webkit-transform: scaleX(3) scaleY(3); |
-} |
- |
-.playback-state-icon[state='play'] { |
- background-image: url(../../images/media/media_play.png); |
-} |
- |
-.playback-state-icon[state='pause'] { |
- background-image: url(../../images/media/media_pause.png); |
-} |