Repository navigation
Expand file tree
/
Copy pathdemo.css
More file actions
152 lines (131 loc) · 7.42 KB
/
Copy pathdemo.css
File metadata and controls
152 lines (131 loc) · 7.42 KB
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
149
150
151
152
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}
html {background-color: #222; font-family: georgia, sans-serif; font-size: 14px; line-height: 1.4;}
#stage {overflow: hidden; width: 100%; padding: 20px 0; background-color: #f2f2f2; color: #333;}
#preview {padding: 20px; background-color: #fff; border: 1px solid #ccc;}
#preview {margin-left: 290px; margin-right: 20px; max-width: 600px;}
.sideburn img {max-width: 100%; height: auto;}
#documentation {border-top: 5px solid #ccc; padding: 20px; background-color: #555; color: #eee; font-size: 14px; line-height: 1.4;}
#documentation > * {max-width: 600px;}
#documentation h1 {display: inline-block; font-size: 14px; border-bottom: 2px solid #ccc; text-transform: uppercase;}
#documentation h2 {font-size: 16px; margin-top: 20px;}
#documentation h3 {margin: 20px 0 10px; color: #fc0;}
#documentation h4 {margin-top: 10px; color: #fff; display: inline-block; border-bottom: 2px solid #fff;}
#documentation p {margin: 10px 0;}
#documentation ul {margin-left: 30px; list-style-type: square;}
#documentation li + li {margin-top: 5px;}
#documentation a {color: #fff;}
#documentation code,
#documentation pre.code {background-color: #222; color: #fff; font-family: monospace;}
#documentation code {padding: 1px 3px; font-size: 12px;}
#documentation pre.code {padding: 10px; font-size: 13px;}
hr {border: none; height: 0; border-top: 1px solid #ccc; margin: 1em 0;}
#documentation hr {border-top: 2px solid #aaa;}
a {color: blue;}
p.footer {margin-top: 20px;}
/* ---- */
/* TODO: move to javascript */
ul.sideburn {list-style-type: none; margin: 0; padding: 0;}
ul.sideburn li {margin: 0; padding: 0; display: block;}
ul.sideburn img {display: block;}
/*.sideburn-wrap {margin: 20px 0;}*/
.sideburn-nav {font-size: 12px;}
.sideburn-nav .previous,
.sideburn-nav .next,
.sideburn-nav .all,
.sideburn-nav .one,
.sideburn-nav .jump,
.sideburn-nav .thumbnails img {cursor: pointer;}
.sideburn-nav-above {padding-bottom: 10px}
.sideburn-nav-below {padding-top: 10px}
.sideburn-nav-next {text-align: right;}
.sideburn-nav-jump {text-align: center; font-size: 14px;}
.sideburn-nav .previous,
.sideburn-nav .next,
.sideburn-nav .all,
.sideburn-nav .one {text-decoration: underline;}
.sideburn-nav .jump {color: #999;}
.sideburn-nav .selected {color: #000; font-weight: bold;}
.sideburn-nav .all {display: inline;}
.sideburn-nav .one {display: none;}
.sideburn-nav-all .all {display: none;}
.sideburn-nav-all .one {display: inline;}
.sideburn-loading .sideburn-nav {display: none;}
.sideburn-loader {background-color: #f8f8f8; display: none; text-align: center; color: #666; padding: 20px 0; border-radius: 5px;}
.sideburn-loading .sideburn-loader {display: block;}
.sideburn-nav ul.thumbnails {list-style-type: none; margin: 0; padding: 0; text-align: center;}
.sideburn-nav ul.thumbnails li {display: inline-block; margin: 0 5px; padding: 0; opacity: 0.3;}
.sideburn-nav ul.thumbnails img {display: block; width: auto; height: 40px;}
.sideburn-nav ul.thumbnails li.selected {opacity: 1;}
.sideburn h1,
.sideburn p {margin-bottom: 20px;}
#sideburnsettings {font-family: 'Lucida Grande',Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 18px;}
#sideburnsettings {float: left; padding: 20px; width: 250px; background-color: #f2f2f2; color: #333;}
#sideburnsettings h1 {color: #000; margin: 0; padding: 0; font-size: 12px; line-height: 20px; margin-bottom: 10px;}
.field {position: relative;}
.textfield input[type=text] {width: 100px; position: absolute; top: 0; right: 0;}
.optionsfield .options {position: absolute; top: 0; right: 0;}
.optionsfield input[type=radio] {vertical-align: middle;}
.selectfield select {position: absolute; top: 0; right: 0;}
.field + .field,
.field + .group {margin-top: 10px;}
#shufflefield {display: none;} /* still unimplemented */
#nextgroup, #jumpgroup, #allgroup, #intervalfield, #totalseparatorfield {display: none;}
.withnext #nextgroup,
.withjump #jumpgroup,
.withall #allgroup,
.withinterval #intervalfield,
.withtotalseparator #totalseparatorfield {display: block;}
.withoutnavseparator #navstylefield {display: none;}
.sliderwrap {width: 180px; text-align: right; position: absolute; top: 0; right: 0;}
.slider {float: left; width: 125px; height: 4px; background-color: #777; position: relative; margin: 0 5px;}
.slider {border-top: 7px solid #f2f2f2; border-bottom: 7px solid #f2f2f2; vertical-align: top;}
.ui-slider-handle {width: 12px; height: 12px; background-color: #777; position: absolute; top: -4px; margin-left: -6px; border-radius: 3px;}
.ui-slider-handle {box-shadow: 1px 1px 1px #333;}
.ui-slider-handle:focus {outline: 0; background-color: #aaa;}
.valuewrap {display: inline-block;}
#sideburnsettings .codeblocks {margin-top: 10px;}
#sideburnsettings .code {background-color: #fff; padding: 5px; margin: 0; margin-top: 5px; width: 235px; height: 200px;}
#sideburnsettings .toggle {margin-top: 10px; text-decoration: underline; color: #000; cursor: pointer;}
#sideburnsettings .toggle + .code {display: none;}
ul.tabs {display: block; margin: 0 0 20px 0; padding: 0; border-bottom: solid 1px #ddd; list-style: none outside; height: 30px;}
ul.tabs li {display: block; width: auto; height: 30px; padding: 0; float: left; margin-bottom: 0; line-height: 18px;}
ul.tabs li a {color: #333; display: block; text-decoration: none; width: auto; height: 29px; padding: 0px 20px; line-height: 30px; border: solid 1px #ddd; border-width: 1px 1px 0 0; margin: 0; background: #f5f5f5; font-size: 13px;}
ul.tabs li a.active {color: #000; background: #fff; height: 30px; position: relative; top: -4px; padding-top: 4px; border-left-width: 1px; margin: 0 0 0 -1px; color: #111; -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; border-top-left-radius: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; border-top-right-radius: 2px;}
ul.tabs li:first-child a.active {margin-left: 0;}
ul.tabs li:first-child a {border-width: 1px 1px 0 1px; -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; border-top-left-radius: 2px;}
ul.tabs li:last-child a {-moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; border-top-right-radius: 2px;}
ul.tabs-content {margin: 0; display: block;}
ul.tabs-content > li {display: none;}
ul.tabs-content > li.active {display: block;}
/* Clearfixing tabs for beautiful stacking */
ul.tabs:before,
ul.tabs:after {content: '\0020'; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0;}
ul.tabs:after {clear: both;}
ul.tabs {zoom: 1;}
@media (max-width: 640px) {
#sideburnsettings {float: none;}
.preview {margin-left: 0; margin-right: 0; border: none;}
}