PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.10.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.10.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / assets / css / modules / spending-goal / spending-goal.css

spending-goal.css in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.10.2, at assets/css/modules/spending-goal/spending-goal.css

180 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .merchant-spending-goal-widget-label {
2 background: -webkit-gradient(linear, left bottom, left top, color-stop(0, var(--merchant-gradient-end)), to(var(--merchant-gradient-start)));
3 background: linear-gradient(0deg, var(--merchant-gradient-end) 0, var(--merchant-gradient-start) 100%);
4 color: white;
5 display: -webkit-box;
6 display: -ms-flexbox;
7 display: flex;
8 -webkit-box-orient: vertical;
9 -webkit-box-direction: normal;
10 -ms-flex-direction: column;
11 flex-direction: column;
12 -ms-flex-pack: distribute;
13 justify-content: space-around;
14 -webkit-box-align: center;
15 -ms-flex-align: center;
16 align-items: center;
17 padding: 10px 5px 10px 15px;
18 width: 65px;
19 -webkit-transition: width 1s;
20 transition: width 1s;
21 }
22 .merchant-spending-goal-widget-label svg {
23 fill: white;
24 width: 30px;
25 height: 30px;
26 }
27
28 .merchant-spending-goal-widget {
29 -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.07);
30 box-shadow: 0 4px 4px rgba(0, 0, 0, 0.07);
31 overflow: hidden;
32 -webkit-transition: all 1s;
33 transition: all 1s;
34 display: -webkit-box;
35 display: -ms-flexbox;
36 display: flex;
37 background: var(--merchant-content-bg-color);
38 border-radius: 10px;
39 }
40 .merchant-spending-goal-widget__regular {
41 position: fixed;
42 left: calc(var(--merchant-content-width) * -1);
43 bottom: 30px;
44 z-index: 99999;
45 cursor: pointer;
46 }
47 .merchant-spending-goal-widget__regular.active {
48 left: 0;
49 }
50 .merchant-spending-goal-widget__regular.active .merchant-spending-goal-widget-label {
51 width: 0;
52 }
53 .merchant-spending-goal-widget__regular.active .merchant-spending-goal-widget-label-content {
54 opacity: 0;
55 }
56 .merchant-spending-goal-widget__shortcode {
57 margin: 15px 0 !important;
58 width: -webkit-fit-content;
59 width: -moz-fit-content;
60 width: fit-content;
61 }
62
63 .merchant-spending-goal-widget-text {
64 font-size: 13px;
65 color: var(--merchant-content-text-color);
66 }
67
68 .merchant-spending-goal-widget-content {
69 padding: 20px;
70 width: var(--merchant-content-width);
71 display: -webkit-box;
72 display: -ms-flexbox;
73 display: flex;
74 -webkit-box-orient: vertical;
75 -webkit-box-direction: normal;
76 -ms-flex-direction: column;
77 flex-direction: column;
78 -webkit-box-align: center;
79 -ms-flex-align: center;
80 align-items: center;
81 text-align: center;
82 }
83
84 .merchant-spending-goal-widget-label-content {
85 -webkit-transition: opacity 1s;
86 transition: opacity 1s;
87 opacity: 1;
88 font-weight: bold;
89 font-size: 14px;
90 }
91
92 .merchant-spending-goal-widget-progress-bar {
93 height: 18px;
94 padding: 3px;
95 margin-top: 5px;
96 width: 80%;
97 background: #393939;
98 border-radius: 15px;
99 }
100
101 .merchant-spending-goal-widget-progress-bar-content {
102 overflow: hidden;
103 border-radius: 15px 0 0 15px;
104 height: 100%;
105 -webkit-transition: all 1s;
106 transition: all 1s;
107 }
108
109 .merchant-spending-goal-widget-progress-bar-filled {
110 width: 100%;
111 height: 100%;
112 border-radius: 15px 0 0 15px;
113 display: block;
114 -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
115 box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
116 position: relative;
117 background: var(--merchant-progress-bar);
118 -webkit-animation: merchant-spending-goal-progress-bar 1.5s;
119 animation: merchant-spending-goal-progress-bar 1.5s;
120 }
121 .merchant-spending-goal-widget-progress-bar-filled:after {
122 content: "";
123 position: absolute;
124 top: 0;
125 left: 0;
126 bottom: 0;
127 right: 0;
128 background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
129 z-index: 1;
130 background-size: 50px 50px;
131 -webkit-animation: merchant-spending-goal-progress-bar-spin 2s linear infinite;
132 animation: merchant-spending-goal-progress-bar-spin 2s linear infinite;
133 overflow: hidden;
134 }
135
136 @-webkit-keyframes merchant-spending-goal-progress-bar {
137 0% {
138 -webkit-transform: translateX(-70%);
139 transform: translateX(-70%);
140 }
141 100% {
142 -webkit-transform: translateX(0);
143 transform: translateX(0);
144 }
145 }
146
147 @keyframes merchant-spending-goal-progress-bar {
148 0% {
149 -webkit-transform: translateX(-70%);
150 transform: translateX(-70%);
151 }
152 100% {
153 -webkit-transform: translateX(0);
154 transform: translateX(0);
155 }
156 }
157 @-webkit-keyframes merchant-spending-goal-progress-bar-spin {
158 0% {
159 background-position: 0 0;
160 }
161 100% {
162 background-position: 50px 50px;
163 }
164 }
165 @keyframes merchant-spending-goal-progress-bar-spin {
166 0% {
167 background-position: 0 0;
168 }
169 100% {
170 background-position: 50px 50px;
171 }
172 }
173 .rtl .merchant-spending-goal-widget {
174 left: unset;
175 right: calc(var(--merchant-content-width) * -1);
176 }
177 .rtl .merchant-spending-goal-widget.active {
178 right: 0;
179 left: unset;
180 }