forked from abergs/Crowdspell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdspell.less
155 lines (135 loc) · 3.21 KB
/
crowdspell.less
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
.pointer(@trick: true) {
cursor: pointer;
&:hover {
cursor: pointer;
}
}
#crowdspell-editor {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
display: none;
position: absolute;
left: 0;
right: 0;
font-family: Rockwell, Georgia, sans-serif;
background: #111;
padding: 20px;
color: #fff;
text-align: center;
border: 1px solid #fff;
border-left: none;
border-right: none;
&[data-open] {
display: block;
}
h3 {
margin-top: 0;
}
.crowdspell-label {
margin: 5px 0px;
font-weight: bold;
border-bottom: 2px solid #fff;
display: inline-block;
}
.crowdspell-actions {
margin-top: 5px;
}
textarea {
width: 60%;
height: 70px;
}
button {
padding: 6px;
background: white;
color: #333;
border: 1px solid #eee;
border-radius: 3px;
}
#crowdspell-button-close {
.pointer;
}
#crowdspell-button-save {
background: #77BD2B;
border: 1px solid #A9DF6E;
color: #FFFFFF;
padding: 12px 11px;
font-family: Rockwell,sans-serif;
font-size: 20px;
.pointer;
}
}
/*********************************************
* UI BUBBLE
*********************************************/
a.crowdspell-button {
font-size:16px;
color:#fff;
display: block;
text-decoration: none;
font-family: Rockwell, sans-serif;
line-height: 40px;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-ms-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
&:visited {
color:#fff;
}
}
.text-options {
-webkit-transition: opacity 250ms, margin 250ms;
-moz-transition: opacity 250ms, margin 250ms;
-ms-transition: opacity 250ms, margin 250ms;
-o-transition: opacity 250ms, margin 250ms;
transition: opacity 250ms, margin 250ms;
position: absolute;
left: -999px;
top: -999px;
color: #fff;
height: 0px;
width: 0px;
z-index: 5;
margin-top: 5px;
opacity: 0;
}
.text-options.fade {
opacity: 0;
margin-top: -5px;
}
.text-options.active {
opacity: 1;
margin-top: 0px;
}
.options {
background-color: rgba(0,0,0,0.9);
position: absolute;
border-radius: 5px;
margin-left: -63px;
margin-top: -46px;
z-index: 1000;
//padding: 5px 4px 5px 5px;
width: 125px;
height: 40px;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
text-align: center;
}
.options:before {
content: "";
border-top: 5px solid rgba(0,0,0,0.9);
border-bottom: 5px solid transparent;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
position: absolute;
margin-left: -5px;
bottom: -15px;
height: 5px;
width: 0px;
left: 50%;
}