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

Side by Side Diff: chrome/browser/resources/shared/css/button.css

Issue 2101019: Print Preview component extension (Closed)
Patch Set: Put it under a flag Created 10 years, 5 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 unified diff | Download patch
OLDNEW
1 button { 1 button {
2 padding: 5px 8px; 2 padding: 5px 8px;
3 border: 1px solid rgba(0, 0, 0, .50); 3 border: 1px solid rgba(0, 0, 0, .50);
4 -webkit-border-radius: 3px; 4 -webkit-border-radius: 3px;
5 -webkit-box-shadow: 1px 1px 0px rgba(0, 0, 0, .10); 5 -webkit-box-shadow: 1px 1px 0px rgba(0, 0, 0, .10);
6 background: -webkit-gradient(linear, 0 50%, 0 100%, 6 background: -webkit-gradient(linear, 0 50%, 0 100%,
7 from(#ffffff), to(#e3e3e3)); 7 from(#ffffff), to(#e3e3e3));
8 } 8 }
9 9
10 button.dropdown {
11 background-image: url("chrome://resources/images/dropdown_arrow.png"),
12 -webkit-gradient(linear, 0 50%, 0 100%,
13 from(#ffffff), to(#e3e3e3));
14 background-repeat: no-repeat, no-repeat;
15 background-position: center right, top left;
16 }
17
18 /* TODO(feldstein): This should use -webkit-padding-end once it
19 is supported. https://bugs.webkit.org/show_bug.cgi?id=41322 */
20 html:not([dir="rtl"]) button.dropdown {
21 padding-right: 15px;
22 }
23
24 html[dir="rtl"] button.dropdown {
25 background-position: center left, top right;
26 padding-left: 15px;
27 }
28
10 button:active { 29 button:active {
11 background: -webkit-gradient(linear, 0 4%, 0 100%, 30 background-image: -webkit-gradient(linear, 0 4%, 0 100%,
12 from(#c3c3c3), to(#f5f5f5)); 31 from(#c3c3c3), to(#f5f5f5));
13 } 32 }
14 33
34 button.dropdown:active {
35 background-image: url("chrome://resources/images/dropdown_arrow.png"),
36 -webkit-gradient(linear, 0 4%, 0 100%,
37 from(#c3c3c3), to(#f5f5f5));
38 }
39
15 button:focus { 40 button:focus {
16 /* TODO(feldstein): find a better way to keep buttons same size. */ 41 /* TODO(feldstein): find a better way to keep buttons same size. */
17 padding: 4px 7px; 42 padding: 4px 7px;
18 outline: none; 43 outline: none;
19 border: 2px solid #426dc9; 44 border: 2px solid #426dc9;
20 } 45 }
21 46
22 button.action { 47 button.action {
23 border: 1px solid #2e4987; 48 border: 1px solid #2e4987;
24 font-weight: bold; 49 font-weight: bold;
(...skipping 13 matching lines...) Expand all
38 background: -webkit-gradient(linear, 0 0, 0 100%, 63 background: -webkit-gradient(linear, 0 0, 0 100%,
39 from(#426dc9), to(#6391de)); 64 from(#426dc9), to(#6391de));
40 } 65 }
41 66
42 button:disabled { 67 button:disabled {
43 border: 1px solid rgba(0, 0, 0, .35); 68 border: 1px solid rgba(0, 0, 0, .35);
44 color: rgba(0, 0, 0, .30); 69 color: rgba(0, 0, 0, .30);
45 background: -webkit-gradient(linear, 0 0, 0 100%, 70 background: -webkit-gradient(linear, 0 0, 0 100%,
46 from(#ffffff), to(#e3e3e3)); 71 from(#ffffff), to(#e3e3e3));
47 } 72 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/print_preview.html ('k') | chrome/browser/resources/shared/css/chrome.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698