UNPKG

4.51 kBCSSView Raw
1@font-face {
2 font-family: 'logo';
3 src: url('http://at.alicdn.com/t/font_1390195988_9420388.eot'); /* IE9*/
4 src: url('http://at.alicdn.com/t/font_1390195988_9420388.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
5 url('http://at.alicdn.com/t/font_1390195989_0386753.woff') format('woff'), /* chrome、firefox */
6 url('http://at.alicdn.com/t/font_1390195988_7969282.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
7 url('http://at.alicdn.com/t/font_1390195989_0668917.svg#svgFontName') format('svg'); /* iOS 4.1- */
8}
9
10.iconlogo {
11 font-family: "logo";
12 font-size: 60px;
13 font-style: normal;
14 font-weight: normal;
15 font-variant: normal;
16 display: inline-block;
17 speak: none;
18 -webkit-font-smoothing: antialiased;
19 -moz-osx-font-smoothing: grayscale;
20 color: #08C;
21}
22
23html {
24 font-size: 62.5%;
25 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
26}
27
28body {
29 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
30 font-size: 13px;
31 line-height: 1.428571429;
32 color: #333333;
33 background-color: #ffffff;
34 margin: 0;
35}
36
37.pull-left {
38 float: left !important;
39}
40
41/**/
42.header {
43 width: 100%;
44 height: 44px;
45 background: #4679BD;
46}
47
48.header > .brand {
49 float: left;
50 height: 100%;
51 /*display: none;*/
52}
53
54.header > .brand > .logo {
55 float: left;
56 height: 100%;
57 overflow: hidden;
58 padding: 0 10px;
59 line-height: 44px;
60 vertical-align: middle;
61 /*display: none;*/
62}
63
64.header > .brand > .logo .iconlogo {
65 font-size: 40px;
66 color: #FFF;
67}
68
69.header > .brand > .name {
70 float: left;
71 line-height: 44px;
72 vertical-align: middle;
73 font-family: monospace, serif;
74 font-size: 22px;
75 color: #FFF;
76 width: 100px;
77 margin: auto 10px;
78 text-align: center;
79 display: none;
80}
81
82.header > .nav {
83 padding-left: 0;
84 margin-top: 0;
85 margin-bottom: 0;
86 list-style: none;
87 height: 100%;
88}
89.header > .nav > li {
90 float: left;
91 height: 100%;
92 margin-right: 1px;
93}
94.header > .nav > li > a {
95 outline: 0;
96 display: block;
97 outline: none;
98 text-decoration: none;
99 color: #fff;
100 /*background-color: #4072B4;*/
101 background: rgba(0, 0, 0, 0.2);
102 padding: 0px 10px;
103 /*width: 100px;*/
104 line-height: 44px;
105 padding: 0 20px;
106 vertical-align: middle;
107 text-align: center;
108}
109
110.header .navbar-right {
111 float: right !important;
112}
113
114/**/
115.viewport {
116 width: 100%;
117 height: 100%;
118 background-color: #F6F6F6;
119
120 transition: opacity .4s;
121 -moz-transition: opacity .4s;
122 -webkit-transition: opacity .4s;
123 -o-transition: opacity .4s;
124 -ms-transition: opacity .4s;
125 -webkit-transform: translateZ(0);
126 -moz-transform: translateZ(0);
127 opacity: 0;
128}
129
130.viewport .box {
131 position: relative;
132 width: 50%;
133 height: 100%;
134 box-sizing: border-box;
135 border: 1px solid #C0C0C0;
136 box-shadow: inset 0 1px 2px #E4E4E4;
137}
138
139.viewport .sidebar {
140 display: none;
141 width: 30%;
142 height: 100%;
143}
144
145.viewport .sidebar .help,
146.viewport .sidebar .about,
147.viewport .sidebar .account {
148 width: 100%;
149 height: 100%;
150 overflow: auto;
151 display: none;
152}
153
154.viewport .sidebar .content {
155 padding: 10px;
156 /*color: #FFF;*/
157}
158
159.viewport .box,
160.viewport .sidebar {
161 -webkit-transition: all 0.2s ease-out;
162 -moz-transition: all 0.2s ease-out;
163 -o-transition: all 0.2s ease-out;
164 transition: all 0.2s ease-out;
165}
166
167.viewport textarea {
168 width: 100%;
169 height: 100%;
170 overflow: auto;
171 vertical-align: top;
172 font-family: monospace, serif;
173 font-size: 100%;
174 margin: 0px;
175 border: 0px;
176 padding: 0px;
177 opacity: 0.8;
178}
179
180.viewport .badge {
181 position: absolute;
182 right: 15px;
183 top: 15px;
184 padding: 3px 7px;
185 font-size: 12px;
186 font-weight: bold;
187 line-height: 1.5;
188 color: #FFF;
189 text-align: center;
190 white-space: nowrap;
191 vertical-align: baseline;
192 background-color: #0090FF;
193 border-radius: 16px;
194 z-index: 2;
195}
196
197.viewport-sidebar .box {
198 width: 35%;
199}
200
201.viewport-sidebar .sidebar {
202 display: block;
203}
204
205.viewport-help > .sidebar > .help,
206.viewport-about > .sidebar > .about,
207.viewport-account > .sidebar > .account {
208 display: block;
209}
210
211/**/
212.CodeMirror {
213 height: 100%;
214}
215
216
217
218
219
220
221/*.pre {
222 white-space: pre-wrap;
223 font-family: monospace, serif;
224 font-size: 1em;
225}
226
227.save,
228.update,
229.tidy,
230.share {
231 width: 75px;
232}
233
234.badge {
235 color: #FFF;
236 background-color: #428BCA;
237
238}*/
\No newline at end of file