PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.8
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.8
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.8, at assets/css/modules/spending-goal/spending-goal.css

167 lines 4.4 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 position: fixed;
30 left: calc(var(--merchant-content-width) * -1);
31 bottom: 30px;
32 z-index: 99999;
33 -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.07);
34 box-shadow: 0 4px 4px rgba(0, 0, 0, 0.07);
35 overflow: hidden;
36 -webkit-transition: all 1s;
37 transition: all 1s;
38 display: -webkit-box;
39 display: -ms-flexbox;
40 display: flex;
41 background: var(--merchant-content-bg-color);
42 border-radius: 10px;
43 cursor: pointer;
44 }
45 .merchant-spending-goal-widget:hover {
46 opacity: 0.6;
47 }
48 .merchant-spending-goal-widget.active {
49 left: 0;
50 }
51 .merchant-spending-goal-widget.active .merchant-spending-goal-widget-label {
52 width: 0;
53 }
54 .merchant-spending-goal-widget.active .merchant-spending-goal-widget-label-content {
55 opacity: 0;
56 }
57
58 .merchant-spending-goal-widget-text {
59 font-size: 13px;
60 color: var(--merchant-content-text-color);
61 }
62
63 .merchant-spending-goal-widget-content {
64 padding: 20px;
65 width: var(--merchant-content-width);
66 display: -webkit-box;
67 display: -ms-flexbox;
68 display: flex;
69 -webkit-box-orient: vertical;
70 -webkit-box-direction: normal;
71 -ms-flex-direction: column;
72 flex-direction: column;
73 -webkit-box-align: center;
74 -ms-flex-align: center;
75 align-items: center;
76 text-align: center;
77 }
78
79 .merchant-spending-goal-widget-label-content {
80 -webkit-transition: opacity 1s;
81 transition: opacity 1s;
82 opacity: 1;
83 font-weight: bold;
84 font-size: 14px;
85 }
86
87 .merchant-spending-goal-widget-progress-bar {
88 height: 18px;
89 padding: 3px;
90 margin-top: 5px;
91 width: 80%;
92 background: #393939;
93 border-radius: 15px;
94 }
95
96 .merchant-spending-goal-widget-progress-bar-content {
97 overflow: hidden;
98 border-radius: 15px 0 0 15px;
99 height: 100%;
100 -webkit-transition: all 1s;
101 transition: all 1s;
102 }
103
104 .merchant-spending-goal-widget-progress-bar-filled {
105 width: 100%;
106 height: 100%;
107 border-radius: 15px 0 0 15px;
108 display: block;
109 -webkit-box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
110 box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
111 position: relative;
112 background: var(--merchant-progress-bar);
113 -webkit-animation: merchant-spending-goal-progress-bar 1.5s;
114 animation: merchant-spending-goal-progress-bar 1.5s;
115 }
116 .merchant-spending-goal-widget-progress-bar-filled:after {
117 content: "";
118 position: absolute;
119 top: 0;
120 left: 0;
121 bottom: 0;
122 right: 0;
123 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);
124 z-index: 1;
125 background-size: 50px 50px;
126 -webkit-animation: merchant-spending-goal-progress-bar-spin 2s linear infinite;
127 animation: merchant-spending-goal-progress-bar-spin 2s linear infinite;
128 overflow: hidden;
129 }
130
131 @-webkit-keyframes merchant-spending-goal-progress-bar {
132 0% {
133 -webkit-transform: translateX(-70%);
134 transform: translateX(-70%);
135 }
136 100% {
137 -webkit-transform: translateX(0);
138 transform: translateX(0);
139 }
140 }
141
142 @keyframes merchant-spending-goal-progress-bar {
143 0% {
144 -webkit-transform: translateX(-70%);
145 transform: translateX(-70%);
146 }
147 100% {
148 -webkit-transform: translateX(0);
149 transform: translateX(0);
150 }
151 }
152 @-webkit-keyframes merchant-spending-goal-progress-bar-spin {
153 0% {
154 background-position: 0 0;
155 }
156 100% {
157 background-position: 50px 50px;
158 }
159 }
160 @keyframes merchant-spending-goal-progress-bar-spin {
161 0% {
162 background-position: 0 0;
163 }
164 100% {
165 background-position: 50px 50px;
166 }
167 }