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

Side by Side Diff: bower_components/gif.js/site/contents/styles/main.less

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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
(Empty)
1
2 @import 'vendor/reset';
3 @import 'vendor/elements';
4
5 @background: #d4d4d4;
6 @text: #131313;
7
8 html, body {
9 min-height: 100%;
10 }
11
12 body {
13 font-family: 'Helvetica Neue', Helvetica, sans-serif;
14 font-size: 21px;
15 color: @text;
16 margin: 0;
17 .gradient(@background, @background, lighten(@background, 20%));
18 }
19
20 h1 {
21 font-size: 2.6em;
22 margin-bottom: 0.5em;
23 }
24
25 p {
26 margin-bottom: 1em;
27 }
28
29 h2 {
30 font-size: 1.6em;
31 margin-bottom: 0.8em;
32 margin-top: 1.2em;
33 }
34
35 header {
36 padding-top: 1em;
37 h1 {
38 overflow: hidden;
39 text-indent: -100%;
40 background: url(../images/logo.gif);
41 width: 600px;
42 height: 288px;
43 }
44 }
45
46 footer {
47 text-align: center;
48 font-size: 0.8em;
49 padding: 10em 1em 1em;
50 font-style: italic;
51 &, a {
52 text-decoration: none;
53 color: #505050;
54 }
55 }
56
57 header, footer, .wrap {
58 width: 600px;
59 margin: 0 auto;
60 }
61
62 .demo, .demo pre {
63 font-family: Menlo, monospace;
64 font-size: 18px;
65 }
66
67 .demo {
68 position: relative;
69 background: #fff;
70 width: 600px;
71 margin: 0 auto;
72 box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
73 margin-bottom: 2em;
74 .hover-buttons {
75 position: absolute;
76 top: 0;
77 right: 0;
78 li {
79 font-size: 14px;
80 opacity: 0.6;
81 background: #000;
82 background: rgba(0, 0, 0, 0.4);
83 color: #fff;
84 float: left;
85 padding: 10px 12px 9px;
86 border-bottom-right-radius: 4px;
87 border-bottom-left-radius: 4px;
88 margin-right: 10px;
89 cursor: default;
90 &:hover {
91 opacity: 1;
92 }
93 }
94 }
95 .images {
96 height: 392px;
97 img {
98 display: none;
99 position: absolute;
100 top: 0;
101 left: 0;
102 width: 600px;
103 height: 392px;
104 &.render {
105 display: block;
106 background: #fff url(../images/loading.gif) no-repeat center center;
107 }
108 }
109 }
110
111 &.original .images img.original {
112 display: block;
113 }
114 &.reference .images img.reference {
115 display: block;
116 }
117
118 .controls {
119 padding: 10px;
120 p {
121 line-height: 1.3;
122 margin: 0;
123 }
124 label {
125 display: inline-block;
126 min-width: 80px;
127 }
128 pre {
129 margin-top: 10px;
130 }
131
132 }
133 }
134
135 /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
136 .tomorrow-comment, pre .comment, pre .title {
137 color: #8e908c;
138 }
139
140 .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby . constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doct ype, pre .css .id, pre .css .class, pre .css .pseudo {
141 color: #c82829;
142 }
143
144 .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, p re .params, pre .constant {
145 color: #f5871f;
146 }
147
148 .tomorrow-yellow, pre .ruby .class .title, pre .css .rules .attribute {
149 color: #eab700;
150 }
151
152 .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ru by .symbol, pre .xml .cdata {
153 color: #718c00;
154 }
155
156 .tomorrow-aqua, pre .css .hexcolor {
157 color: #3e999f;
158 }
159
160 .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre . ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascrip t .title, pre .coffeescript .title {
161 color: #4271ae;
162 }
163
164 .tomorrow-purple, pre .keyword, pre .javascript .function {
165 color: #8959a8;
166 }
167
168 pre code {
169 display: block;
170 background: white;
171 color: #4d4d4c;
172 padding: 0.5em;
173 }
174
175 pre.src code {
176 font-size: 0.7em;
177 overflow: auto;
178 }
179
180 pre .coffeescript .javascript,
181 pre .javascript .xml,
182 pre .tex .formula,
183 pre .xml .javascript,
184 pre .xml .vbscript,
185 pre .xml .css,
186 pre .xml .cdata {
187 opacity: 0.5;
188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698