summaryrefslogtreecommitdiff
path: root/blockly/demos/blocklyfactory/workspacefactory/style.css
blob: 3acb32165373d877637d746d42cc8080a172f2ca (plain)
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
body {
  background-color: #fff;
  font-family: sans-serif;
}

h1 {
  font-weight: normal;
  font-size: 140%;
}

section {
  float: left;
}

aside {
  float: right;
}

#categoryTable>table {
  border: 1px solid #ccc;
  border-bottom: none;
}

#workspaceTabs>table {
  float: right;
}

td.tabon {
  border-bottom-color: #ddd !important;
  background-color: #ddd;
  padding: 5px 19px;
}

td.taboff {
  cursor: pointer;
  padding: 5px 19px;
}

td.taboff:hover {
  background-color: #eee;
}

button {
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #eee;
  color: #000;
  font-size: large;
  margin: 0 5px;
  padding: 10px;
}

button:hover:not(:disabled) {
  box-shadow: 2px 2px 5px #888;
}

button:disabled {
  opacity: .6;
}

button>* {
  opacity: .6;
  vertical-align: text-bottom;
}

button:hover:not(:disabled)>* {
  opacity: 1;
}

button.small {
  font-size: small;
}

table {
  border: none;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

td {
  padding: 0;
  vertical-align: top;
}

.inputfile {
  height: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
  z-index: -1;
}

#toolbox_section {
  height: 480px;
  width: 80%;
  position: relative;
}

#toolbox_blocks {
  height: 100%;
  width: 100%;
}

#preview_blocks {
  height: 300px;
  width: 100%;
}

#createDiv {
  width: 70%;
}

#previewDiv {
  width: 30%;
}

#toolbox_div {
  width: 20%;
}

#preload_div {
  width: 20%;
}

#disable_div {
  background-color: white;
  height: 100%;
  left: 0;
  opacity: .5;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;  /* Start behind workspace */
}

/* Rules for Closure popup color picker */
.goog-palette {
  outline: none;
  cursor: default;
}

.goog-palette-cell {
  height: 13px;
  width: 15px;
  margin: 0;
  border: 0;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #000000;
  font-size: 1px;
}

.goog-palette-colorswatch {
  border: 1px solid #000000;
  height: 13px;
  position: relative;
  width: 15px;
}

.goog-palette-cell-hover .goog-palette-colorswatch {
  border: 1px solid #FFF;
}

.goog-palette-cell-selected .goog-palette-colorswatch {
  border: 1px solid #000;
  color: #fff;
}

.goog-palette-table {
  border: 1px solid #000;
  border-collapse: collapse;
}

.goog-popupcolorpicker {
  position: absolute;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,.2);
  display: none;
  min-width: 170px;
  opacity: 1;
  position: absolute;
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a, .dropdown-content label {
  color: black;
  display: block;
  font-size: small;
  padding: 12px 16px;
  text-decoration: none;
}

/* Change color of dropdown links on hover. */
.dropdown-content a:hover, .dropdown-content label:hover {
  background-color: #f1f1f1
}

/* Show the dropdown menu */
.show {
  display: block;
}

.shadowBlock>.blocklyPath {
  fill-opacity: .5;
  stroke-opacity: .5;
}

.shadowBlock>.blocklyPathLight,
.shadowBlock>.blocklyPathDark {
  display: none;
}