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

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

Issue 8479042: UI polish for certificate viewer (Closed) Base URL: /usr/local/google/home/bshe/NoTouchChromium/../TouchChromium/src/@trunk
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/certificate_viewer.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 tabbox { 1 tabbox {
2 -webkit-box-orient: vertical; 2 -webkit-box-orient: vertical;
3 display: -webkit-box; 3 display: -webkit-box;
4 } 4 }
5 5
6 tabs { 6 tabs {
7 display: -webkit-box; 7 display: -webkit-box;
8 background: -webkit-linear-gradient(white, rgb(243, 243, 243)); 8 background: -webkit-linear-gradient(white, rgb(243, 243, 243));
9 border-bottom: 1px solid rgb(160, 160, 160); 9 border-bottom: 1px solid rgb(160, 160, 160);
10 margin: 0; 10 margin: 0;
11 -webkit-padding-start: 8px;
11 } 12 }
12 13
13 tabs > * { 14 tabs > * {
14 -webkit-margin-start: 5px; 15 -webkit-margin-start: 5px;
15 -webkit-transition: border-color .15s, background-color .15s; 16 -webkit-transition: border-color .15s, background-color .15s;
16 background: rgba(160, 160, 160, .3); 17 background: rgba(160, 160, 160, .3);
17 border: 1px solid rgba(160, 160, 160, .3); 18 border: 1px solid rgba(160, 160, 160, .3);
18 border-bottom: 0; 19 border-bottom: 0;
19 border-top-left-radius: 3px; 20 border-top-left-radius: 3px;
20 border-top-right-radius: 3px; 21 border-top-right-radius: 3px;
21 cursor: default; 22 cursor: default;
22 display: block; 23 display: block;
23 min-width: 4em; 24 min-width: 4em;
24 padding: 2px 10px; 25 padding: 2px 10px;
25 text-align: center; 26 text-align: center;
26 } 27 }
27 28
28 tabs > :not([selected]):hover { 29 tabs > :not([selected]):hover {
29 background: rgba(200, 200, 200, .3); 30 background: rgba(200, 200, 200, .3);
30 } 31 }
31 32
33 tabs > :not([selected]) {
34 background: #eee;
Rick Byers 2011/11/07 21:43:48 This should go above in the "tabs > *" clause (bet
bshe 2011/11/09 22:36:54 Done.
35 }
36
32 tabs > [selected] { 37 tabs > [selected] {
33 -webkit-transition: none; 38 -webkit-transition: none;
34 background: white; 39 background: white;
35 border-color: rgb(160, 160, 160); 40 border-color: rgb(160, 160, 160);
36 margin-bottom: -1px; 41 margin-bottom: -1px;
37 position: relative; 42 position: relative;
38 z-index: 0; 43 z-index: 0;
39 } 44 }
40 45
41 tabs:focus { 46 tabs:focus {
42 outline: none; 47 outline: none;
43 } 48 }
44 49
45 html.focus-outline-visible tabs:focus > [selected] { 50 html.focus-outline-visible tabs:focus > [selected] {
46 outline: 5px auto -webkit-focus-ring-color; 51 outline: 5px auto -webkit-focus-ring-color;
47 outline-offset: -2px; 52 outline-offset: -2px;
48 } 53 }
49 54
50 tabpanels { 55 tabpanels {
51 -webkit-box-flex: 1; 56 -webkit-box-flex: 1;
52 background: white; 57 background: white;
53 box-shadow: 2px 2px 5px rgba(0, 0, 0, .2); 58 box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
54 border: 1px solid rgb(160, 160, 160);
55 border-top: 0;
56 display: -webkit-box; 59 display: -webkit-box;
57 padding: 5px; 60 padding: 5px;
58 } 61 }
59 62
60 tabpanels > * { 63 tabpanels > * {
61 -webkit-box-flex: 1; 64 -webkit-box-flex: 1;
62 display: none; 65 display: none;
63 } 66 }
64 67
65 tabpanels > [selected] { 68 tabpanels > [selected] {
66 display: block; 69 display: block;
67 } 70 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/certificate_viewer.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698