Commit 5cf1c5f0 authored by fukino's avatar fukino Committed by Commit bot

Remove unused images and CSS properties.

BUG=none
TEST=none

Review URL: https://codereview.chromium.org/1616673003

Cr-Commit-Position: refs/heads/master@{#371464}
parent 238be288
...@@ -7,114 +7,6 @@ ...@@ -7,114 +7,6 @@
display: none !important; display: none !important;
} }
/* This file contains "borrowed" copy of standard styles. To simplify merging,
* when altering, please preserve original property value by adding comments. */
input.common[type='checkbox'],
input.common[type='radio'] {
-webkit-appearance: none;
border: 1px solid #555;
border-radius: 1px;
box-sizing: border-box;
cursor: default;
height: 13px;
margin: 0;
opacity: 0.4;
width: 13px;
}
input.common[type='checkbox']:hover,
input.common[type='checkbox']:checked,
input.common[type='radio']:hover,
input.common[type='radio']:checked {
opacity: 1;
}
input.common[type='checkbox'] {
position: relative;
}
input.common[type='checkbox']:checked::after {
background-image: -webkit-image-set(
url(../images/common/check_no_box.png) 1x,
url(../images/common/2x/check_no_box.png) 2x);
background-position: -3px -4px;
background-repeat: no-repeat;
}
input.common[type='checkbox'].white {
border: none;
}
input.common[type='checkbox'].white:not(:checked)::after {
background-image: -webkit-image-set(
url(../images/common/checkbox_white_unchecked.png) 1x,
url(../images/common/2x/checkbox_white_unchecked.png) 2x);
background-position: -1px 0;
}
input.common[type='checkbox'].white:checked::after {
background-image: -webkit-image-set(
url(../images/common/checkbox_white_checked.png) 1x,
url(../images/common/2x/checkbox_white_checked.png) 2x);
background-position: -1px 0;
}
input.common[type='checkbox']::after {
content: '';
display: flex;
height: 15px;
left: -2px;
position: absolute;
top: -2px;
width: 17px;
}
.bubble {
background: #FFF;
border-radius: 2px;
cursor: default;
outline: 1px solid rgba(0, 0, 0, 0.2);
padding: 16px;
}
.bubble .pointer {
background: -webkit-image-set(
url(../images/common/bubble_point_white.png) 1x,
url(../images/common/2x/bubble_point_white.png) 2x);
display: block;
height: 11px;
left: 24px;
margin: 0 0 0 -5px;
outline: none;
position: absolute;
width: 17px;
}
.bubble .pointer:not(.bottom) {
top: -11px;
}
.bubble .pointer.bottom {
-webkit-transform: rotate(180deg);
bottom: -11px;
}
.bubble .close-x {
background: -webkit-image-set(
url(../images/common/close_x_gray.png) 1x,
url(../images/common/2x/close_x_gray.png) 2x);
height: 21px;
opacity: 0.3;
position: absolute;
right: 3px;
top: 3px;
width: 21px;
}
.bubble .close-x:hover {
opacity: 0.7;
}
/* "chrome-menu" class overrides some standard menu.css styles, to make custom /* "chrome-menu" class overrides some standard menu.css styles, to make custom
menus in FileBrowser look like native ChromeOS menus. */ menus in FileBrowser look like native ChromeOS menus. */
......
...@@ -16,24 +16,52 @@ button:focus { ...@@ -16,24 +16,52 @@ button:focus {
outline: 1px solid rgb(77, 144, 254); outline: 1px solid rgb(77, 144, 254);
} }
input[type='checkbox'] { /* TODO(fukino): This style for the bubble is old. Apply new design and remove
width: 15px; * these styles. */
height: 15px; .bubble {
background: #FFF;
border-radius: 2px;
cursor: default;
outline: 1px solid rgba(0, 0, 0, 0.2);
padding: 16px;
}
.bubble .pointer {
background: -webkit-image-set( background: -webkit-image-set(
url(../../file_manager/foreground/images/common/checkbox_white_unchecked.png) 1x, url(../../file_manager/foreground/images/common/bubble_point_white.png) 1x,
url(../../file_manager/foreground/images/common/2x/checkbox_white_unchecked.png) 2x) url(../../file_manager/foreground/images/common/2x/bubble_point_white.png) 2x);
-1px -1px; display: block;
-webkit-appearance: none; height: 11px;
display: inline-block; left: 24px;
margin: 1px 6px 1px 1px; margin: 0 0 0 -5px;
vertical-align: text-bottom; outline: none;
position: absolute;
width: 17px;
} }
input[type='checkbox']:checked { .bubble .pointer:not(.bottom) {
top: -11px;
}
.bubble .pointer.bottom {
-webkit-transform: rotate(180deg);
bottom: -11px;
}
.bubble .close-x {
background: -webkit-image-set( background: -webkit-image-set(
url(../../file_manager/foreground/images/common/checkbox_white_checked.png) 1x, url(../../file_manager/foreground/images/common/close_x_gray.png) 1x,
url(../../file_manager/foreground/images/common/2x/checkbox_white_checked.png) 2x) url(../../file_manager/foreground/images/common/2x/close_x_gray.png) 2x);
-1px -1px; height: 21px;
opacity: 0.3;
position: absolute;
right: 3px;
top: 3px;
width: 21px;
}
.bubble .close-x:hover {
opacity: 0.7;
} }
paper-ripple, paper-ripple,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment