summaryrefslogtreecommitdiff
path: root/css/sally.css
blob: bdc3e61f75172c3ff70ad16d072d823e1c1f3bae (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
textarea,input[type=text],body {
    margin:0;
    font-family: 'FixedsysExcelsior301Regular';
    font-size: 12pt;
    font-weight: 100;
    line-height: 1;
    color:#6d6b6d;
    -webkit-font-smoothing: antialiased !important;
}
body {
    background-color: #000000 !important;
}
@font-face {
    font-family: 'FixedsysExcelsior301Regular';
    src: url('../fonts/fsex300-webfont.eot');
    src: url('../fonts/fsex300-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/fsex300-webfont.woff') format('woff'),
         url('../fonts/fsex300-webfont.ttf') format('truetype'),
         url('../fonts/fsex300-webfont.svg#FixedsysExcelsior301Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

a {display: block}
a:link, a:visited {text-decoration: none; color: #3b3740}

{overflow: auto;}

.rapper, .block {
  float: left;
  height:auto;
  width:auto;
  background-color: #000000;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.rapper {
  white-space:pre-wrap;
  word-wrap: break-word;
}
.block {
  padding:4px;
}
.block:nth-child(n+2) {
  padding-left: 30px;
}
.tool {
  cursor: pointer;
}
.tool.hidden {
  visibility: hidden;
}
.transparent {
  background-color: transparent;
  background-image: url(../img/gray-dither.gif);
  background-size: 8px 8px;
}

@media (-webkit-min-device-pixel-ratio: 2) { 
  .transparent {
    background-size: 4px 4px;
  }
}
span { min-width: 8px; line-height: 15px; display: inline-block; }
.rapper { cursor: crosshair; }
body.grid span { border-right: 1px solid #444; border-bottom: 1px solid #444; }
body.grid div { border-left: 1px solid #444; }
body.grid #canvas_rapper > div:first-child,
body.grid #palette_rapper > div:first-child,
body.grid #letters_rapper > div:first-child,
body.grid #brush_rapper > div:first-child { border-top: 1px solid #444; }
body.grid .tool { border: 1px solid #444; }
.ed { color: #fff; }
.focused { box-shadow: inset 0 0px 3px #fff; border-color: #fff; }
.tool.focused, .ed.focused { color: white; text-decoration: underline; }
.focused { box-shadow: inset 1px 0 2px white, inset -1px 0 2px white, inset 0 1px 2px white, inset 0 -1px 2px white; }
.faba.focused, .fbba.focused, .fcba.focused, .fdba.focused, .feba.focused, .ffba.focused, .fgba.focused, .fhba.focused,
.fiba.focused, .fjba.focused, .fkba.focused, .flba.focused, .fmba.focused, .fnba.focused, .foba.focused, .fpba.focused 
  { box-shadow: inset 1px 0 2px #888, inset -1px 0 2px #888, inset 0 1px 2px #888, inset 0 -1px 2px #888; }
body.loading { opacity: 0; }
body { transition: 0.1s linear; }
#import_textarea { font-size: 9pt; }
textarea { font-size:12pt; width: 37vw; height: 300px; background: #333; color: #0f0; border: 0; font-family: 'FixedsysExcelsior301Regular'; outline: 0; border: 1px solid #333; background:#010;}
#shader_rapper { display: none; }
#import_rapper { display: none; }
#canvas_rapper {
	white-space: pre;
  box-shadow: 0 0 2px rgba(255,255,255,0.3);
  margin: 3px;
}

#ui_rapper { clear:both; float: left; }
#workspace_rapper { width: 100%; }

.loading .vertical #ui_rapper { clear: none }
.vertical #ui_rapper { width: 300px; float: left; clear: none; }
.vertical .rapper, .vertical .block { float: left; }
.vertical #canvas_rapper,
.vertical #canvas_rapper div,
.vertical #tools_rapper,
.vertical #palette_rapper,
.vertical #brush_container { display: inline-block; float: left}
.vertical #workspace_rapper { width: auto; position: relative; float: left; }
.vertical #palette_rapper { margin-right: 10px; }
.vertical #tools_block { min-width: 100%; }

#experimental_palette_toggle { float: left; clear: right; }

.rotated #canvas_rapper {
  transform: translateX(-50%) translateY(-50%) translateZ(0) rotate(-90deg);
  transform-origin: 50% 50%;
	position: absolute;
  left: 50%;
}

#tools_block > * {
	cursor: crosshair;
}
#brush_rapper, #letters_rapper {
	cursor: crosshair;
}
.dropper #canvas_rapper {
  cursor: url(../img/dropper.gif) 0 15, auto;
}
.bucket #canvas_rapper {
  cursor: url(../img/bucket.png) 3 15, auto;
}
#brush_rapper {
	border: 1px solid;
	display: inline-block;
	margin-bottom: 13px;
}
#letters_rapper {
	display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.close { position: absolute; top: 20px; right: 20px; z-index: 2; padding: 10px; background: black; cursor: pointer; }
#webcam_rapper { display: none; position: absolute; top: 0px; left: 0px; width:100%;height:100%; box-sizing:border-box; border: 40px solid rgba(0,0,0,0.5); background-color: rgba(0,0,0,0.5);  }
#webcam_iframe { position: absolute; top: 0px; left: 0px; width:100%;height:100%; background-color: rgba(0,0,0,0.5); border: 0; }
#experimental_palette_toggle.focused { box-shadow: none; }
#cursor_input { position: fixed; top: 0; right: 0; width:30px; opacity: 0; }
.selector_el {
  border: 1px dashed #fff !important;
  padding-top: 1px;
  position:absolute;
  margin-top: -1px;
  top:-999px;left:-999px;
  pointer-events: none;
}
.selector_el.dragging {
  color: #0f0;
}
.selector_el.creating div {
  display: none;
}
.custom {
  float: left;
  margin-right: 5px;
  margin-bottom: 5px;
}