PluginProbe
Floating Button – Easily Create Sticky, Fixed & Floating Buttons / 5.3
Floating Button – Easily Create Sticky, Fixed & Floating Buttons v5.3
trunk 2.0.2 3.0 4.0 4.1.2 4.3 5.0 5.0.1 5.1 5.1.1 5.2 5.3 5.3.1 6.0 6.0.1 6.0.10 6.0.11 6.0.12 6.0.13 6.0.2 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 All 31 releases
floating-button / public / assets / css / style.css

style.css in Floating Button – Easily Create Sticky, Fixed & Floating Buttons 5.3, at public/assets/css/style.css

219 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*! ========= INFORMATION ============================
2 - document: Float Button
3 - author: Wow-Company
4 - url: https://wow-estore.com/item/floating-button-pro/
5 ==================================================== */
6
7 .flBtn {
8 list-style: none;
9 margin: 0;
10 padding: 0;
11 border: 0;
12 outline: none;
13 text-decoration: none;
14 }
15 .flBtn ul {
16 list-style: none;
17 margin: 0;
18 padding: 0;
19 border: 0;
20 outline: none;
21 text-decoration: none;
22 }
23
24 /*Basic style*/
25 .flBtn {
26 position: fixed;
27 z-index: 1000;
28 /* ToolTip */
29 }
30 .flBtn input {
31 position: absolute;
32 z-index: 3;
33 top: 0;
34 left: 0;
35 display: block;
36 width: 100%;
37 height: 100%;
38 cursor: pointer;
39 opacity: 0;
40 }
41
42 .flBtn input:checked ~ ul {
43 visibility: visible;
44 }
45 .flBtn input:checked ~ ul li {
46 visibility: visible;
47 opacity: 1;
48 }
49
50 .flBtn input:hover + a {
51 color: #383838;
52 background: #4db6ac;
53 }
54 .flBtn input:hover + a[data-tooltip]:before {
55 visibility: visible;
56 opacity: 1;
57 }
58 .flBtn a {
59 position: relative;
60 z-index: 2;
61 display: block;
62 vertical-align: middle;
63 text-decoration: none;
64 text-align: center;
65 box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
66 cursor: pointer;
67 background: #009688;
68 color: #ffffff;
69 transition: background 0.5s;
70 -o-transition: background 0.5s;
71 -ms-transition: background 0.5s;
72 -moz-transition: background 0.5s;
73 -webkit-transition: background 0.5s;
74 }
75 .flBtn a:hover {
76 color: #383838;
77 background: #4db6ac;
78 }
79 .flBtn ul {
80 position: absolute;
81 list-style: none;
82 margin: 0;
83 padding: 0;
84 visibility: hidden;
85 }
86 .flBtn ul li {
87 display: inline-block;
88 margin: 5px;
89 visibility: hidden;
90 opacity: 0;
91 transition: all 0.5s;
92 -o-transition: all 0.5s;
93 -ms-transition: all 0.5s;
94 -moz-transition: all 0.5s;
95 -webkit-transition: all 0.5s;
96 }
97 .flBtn [data-tooltip]:before {
98 position: absolute;
99 content: attr(data-tooltip);
100 visibility: hidden;
101 opacity: 0;
102 padding: 0 10px;
103 white-space: nowrap;
104 background: rgba(0, 0, 0, 0.8);
105 color: #ffffff;
106 transition: all 0.5s;
107 }
108 .flBtn [data-tooltip]:hover:before {
109 visibility: visible;
110 opacity: 1;
111 }
112
113 /************
114 Button Size
115 ***********/
116
117 /* medium */
118 .flBtn-size-medium a {
119 width: 60px;
120 height: 60px;
121 line-height: 60px;
122 font-size: 24px;
123 }
124 .flBtn-size-medium ul a {
125 width: 40px;
126 height: 40px;
127 line-height: 40px;
128 font-size: 16px;
129 }
130 .flBtn-size-medium [data-tooltip]:before {
131 height: 30px;
132 line-height: 30px;
133 font-size: 16px;
134 }
135
136
137 /*************
138 Shape style
139 ************/
140 /*circle*/
141 .flBtn-shape-circle a {
142 border-radius: 50%;
143 }
144
145 /****************
146 Main position
147 ***************/
148 /*position bottom right*/
149 .flBtn-position-br {
150 bottom: 20px;
151 right: 20px;
152 }
153 .flBtn-position-br [data-tooltip][data-role]:before {
154 right: 100%;
155 bottom: 100%;
156 }
157 .flBtn-position-br .flBtn-first {
158 right: 50%;
159 transform: translateX(50%);
160 bottom: 100%;
161 }
162 .flBtn-position-br .flBtn-first [data-tooltip]:before {
163 right: 100%;
164 top: 50%;
165 transform: translateY(-50%);
166 margin-right: 5px;
167 }
168 .flBtn-position-br .flBtn-second {
169 display: flex;
170 top: 50%;
171 transform: translateY(-50%);
172 right: 100%;
173 }
174 .flBtn-position-br .flBtn-second [data-tooltip]:before {
175 right: 100%;
176 bottom: 100%;
177 margin-bottom: 5px;
178 }
179
180 .flBtn-screen-reader-text {
181 border: 0;
182 clip: rect(1px, 1px, 1px, 1px);
183 clip-path: inset(50%);
184 height: 1px;
185 margin: -1px;
186 overflow: hidden;
187 padding: 0;
188 position: absolute !important;
189 width: 1px;
190 word-wrap: normal !important;
191 }
192
193 @media print {
194 .flBtn {
195 display: none;
196 }
197 }
198
199 /* Many screen reader and browser combinations announce broken words as they would appear visually. */
200 .flBtn-screen-reader-text:focus {
201 background-color: #f1f1f1;
202 border-radius: 3px;
203 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
204 clip: auto !important;
205 clip-path: none;
206 color: #21759b;
207 display: block;
208 font-size: 14px;
209 font-size: 0.875rem;
210 font-weight: bold;
211 height: auto;
212 left: 5px;
213 line-height: normal;
214 padding: 15px 23px 14px;
215 text-decoration: none;
216 top: 5px;
217 width: auto;
218 z-index: 100000;
219 }