summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_tab_theme.css
blob: 39d9f321f50e642f26e6bebdad4123076216fcd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
html {
  background-image: url(chrome://theme/theme_ntp_background?$1);
  background-color: $2; /* COLOR_NTP_BACKGROUND */
  background-position: $3;
  background-repeat: $5;
  overflow: hidden;
}

html[bookmarkbarattached='true'] {
  background-position: $4;
}

body {
  color: $8; /* COLOR_NTP_TEXT */
  height: 100%;
  overflow: auto;
}

#main {
  background: url(chrome://theme/product_logo?$1) no-repeat 0 8px;
}

.thumbnail {
  border-color: $$1; /* COLOR_NTP_SECTION */
}

.thumbnail-container,
.thumbnail-container > .title {
  color: $8; /* COLOR_NTP_TEXT */
}

.list > .thumbnail-container > .title {
  color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
}

.list > .thumbnail-container > .title > div,
.list .title > div {
  color: $9; /* COLOR_NTP_LINK */
}

.thumbnail-container:focus .thumbnail,
.thumbnail-container:hover .thumbnail {
  border-color: $6; /* COLOR_NTP_HEADER */
}

.thumbnail-container:focus .edit-bar,
.thumbnail-container:hover .edit-bar {
  background-color: $6; /* COLOR_NTP_HEADER */
  background-image: -webkit-gradient(linear, left top, left bottom,
                                     from($7), /* color_header_gradient_light */
                                     to($6)); /* COLOR_NTP_HEADER */
}
.thumbnail-container:hover > .edit-mode-border {
  background-color: $6; /* COLOR_NTP_HEADER */
}

#option-button {
  background-color: $7; /* color_header_gradient_light */
  -webkit-mask-image: url(chrome://theme/newtab_menu_mask);
}

#option-menu > [selected] {
  background-color: $7; /* color_header_gradient_light */
  color: white;
}

#recently-closed {
  color: $$3; /* COLOR_NTP_SECTION_TEXT */
}

#recently-closed > span > span {
  color: $$7; /* COLOR_NTP_SECTION_LINK_UNDERLINE */
  text-decoration: underline;
}

#recently-closed > span > span > .item {
  color: $$4; /* COLOR_NTP_SECTION_LINK */
  text-decoration: none;
}

#attribution {
  display: $$5;
  color: $9; /* COLOR_NTP_LINK */
  text-align: right;
}

#tip-line {
  color: $8; /* COLOR_NTP_TEXT */
}

.link-color {
  color: $9; /* COLOR_NTP_LINK */
}

:link,
:visited,
.link,
.list > .thumbnail-container {
  color: $$6; /* COLOR_NTP_LINK_UNDERLINE */
}

#promo-line {
  display: $$9;
}

#bottom-right-promo {
  display: $$8;
}

#top-bar {
  border-bottom: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */
}

.section {
  border-top: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */
  border-bottom: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */
}

.section.hidden + :not(.hidden) {
  border-top: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */;
}

.section.hidden + .hidden > h2 {
  border-left: 1px solid $$2; /* COLOR_NTP_SECTION_BORDER */
}

.section > h2 {
  color: $6; /* COLOR_NTP_HEADER */
}

#apps-section a:hover {
  background-color: $$1; /* COLOR_NTP_SECTION */;
}