aboutsummaryrefslogtreecommitdiff
path: root/webgui/data/style.css
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-02-24 04:18:03 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2016-02-24 04:18:03 +0000
commitc09c2786d0654f144dab103292c47411ff1afa9a (patch)
tree9a49cf5c1a0502ef7382bb54312097c375666ced /webgui/data/style.css
parentc1451ffcbc021e4f25721541538173f24be8f3cc (diff)
downloadthermoprint-c09c2786d0654f144dab103292c47411ff1afa9a.tar
thermoprint-c09c2786d0654f144dab103292c47411ff1afa9a.tar.gz
thermoprint-c09c2786d0654f144dab103292c47411ff1afa9a.tar.bz2
thermoprint-c09c2786d0654f144dab103292c47411ff1afa9a.tar.xz
thermoprint-c09c2786d0654f144dab103292c47411ff1afa9a.zip
Partial GUI prototype
Diffstat (limited to 'webgui/data/style.css')
-rw-r--r--webgui/data/style.css159
1 files changed, 159 insertions, 0 deletions
diff --git a/webgui/data/style.css b/webgui/data/style.css
new file mode 100644
index 0000000..53ddb7a
--- /dev/null
+++ b/webgui/data/style.css
@@ -0,0 +1,159 @@
1.table { display: table; }
2.tr { display: table-row; }
3.tc { display: table-cell; }
4
5.table .table, table .table, .table table, table table { width:100%; height:100%; }
6
7.fatal {
8 z-index:-1;
9 position:fixed;
10 top:50%;
11 left:50%;
12 transform: translate(-50%, -50%);
13 background-color:#fdd;
14 border:2px solid #c00;
15 text-align:center;
16 vertical-align:center;
17 padding:1em;
18 font-weight:600;
19}
20
21h1 {
22 font-size:1.5em;
23 font-weight:normal;
24 text-align:center;
25}
26
27thead td {
28 font-size:1em;
29 font-weight:600;
30 text-align:center;
31}
32
33thead tr:last-child {
34 padding-bottom:0.125em;
35 border-bottom:1px solid #ddd;
36 margin-bottom:0.125em;
37}
38
39.editorButtonContainer {
40 text-align:center;
41}
42
43.editorButton {
44 display:inline-block;
45 width:8em;
46}
47
48#editorTitle {
49 width:100%;
50 box-sizing:border-box;
51 margin:0 0 0.25em 0;
52}
53
54#editorText {
55 width:100%;
56 box-sizing:border-box;
57 margin:0 0 0.25em 0;
58 resize:vertical;
59 min-height:25em;
60}
61
62#editorStatus {
63 display:block;
64 margin:0 0 0.25em 0;
65 font-size:0.75em;
66}
67
68#editorStatus:after {
69 display:block;
70 clear:both;
71 content:'';
72}
73
74#bbcodeStatus {
75 display:block;
76 margin:0 0 0.25em 0;
77 font-size:0.75em;
78 float:right;
79 color:#c00000;
80}
81
82/*----- Tabs -----*/
83.tabs {
84 display:block;
85 width:98%;
86 min-height:98%;
87 position:absolute;
88 left:1%;
89 top:1%;
90}
91
92/*----- Tab Links -----*/
93.tab-links {
94 display:block;
95 height:2.2em;
96 margin:0;
97 padding:0 0.5em;
98 z-index:0;
99}
100
101/* Clearfix */
102.tab-links:after {
103 display:block;
104 clear:both;
105 content:'';
106}
107
108.tab-links li {
109 margin:0px 0.5em;
110 float:left;
111 list-style:none;
112}
113
114.tab-links a {
115 padding:0.5em 1em;
116 display:inline-block;
117 border-radius:3px 3px 0px 0px;
118 background:#fff;
119 font-size:1em;
120 font-weight:600;
121 color:#4c4c4c;
122 transition:all linear 0.15s;
123}
124
125.tab-links a:hover {
126 text-decoration:none;
127}
128
129li.active a, li.active a:hover {
130 background:#f0f0f0;
131 color:#4c4c4c;
132 text-decoration:none;
133 }
134
135#errors-tab a {
136 color:#c00000;
137}
138
139/*----- Content of Tabs -----*/
140.tab-content {
141 padding:0.5em;
142 border:1px solid #ddd;
143 border-radius:3px;
144 box-shadow:-1px 1px 1px rgba(0,0,0,0.15);
145 background:#fff;
146 box-sizing:border-box;
147 width:100%;
148 z-index:1;
149 margin-top:-1px;
150 margin-bottom:1%;
151}
152
153.tab {
154 display:none;
155}
156
157.tab.active {
158 display:block;
159} \ No newline at end of file