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

Unified Diff: chrome/browser/resources/print_preview.css

Issue 6979024: Print Preview: Fading in/out printing options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing braces style Created 9 years, 7 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/print_preview.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview.css
diff --git a/chrome/browser/resources/print_preview.css b/chrome/browser/resources/print_preview.css
index 0b6072746b160db4e34db78298aeb886bc7cb5d0..7398adcaacfdf6249e440c6c7b3af07129c315e4 100644
--- a/chrome/browser/resources/print_preview.css
+++ b/chrome/browser/resources/print_preview.css
@@ -475,6 +475,39 @@ span.hint.closing {
opacity: 0;
}
+.option {
+ -webkit-transition: color 200ms;
+ background: white;
+ display: block;
+ height: 0;
+ margin-bottom: 0;
+ margin: 0;
+ overflow: hidden;
+}
+
+.option.visible {
+ -webkit-animation-duration: 200ms;
+ -webkit-animation-fill-mode: forwards;
+ height: auto;
+ margin-bottom: -10px;
+ margin-top: 5px;
+ padding-bottom: 5px;
+}
+
+.option:not(.visible) + hr {
+ display: none;
+}
+
+.option.closing {
+ -webkit-transition: margin 100ms, height 100ms, opacity 200ms;
+ background: transparent;
+ height: 0 !important;
+ margin-bottom: 0;
+ margin-top: 0;
+ opacity: 0;
+}
+
+
select {
-webkit-box-shadow: inset 0 1px 2px white,
0 1px 2px rgba(0, 0, 0, .2);
@@ -660,12 +693,10 @@ select {
#messages {
color: #404040;
font-size: 15px;
- left: 25%;
position: relative;
text-align: center;
text-shadow: 1px 1px 0 rgba(255, 255, 255, .7);
top: 50%;
- width: 50%;
}
html[dir='rtl'] .messages {
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698