forked from Ezriilc/KSP-Ribbon-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ribbons.css
150 lines (149 loc) · 2.7 KB
/
ribbons.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
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
.click_to_select{
display:inline-block;
border:1px dotted black;
font-family:Tahoma;
font-weight:bold;
}
.ribbons_list li{
border-width:1px;
border-style:dashed;
padding:0;
padding-left:.25em;
}
.ribbons_list li info{
display:block;
float:left;
}
.ribbons_list .username{
font-size:133%;
font-family:times-new-roman;
font-weight:bold;
}
.ribbons_list li img{
float:right;
}
.ribbons{
width:686px;
margin:0 auto;
}
.ribbons *{
background-position:center center;
background-repeat:no-repeat;
}
.ribbons img{
margin:0;padding:0;
border:0;outline:0;
}
.ribbons .column{
width:98px;
float:left;
text-align:center;
}
.ribbons .ribbon{
position:relative;
width:100%;
height:26px;
line-height:26px;
opacity:0.5;
cursor:pointer;
}
.ribbons .ribbon.selected{
opacity:1;
}
.ribbons .ribbon .title{
display:inline;
color:white;
background-color:rgba(0, 0, 0, 0.5);
border-radius:1em;
padding:0 .25em;
position:relative;
top:0px;
}
.ribbons .ribbon img{
position:absolute;
left:0;top:0;
}
.ribbons .ribbon img.device,
.ribbons .ribbon img.effect{
visibility:hidden;
}
.ribbons .ribbon img.selected{
visibility:visible;
}
.ribbons .ribbon img.ribbon_image{
background-color:rgba(0, 0, 0, 0.1);
}
.ribbons .submit{
text-align:center;
}
.ribbons .submit input[type="submit"],
.ribbons .submit input[type="reset"]{
font-size:120%;
}
.ribbons .planet{
clear:both;
display:none;
}
.ribbons .planet.selected{
display:block;
}
.ribbons .input_box{
float:left;
position:relative;
width:66px;
height:66px;
margin:4px;
padding:2px;
border-radius:.25em;
box-shadow: 2px 2px 4px 2px rgba(0, 96, 0, 0.5);
cursor:pointer;
font-size:66%;
overflow:hidden;
}
.ribbons .input_box label{
display:block;
width:99%;
height:99%;
cursor:pointer;
}
.ribbons .input_box img{
position:absolute;
left:-.2em;
top:.66em;
}
.ribbons .input_box.Achieved img{
width:100%;
}
.ribbons .effects .input_box img,
.ribbons .input_box.Asteroid img{
background-color:#eeeeee;
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.2);
left:1em;
top:2.75em;
}
.ribbons .planets .input_box img{
left:0;
top:1.5em;
width:100%;
}
.ribbons .input_box input,
.ribbons .input_box select{
position:absolute;
right:0;bottom:0;
cursor:pointer;
}
.ribbons .input_box.Achieved{
width:122px;
}
.ribbons input[name="Asteroid/Achieved"]{
display:none;
}
.ribbons label[for="Asteroid/Achieved"]{
cursor:default;
}
.ribbons .effects .category{
float:left;
}
.ribbons .effects .category+.category{
margin-left:25px;
}