PluginProbe ʕ •ᴥ•ʔ
Was This Helpful? / trunk
Was This Helpful? vtrunk
was-this-article-helpful / css / style.css
was-this-article-helpful / css Last commit date
style.css 7 years ago
style.css
81 lines
1 #was-this-helpful{
2 background-color: rgba(0,0,0,0.05);
3 margin-top:1em;
4 padding: 1.2em;
5 border-radius: 0.2em;
6 text-align:center;
7 display: -webkit-box;
8 display: -webkit-flex;
9 display: -ms-flexbox;
10 display: flex;
11 -webkit-box-align: center;
12 -webkit-align-items: center;
13 -ms-flex-align: center;
14 align-items: center;
15 -webkit-box-pack: center;
16 -webkit-justify-content: center;
17 -ms-flex-pack: center;
18 justify-content: center;
19 }
20
21 #was-this-helpful *{
22 -webkit-transition: background-color 200ms, box-shadow 200ms;
23 transition: background-color 200ms, box-shadow 200ms;
24 }
25
26 #wthf-title,#wthf-yes-no{
27 display: inline-block;
28 }
29
30 #wthf-title {
31 padding-right: 2em;
32 }
33
34 #wthf-yes-no span{
35 padding: 0.4em 0.8em;
36 border-radius:0.2em;
37 background-color:rgba(255,255,255,0.9);
38 color: #1a73e8;
39 cursor: pointer;
40 font-size:0.9em;
41 -webkit-box-shadow: 0 0 6px 0px rgba(0,0,0,0.1);
42 -moz-box-shadow: 0 0 6px 0px rgba(0,0,0,0.1);
43 box-shadow: 0 0 6px 0px rgba(0,0,0,0.1);
44 }
45
46 #wthf-yes-no span:hover{
47 background-color:#FFFFFF;
48 -webkit-box-shadow: 0 0 6px 0px rgba(0,0,0,0.3);
49 -moz-box-shadow: 0 0 6px 0px rgba(0,0,0,0.3);
50 box-shadow: 0 0 6px 0px rgba(0,0,0,0.3);
51 }
52
53 #wthf-yes-no span:active{
54 background-color:#FFFFFF;
55 -webkit-box-shadow: 0 0 6px 0px rgba(0,0,0,0.5);
56 -moz-box-shadow: 0 0 6px 0px rgba(0,0,0,0.5);
57 box-shadow: 0 0 6px 0px rgba(0,0,0,0.5);
58 }
59
60 #wthf-yes-no span:first-child{
61 margin-right:0.4em;
62 }
63
64 #wthf-yes-no span:last-child{
65 margin-left:0.4em;
66 }
67
68 #was-this-helpful.wthf-disabled{
69 pointer-events:none;
70 position:relative;
71 }
72
73 #was-this-helpful.wthf-disabled *{
74 opacity:0;
75 }
76
77 #was-this-helpful.wthf-disabled:after{
78 content:attr(data-thank-text);
79 display:block;
80 position:absolute;
81 }