summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/new_tab_theme.css
blob: e2add06f663b154b3e104cd40c0845f9a8070225 (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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
html,
.section > h2 span,
#most-visited-settings {
  background-attachment: fixed;
  background-color: $2; /* COLOR_NTP_BACKGROUND */
  background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
  background-position: $3;
  background-repeat: $5;
}

html[bookmarkbarattached='true'],
html[bookmarkbarattached='true'] .section > h2 span,
html[bookmarkbarattached='true'] #most-visited-settings {
  background-position: $4;
}

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

/* TODO(aa): Is this still in use? The styling may be incorrect with M7 NTP
   rework. */
#notification.first-run {
  background-color: $$1; /* COLOR_NTP_SECTION */
  border-color: $$2; /* COLOR_NTP_SECTION_BORDER */
}

#notification.first-run .link {
   color: $$5; /* COLOR_NTP_LINK_UNDERLINE */
}

#notification.first-run .link-color {
  color: $9; /* COLOR_NTP_LINK */
}

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

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

.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-linear-gradient(
                        $7, /* COLOR_HEADER_GRADIENT_LIGHT */
                        $6); /* COLOR_NTP_HEADER */
}
.thumbnail-container:hover > .edit-mode-border {
  background-color: $6; /* COLOR_NTP_HEADER */
}

.filler .thumbnail-wrapper {
  border: 3px solid $$1; /* COLOR_NTP_SECTION */
  background-color: $2; /* COLOR_NTP_BACKGROUND */
}

.filler .thumbnail {
  border: 1px solid $2; /* COLOR_NTP_BACKGROUND */
  background-color: $$1; /* COLOR_NTP_SECTION */
}

.miniview {
  color: $8; /* COLOR_NTP_TEXT */
}

.miniview > span {
  color: $$5; /* COLOR_NTP_LINK_UNDERLINE */
  text-decoration: underline;
}

.miniview > span > .item {
  color: $9; /* COLOR_NTP_LINK */
  text-decoration: none;
}

#attribution {
  color: $9; /* COLOR_NTP_LINK */
}

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

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

:link,
:visited,
.link {
  color: $$5; /* COLOR_NTP_LINK_UNDERLINE */
}

.section > h2,
#closed-sections-bar > button {
  color: $$7; /* COLOR_NTP_SECTION_HEADER_TEXT */
}

.section:not(.hidden) > h2 {
  color: $$8; /* COLOR_NTP_SECTION_HEADER_TEXT_HOVER */
}

.section.hidden:not([noexpand]) > h2:hover,
#closed-sections-bar > button:hover {
  color: $$8; /* COLOR_NTP_SECTION_HEADER_TEXT_HOVER */
}

.section > h2 .back,
#closed-sections-bar[chromeos] {
  border-top: 1px solid $$1; /* COLOR_NTP_SECTION  */
}

.section.hidden > h2 .back {
  background: none;
  border-color-top: $$$1; /* COLOR_NTP_SECTION_HEADER_RULE_LIGHT */
}

.section.hidden:hover > h2 .back {
  border-color-top: $$9; /* COLOR_NTP_SECTION_HEADER_RULE */
}

.app a {
  color: $8; /* COLOR_NTP_TEXT */
}

.app:hover > a {
  color: $$3; /* COLOR_NTP_SECTION_TEXT */
  background-color: $$1; /* COLOR_NTP_SECTION */;
}

#apps-promo-hide {
  color: $9; /* COLOR_NTP_LINK */
}

#apps-promo-text2 {
  color: $$$3; /* COLOR_NTP_TEXT_LIGHT */
}