forked from jonathantneal/wp-svg-spritemap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (81 loc) · 1.44 KB
/
style.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
.svg-list {
font-size: 0;
margin: 0 -.5rem;
}
.svg-listitem {
display: inline-block;
font-size: 1rem;
vertical-align: top;
width: 10rem;
min-width: 20%;
}
.svg-count-label {
color: #000;
cursor: default;
font-weight: 700;
}
.svg-count {
color: #999;
cursor: default;
font-weight: 400;
}
.svg-checkbox {
clip: rect(0 0 0 0);
position: absolute;
}
.svg-checkbox ~ .svg-details {
background-color: #DEDEDE;
border: 1px solid #DEDEDE;
cursor: pointer;
display: block;
margin: .5rem;
transition: background-color .1s ease-in-out;
position: relative;
}
.svg-image {
margin: 1em;
max-height: 5rem;
max-width: 100%;
max-width: calc(100% - 2em);
}
.svg-name {
background-color: rgba(255,255,255,.65);
color: #000;
display: block;
padding: 0.5em;
font-size: 0.9em;
text-decoration: none;
transition: background-color .1s ease-in-out;
white-space: nowrap;
overflow: hidden;
}
.svg-name .button.button-small {
font-size: 0.8em;
padding: 0.2em 0.2em;
height: auto;
line-height: 1;
float: right;
}
.svg-checkbox:checked ~ .svg-details {
background-color: #FFF;
}
.svg-checkbox:checked ~ .svg-details .svg-name {
background-color: #2F2F2F;
color: #FFF;
}
.svg-panel {
background-color: #F5F5F5;
border: 1px solid #E5E5E5;
box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.svg-panelitem {
line-height: 1.75rem;
margin: .5rem;
}
.svg-panel .svg-url {
cursor: pointer;
max-width: 100%;
}
.svg-panel .svg-submit {
margin-left: .5rem;
}