UNPKG

3.28 kBCSSView Raw
1.lg-outer .lg-dropdown-overlay {
2 background-color: rgba(0, 0, 0, 0.25);
3 bottom: 0;
4 cursor: default;
5 left: 0;
6 position: absolute;
7 right: 0;
8 top: 0;
9 z-index: 1081;
10 opacity: 0;
11 visibility: hidden;
12 will-change: visibility, opacity;
13 -webkit-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
14 -o-transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
15 transition: visibility 0s linear 0.18s, opacity 0.18s linear 0s;
16}
17
18.lg-outer.lg-dropdown-active .lg-dropdown,
19.lg-outer.lg-dropdown-active .lg-dropdown-overlay {
20 -webkit-transition-delay: 0s;
21 transition-delay: 0s;
22 -moz-transform: translate3d(0, 0px, 0);
23 -o-transform: translate3d(0, 0px, 0);
24 -ms-transform: translate3d(0, 0px, 0);
25 -webkit-transform: translate3d(0, 0px, 0);
26 transform: translate3d(0, 0px, 0);
27 opacity: 1;
28 visibility: visible;
29}
30
31.lg-outer.lg-dropdown-active .lg-share {
32 color: #fff;
33}
34
35.lg-outer .lg-dropdown {
36 background-color: #fff;
37 border-radius: 2px;
38 font-size: 14px;
39 list-style-type: none;
40 margin: 0;
41 padding: 10px 0;
42 position: absolute;
43 right: 0;
44 text-align: left;
45 top: 50px;
46 opacity: 0;
47 visibility: hidden;
48 -moz-transform: translate3d(0, 5px, 0);
49 -o-transform: translate3d(0, 5px, 0);
50 -ms-transform: translate3d(0, 5px, 0);
51 -webkit-transform: translate3d(0, 5px, 0);
52 transform: translate3d(0, 5px, 0);
53 will-change: visibility, opacity, transform;
54 -webkit-transition: -webkit-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
55 -moz-transition: -moz-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
56 -o-transition: -o-transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
57 transition: transform 0.18s linear 0s, visibility 0s linear 0.5s, opacity 0.18s linear 0s;
58}
59
60.lg-outer .lg-dropdown:after {
61 content: '';
62 display: block;
63 height: 0;
64 width: 0;
65 position: absolute;
66 border: 8px solid transparent;
67 border-bottom-color: #fff;
68 right: 16px;
69 top: -16px;
70}
71
72.lg-outer .lg-dropdown > li:last-child {
73 margin-bottom: 0px;
74}
75
76.lg-outer .lg-dropdown > li:hover a {
77 color: #333;
78}
79
80.lg-outer .lg-dropdown a {
81 color: #333;
82 display: block;
83 white-space: pre;
84 padding: 4px 12px;
85 font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
86 font-size: 12px;
87}
88
89.lg-outer .lg-dropdown a:hover {
90 background-color: rgba(0, 0, 0, 0.07);
91}
92
93.lg-outer .lg-dropdown .lg-dropdown-text {
94 display: inline-block;
95 line-height: 1;
96 margin-top: -3px;
97 vertical-align: middle;
98}
99
100.lg-outer .lg-dropdown .lg-icon {
101 color: #333;
102 display: inline-block;
103 float: none;
104 font-size: 20px;
105 height: auto;
106 line-height: 1;
107 margin-right: 8px;
108 padding: 0;
109 vertical-align: middle;
110 width: auto;
111}
112
113.lg-outer .lg-share {
114 position: relative;
115}
116
117.lg-outer .lg-share:after {
118 content: '\e80d';
119}
120
121.lg-outer .lg-share-facebook .lg-icon {
122 color: #3b5998;
123}
124
125.lg-outer .lg-share-facebook .lg-icon:after {
126 content: '\e904';
127}
128
129.lg-outer .lg-share-twitter .lg-icon {
130 color: #00aced;
131}
132
133.lg-outer .lg-share-twitter .lg-icon:after {
134 content: '\e907';
135}
136
137.lg-outer .lg-share-pinterest .lg-icon {
138 color: #cb2027;
139}
140
141.lg-outer .lg-share-pinterest .lg-icon:after {
142 content: '\e906';
143}