Skip to content

Commit ce9f36a

Browse files
author
Gennady Tsarinny
committed
new styles for rewritten plugin
1 parent 58ff0ed commit ce9f36a

File tree

1 file changed

+50
-54
lines changed

1 file changed

+50
-54
lines changed

bubble.css

Lines changed: 50 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.js-bbl_w {
1+
.source-bbl_w {
22
position: absolute;
33
z-index: 3000;
44
height: 1px;
55
width: 1px;
66
}
7-
.js-bbl_w:hover {
7+
.source-bbl_w:hover {
88
z-index: 3010;
99
}
1010

@@ -56,15 +56,15 @@
5656
border-top: 8px solid #FDF9E8;
5757
}
5858

59-
.js-bbl__on {
59+
.js-bbl.__show {
6060
display: block;
6161
max-height: 500px;
6262
opacity: 1;
6363
-webkit-transform: translateX(0);
6464
transform: translateX(0);
6565
}
6666

67-
.js-bbl_form {
67+
.source-bbl_form {
6868
max-height: 0;
6969
overflow: hidden;
7070
-webkit-transition: .3s max-height;
@@ -73,14 +73,10 @@
7373
transition: .3s max-height;
7474
}
7575

76-
.js-bbl__on .js-bbl_form {
76+
.js-bbl.__show .source-bbl_form {
7777
max-height: 200px;
7878
}
7979

80-
.js-bbl__scroll .js-bbl_info {
81-
padding-right: 10px;
82-
}
83-
8480
.js-bbl_close {
8581
position: absolute;
8682
top: 4px; right: 4px;
@@ -89,17 +85,17 @@
8985
height: 16px;
9086

9187
opacity: .6;
92-
cursor: pointer;
9388
background: url(i/ic_close.png) 0 0 no-repeat;
89+
cursor: pointer;
9490
}
9591

9692

97-
.js-bbl_sep {
93+
.source-bbl_sep {
9894
border-bottom: 1px dotted #333;
9995
}
10096

101-
.js-bbl_it,
102-
.js-bbl_name_it {
97+
.source-bbl_it,
98+
.source-bbl_name {
10399
box-sizing: border-box;
104100
width: 260px;
105101
border: 0;
@@ -109,26 +105,26 @@
109105

110106
}
111107

112-
.js-bbl_it:focus,
113-
.js-bbl_name_it:focus {
108+
.source-bbl_it:focus,
109+
.source-bbl_name:focus {
114110
outline: 0;
115111
}
116-
.js-bbl_it:focus {
112+
.source-bbl_it:focus {
117113
border-radius: 10px;
118114
padding: 10px;
119115
background: #fff;
120116
}
121117

122-
.js-bbl_it {
118+
.source-bbl_it {
123119
font-size: 15px;
124120
color: #333;
125121
}
126122

127-
textarea.js-bbl_it {
123+
textarea.source-bbl_it {
128124
height: 4em;
129125
}
130126

131-
.js-bbl_name_it {
127+
.source-bbl_name {
132128
text-align: right;
133129
font-style: italic;
134130
color: #666;
@@ -173,12 +169,12 @@ textarea.js-bbl_it {
173169
color: #67A9D4;
174170
}
175171

176-
.js-bbl_actions {
172+
.source-bbl_actions {
177173
margin-top: 20px;
178174
margin-bottom: 5px;
179175
}
180176

181-
.js-bbl_name {
177+
.source-bbl_author {
182178
margin-top: 4px;
183179
margin-right: 15px;
184180

@@ -192,52 +188,52 @@ textarea.js-bbl_it {
192188
border-top: 1px dotted rgba(0, 0, 0, .3);
193189
}
194190

195-
.js-bbl_info {
191+
.source-bbl_info {
196192
display: none;
197193
max-height: 400px;
198194
overflow-y: auto;
199195
}
200-
.js-bbl_info::-webkit-scrollbar {
196+
.source-bbl_info::-webkit-scrollbar {
201197
background: rgba(0,0,0,.08);
202198
width: 8px;
203199
border-radius: 4px;
204200
}
205-
.js-bbl_info::-webkit-scrollbar-thumb {
201+
.source-bbl_info::-webkit-scrollbar-thumb {
206202
background: rgba(0,0,0,.08);
207203
border-radius: 4px;
208204
}
209205

210-
.js-bbl__show {
206+
.source-bbl_info.__show {
211207
display: block;
212208
}
213209

214-
.js-bbl-point,
215-
.js-bbl-point:before,
216-
.js-bbl-point:after {
210+
.js-bbl_point {
211+
z-index: 100;
212+
213+
width: 14px;
214+
height: 14px;
215+
margin: -7px 0 0 -7px;
216+
217+
background: #4792D2;
218+
}
219+
220+
.js-bbl_point,
221+
.js-bbl_point:before,
222+
.js-bbl_point:after {
217223
position: absolute;
218224
border-radius: 50%;
219225

220226
cursor: pointer;
221227
transition: all .3s;
222228
}
223229

224-
.js-bbl-point:before,
225-
.js-bbl-point:after {
230+
.js-bbl_point:before,
231+
.js-bbl_point:after {
226232
content: '';
227233
top: 50%; left: 50%;
228234
}
229235

230-
.js-bbl-point {
231-
z-index: 100;
232-
233-
width: 14px;
234-
height: 14px;
235-
margin: -7px 0 0 -7px;
236-
237-
background: #4792D2;
238-
}
239-
240-
.js-bbl-point:before {
236+
.js-bbl_point:before {
241237
width: 8px;
242238
height: 8px;
243239
margin-left: -4px;
@@ -246,7 +242,7 @@ textarea.js-bbl_it {
246242
background: white;
247243
}
248244

249-
.js-bbl-point:after {
245+
.js-bbl_point:after {
250246
width: 4px;
251247
height: 4px;
252248
margin-top: -2px;
@@ -255,35 +251,35 @@ textarea.js-bbl_it {
255251
background: #4792D2;
256252
}
257253

258-
.js-bbl-point:hover,
259-
.js-bbl-point.__active,
260-
.js-bbl-point.__disabled {
254+
.js-bbl_point:hover,
255+
.js-bbl_point.__active,
256+
.js-bbl_point.__disabled {
261257
width: 28px;
262258
height: 28px;
263259
margin-left: -14px;
264260
margin-top: -14px;
265261
}
266262

267-
.js-bbl-point:hover:before,
268-
.js-bbl-point.__active:before,
269-
.js-bbl-point.__disabled:before {
263+
.js-bbl_point:hover:before,
264+
.js-bbl_point.__active:before,
265+
.js-bbl_point.__disabled:before {
270266
width: 16px;
271267
height: 16px;
272268
margin-left: -8px;
273269
margin-top: -8px;
274270
}
275271

276-
.js-bbl-point:hover:after,
277-
.js-bbl-point.__active:after,
278-
.js-bbl-point.__disabled:after{
272+
.js-bbl_point:hover:after,
273+
.js-bbl_point.__active:after,
274+
.js-bbl_point.__disabled:after{
279275
width: 8px;
280276
height: 8px;
281277
margin-left: -4px;
282278
margin-top: -4px;
283279
}
284280

285-
.js-bbl-point.__disabled,
286-
.js-bbl-point.__disabled:before,
287-
.js-bbl-point.__disabled:after {
281+
.js-bbl_point.__disabled,
282+
.js-bbl_point.__disabled:before,
283+
.js-bbl_point.__disabled:after {
288284
opacity: .7;
289285
}

0 commit comments

Comments
 (0)