source: gs3-extensions/tabletop-dl/trunk/tabletop.css@ 37466

Last change on this file since 37466 was 37466, checked in by davidb, 14 months ago

Added in text window that can be zoomed and dragged

File size: 2.1 KB
Line 
1:root {
2 --gs-fg-primary-col: #fff;
3 --gs-bg-primary-col: #29e;
4}
5
6
7html {
8 background: #102010 url(backgrounds/unsplash--dark-green-fern--overview.jpg) no-repeat center center fixed;
9 background-size: cover;
10}
11
12html, body {
13 overflow: hidden;
14 height: 100%;
15 width: 100%;
16 margin: 0;
17 padding: 0;
18 border: 0;
19}
20
21body {
22 font-family: Helvetica, Arial, "Open Sans", OpenSans, sans-serif;
23 color: var(--gs-fg-primary-col);
24}
25
26
27
28.box {
29 display: flex;
30 flex-flow: column;
31 height: 100%;
32}
33
34/* construction lines to help show what is going on */
35/*
36.box .row {
37 border: 1px dotted #0313fc;
38}
39*/
40
41.box .row.header {
42 flex: 0 1 auto;
43}
44
45.box .row.content {
46 flex: 1 1 auto;
47}
48
49.box .row.footer {
50 flex: 0 1 40px;
51}
52
53#gs-header {
54 height: 2.5rem;
55 color: var(--gs-fg-primary-col);
56 background: linear-gradient(to right, rgba(13, 17, 22, 0.64), rgba(17, 21, 28, 0.64));
57 text-align: center;
58}
59
60#gs-open-home {
61 position: absolute;
62 left: 10px;
63 bottom: 10px;
64 background-color: var(--gs-bg-primary-col);
65}
66
67
68/*
69#fixed-height {
70 height: 40px;
71 color: white;
72 background: linear-gradient(to right, rgba(13, 17, 22, 0.64), rgba(17, 21, 28, 0.64));
73 text-align: center;
74}
75
76#remaining-height {
77 overflow: hidden;
78 position: absolute;
79 top: 40px;
80 bottom: 0;
81 width: 100%;
82}
83*/
84
85
86.info-window {
87 min-height: 6.5em;
88 margin: 0.5em;
89
90 background-color: var(--gs-bg-primary-col);
91 color: var(--gs-fg-primary-col);
92
93 font-size: 1.2rem;
94
95 border-radius: 0.6em;
96 padding: 1em;
97
98 touch-action: none;
99 user-select: none;
100 transform: translate(0px, 0px);
101
102 /* This makes things *much* easier */
103 box-sizing: border-box;
104
105}
106
107/* currently nothing specific for resize-drag that info-window does already do */
108/*
109.resize-drag {
110}
111*/
112
113
114#scale-element {
115 display: block;
116 max-width: 100%;
117 margin: 1rem auto;
118 touch-action: none;
119}
120
121
122.button {
123 display: inline-block;
124 background-color: var(--gs-bg-primary-col);
125 color: var(--gs-fg-primary-col);;
126 width: auto;
127 border-radius: 10px;
128 padding: 15px 25px;
129 cursor: pointer;
130}
Note: See TracBrowser for help on using the repository browser.