-
Notifications
You must be signed in to change notification settings - Fork 8
/
svg-preview.css
52 lines (49 loc) · 1.15 KB
/
svg-preview.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
.svg-panel {
position: relative; /* positioning context for shadows */
}
.svg-panel .shadow.top {
top: 29px; /* place below toolbar */
}
.svg-preview {
box-shadow: 0 0 10px 2px rgba(0,0,0,0.25);
}
.checker {
background-image: url("checkerboard.png");
background-size: 8px;
}
.svg-toolbar {
background-color: #606060;
height: 29px;
}
.svg-tb-button, .svg-bgswatch {
display: inline-block;
width: 18px; height: 18px;
margin: 4px 3px;
border-radius: 3px;
border: 1px solid #808080;
vertical-align: middle;
}
.svg-tb-button:hover, .svg-bgswatch:hover {
border: 1px solid #aaaaaa;
}
.svg-tb-button {
color: white;
font-size: 20px;
font-weight: bold;
text-align: center;
}
.svg-tb-button.disabled {
opacity: 0.5;
}
.svg-tb-label {
color: #A3A3A3;
vertical-align: middle;
}
.svg-tb-icon, .zoomin-icon, .zoomout-icon, .zoom11-icon {
background-image: url("svg-preview-icons.svg");
background-repeat: no-repeat;
background-position: 0 0;
}
.zoomin-icon { background-position: 0 0; }
.zoomout-icon { background-position: 0 -20px; }
.zoom11-icon { background-position: 0 -40px; }