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

Unified Diff: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css

Issue 12042095: Move wallpaper progress bar on top of thumbnails (completely remove butter bar) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/js/butter_bar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
diff --git a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
index 4d13bb6557c5a804c850a4f2a3d5df57f91d3a48..dbea2c86a485cee881b476b725ec516106519487 100644
--- a/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
+++ b/chrome/browser/resources/chromeos/wallpaper_manager/css/wallpaper_manager.css
@@ -73,12 +73,20 @@ body {
}
#close {
- margin-top: 5px;
- opacity: 0.5;
+ background-image: -webkit-image-set(
+ url('../images/ui/close-white.png') 1x,
+ url('../images/ui/2x/close-white.png') 2x);
+ height: 14px;
+ position: absolute;
+ right: 10px;
+ top: 10px;
+ width: 14px
}
#close:hover {
- opacity: 0.7;
+ background-image: -webkit-image-set(
+ url('../images/ui/close-white-hover.png') 1x,
+ url('../images/ui/2x/close-white-hover.png') 2x);
}
#bar {
@@ -152,19 +160,17 @@ body {
}
.image-picker .check {
- left: 3px;
+ background-image: -webkit-image-set(
+ url('../images/ui/check.png') 1x,
+ url('../images/ui/2x/check.png') 2x);
+ height: 32px;
+ left: 38px;
position: absolute;
- top: 49px;
-}
-
-.image-picker [active] .check {
- background-image: url('../images/ui/check.png');
- height: 15px;
- width: 20px;
+ top: 18px;
+ width: 32px;
z-index: 3;
}
-
::-webkit-scrollbar {
width: 6px;
}
@@ -234,108 +240,17 @@ body {
display: none !important;
}
-/* The butter bar styles are copied from file_manager.css. We will revisit
- * it to see if we can share some code after butter bar is integrated with
- * Photo Editor.
- * See http://codereview.chromium.org/10916149/ for details.
- */
-/* TODO(bshe): Remove these styles if we can share code with file manager. */
-#butter-bar-container {
- -webkit-box-pack: center;
- display: -webkit-box;
- left: 0;
- pointer-events: none;
+.progress-bar {
+ background-color: rgba(255, 255, 255, 0.7);
+ height: 6px;
position: absolute;
- top: 0;
+ top: 62px;
width: 100%;
- z-index: 3;
-}
-
-#butter-bar {
- -webkit-box-align: end;
- -webkit-box-orient: horizontal;
- -webkit-transition: opacity 300ms;
- background-color: #e3e3e3;
- color: #222;
- display: -webkit-box;
- max-width: 340px;
- min-width: 40px;
- padding: 0 1em;
- pointer-events: auto;
- top: 1px;
- width: 30%;
- z-index: 2;
-}
-
-#butter-bar:not(.visible) {
- opacity: 0;
- pointer-events: none;
-}
-
-#butter-bar .content {
- -webkit-box-flex: 1;
- overflow: hidden;
- padding-bottom: 4px;
- padding-top: 4px;
-}
-
-#butter-bar .actions {
- -webkit-box-orient: horizontal;
- -webkit-box-pack: end;
- display: -webkit-box;
- height: 20px;
-}
-
-#butter-bar .actions a {
- background: center center no-repeat;
- background-image: -webkit-image-set(
- url('../images/ui/close_bar.png') 1x,
- url('../images/ui/2x/close_bar.png') 2x);
- display: inline-block;
- height: 12px;
- padding: 4px 2px;
- width: 12px;
-}
-
-#butter-bar .actions a:first-child {
- margin-left: 2px;
-}
-
-#butter-bar .actions a:last-child {
- margin-right: -2px; /* Overlap the padding with butter-bar padding. */
-}
-
-#butter-bar.error {
- background-color: rgb(236, 207, 203);
- border: 1px solid rgba(221, 75, 57, 0.5);
- border-radius: 2px;
- padding: 2px 1em;
-}
-
-.progress-bar {
- -webkit-box-flex: 1;
- border: 1px solid #999;
- margin-bottom: 2px;
- margin-top: 3px;
- padding: 1px;
}
.progress-track {
- -webkit-animation-duration: 800ms;
- -webkit-animation-iteration-count: infinite;
- -webkit-animation-name: bg;
- -webkit-animation-timing-function: linear;
- background-color: #ccc;
- background-image: -webkit-linear-gradient(315deg, transparent,
- transparent 33%, rgba(0, 0, 0, 0.12) 33%, rgba(0, 0, 0, 0.12) 66%,
- transparent 66%, transparent);
- background-position: 0 0;
- background-repeat: repeat-x;
- background-size: 16px 8px;
- height: 5px;
-}
-
-@-webkit-keyframes bg {
- 0% { background-position: 0 0; }
- 100% { background-position: -16px 0; }
+ -webkit-transition: width 1ms linear;
+ background-color: rgb(66, 129, 244);
+ height: 100%;
+ width: 0;
}
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/wallpaper_manager/js/butter_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698