-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdivjot.css
166 lines (143 loc) · 2.53 KB
/
divjot.css
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
153
154
155
156
157
158
159
160
161
162
163
164
165
/* Copyright by Brett Fraley 2016 */
html {
font-size:100%;
height:100%;
margin:0;
padding:0;
}
body {
width:100%;
height:100%;
margin:0;
padding:0;
}
/* The divjot UI container. */
#divjot-wrapper {
min-width:440px;
max-width:98%;
max-height:98%;
position:fixed;
left:15px;
bottom:15px;
padding:9px;
z-index:1;
overflow:auto;
opacity:0.9;
white-space:nowrap;
text-align:center;
font-family:monospace;
font-size:1em;
background-color:#fff;
color:#222;
border:solid 1px #ccc;
border-bottom:solid 1px #000;
border-radius:7px;
}
.top-ui-section {
width:98%;
margin:0px auto;
text-align:left;
}
.top-ui-section input {
border:solid 1px #999;
border-radius:25px;
color:#333;
display:inline-block;
padding:5px;
margin:0px 15px;
}
#divjot-menu {
width:100%;
height:20px;
padding:5px;
border:solid 1px;
color: #333;
list-style:none;
}
#divjot-menu ul li {
display:inline-block;
}
/* Each of the editor textareas. */
.divjot-editors {
min-width:250px;
min-height:250px;
max-height:75%;
max-width:700px;
padding:3px;
display:inline-block;
overflow:auto;
opacity:0.8;
border-radius:7px;
border:solid 1px #ccc;
font-size:10pt;
letter-spacing:0.05em;
}
/* Eliminate default input focus outline. */
.top-ui-section input:focus, .divjot-editors:focus, .control-buttons:focus {
outline: none !important;
border:solid 1px #008fcc;
}
#divjot-html {
}
#divjot-css {
background-color:#EEE;
max-width:520px;
}
#divjot-js {
font-family:monospace;
font-weight:500;
background-color:#555;
color:#FFF;
}
/* A section element, parent to all editor textareas. */
.editor-section {
margin:5px auto;
width:98%;
overflow:auto;
padding:9px;
border-radius:7px;
}
/* UI controls. */
.divjot-controls {
text-align:center; /* All that's needed for now until it holds more elements. */
}
#opacity-control {
width:100px;
background-color:#ddd;
color:#000;
padding:3px;
border-radius:3px;
height:7px;
border:solid 1px #ddd;
}
.control-buttons {
width:40px;
padding:3px;
border:solid 1px;
opacity:0.8;
border-radius:3px;
border:solid 1px #ddd;
margin-bottom:5px;
letter-spacing:0.06em;
font-weight:700;
}
.control-buttons:hover {
opacity:1;
background-color:#EEE;
}
#dark-button {
background-color:#333;
color:#FFF;
}
#light-button {
background-color:#FFF;
color:#000;
display:none;
}
#run-button {
margin-left:25px;
width:80px;
padding:5px;
font-weight:500;
letter-spacing:0.2em;
}