forked from jscad/OpenJSCAD.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenjscad.css
More file actions
135 lines (113 loc) · 2.52 KB
/
openjscad.css
File metadata and controls
135 lines (113 loc) · 2.52 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
/* openjscad.css, originally written by Joost Nieuwenhuijse
* few changes made by Rene K. Mueller for OpenSCAD.org
*/
#filedropzone {
border: 2px dashed #bbb;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 15px;
color: black;
width: 100%;
background: #fff;
margin-top: 0.5em;
}
#filedropzone_empty {
text-align: center;
color: #888;
}
#filedropzone_filled {
color: black;
display: none;
}
#filebuttons {
/* float: right; */
margin-left: 2em;
display: inline;
}
canvas {
cursor: move;
}
.downloadOutputFileLink {
padding: 2px;
padding-left: 8px;
padding-right: 8px;
border: 1px solid black;
border-radius: 4px; /* css mess */
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
background: #d8f;
background: -webkit-gradient(linear, left top, left bottom, from(#eaf), to(#c6f));
background: -moz-linear-gradient(top, #eaf, #c6f);
text-decoration: none;
color: black;
font-size: 0.9em;
font-weight: bold;
box-shadow: 0px 0px 8px black;
}
#parametersdiv {
/* display: inline-block; ineffective since we do control in openjscad.js */
position: absolute;
bottom: 9em; /* draggable via jQuery cannot move bottom: align, stick at the bottom (bug!!) */
left: 1em;
/* top: 2em; if draggable, but must be left/top oriented, cannot be aligned bottom which looks nicer
left: 16em;
*/
z-index: 4;
border: 1px solid rgb(200,200,200);
border-radius: 5px;
-moz-border-radius: 5px; /* css mess */
-webkit-border-radius: 5px;
margin: 5px 0px 5px 0px;
padding: 10px;
background: #fff; /* rgba(255,255,255,0.7); */
opacity: 0.8;
/* box-shadow: 0px 0px 15px black; no shadow, it would indicate moveable/dragable */
/* cursor: move; moveable now */
}
#parametersdiv th {
text-align: left;
font-size: 1em;
font-weight: bold;
}
#parametersdiv td {
text-align: right;
font-size: 0.8em;
}
#parametersdiv input, #parametersdiv textarea, #parametersdiv select {
font-size: 0.9em;
background: #fea;
border: none;
}
#instantUpdate {
margin-left: 1em;
}
#instantUpdateLabel {
font-size: 0.9em;
}
#statusdiv {
}
#statusspan {
margin-right: 2em;
}
#statusbuttons {
float: right;
}
#selectdiv {
position: fixed;
top: 0.5em;
right: 0.5em;
z-index: 4;
background: transparent;
opacity: 0.8;
border: none;
display: inline;
}
#startRange {
margin: 2px;
padding: 2px;
}
#endRange {
margin: 2px;
padding: 2px;
}