PluginProbe
Tiered Pricing Table for WooCommerce / 2.2.0
Tiered Pricing Table for WooCommerce v2.2.0
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / freemius / assets / scss / admin / _modal-common.scss

_modal-common.scss in Tiered Pricing Table for WooCommerce 2.2.0, at freemius/assets/scss/admin/_modal-common.scss

194 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../colors";
2 @import "../mixins";
3
4 .fs-modal {
5 position: fixed;
6 overflow: auto;
7 height: 100%;
8 width: 100%;
9 top: 0;
10 z-index: 100000;
11 display: none;
12 background: rgba(0, 0, 0, 0.6);
13
14 .fs-modal-dialog {
15 background: transparent;
16 position: absolute;
17 left: 50%;
18 margin-left: -298px;
19 padding-bottom: 30px;
20 top: -100%;
21 z-index: 100001;
22 width: 596px;
23
24 @media (max-width: 650px) {
25 margin-left: -50%;
26 box-sizing: border-box;
27 padding-left: 10px;
28 padding-right: 10px;
29 width: 100%;
30
31 .fs-modal-panel > h3 > strong {
32 font-size: 1.3em;
33 }
34 }
35 }
36
37 &.active {
38 display: block;
39
40 &:before {
41 display: block;
42 }
43
44 .fs-modal-dialog {
45 top: 10%;
46 }
47 }
48
49 &.fs-success {
50 .fs-modal-header {
51 border-bottom-color: $wp-notice-success-dark-color;
52 }
53
54 .fs-modal-body {
55 background-color: $wp-notice-success-color;
56 }
57 }
58
59 &.fs-warn {
60 .fs-modal-header {
61 border-bottom-color: $wp-notice-warn-dark-color;
62 }
63
64 .fs-modal-body {
65 background-color: $wp-notice-warn-color;
66 }
67 }
68
69 &.fs-error {
70 .fs-modal-header {
71 border-bottom-color: $wp-notice-error-dark-color;
72 }
73
74 .fs-modal-body {
75 background-color: $wp-notice-error-color;
76 }
77 }
78
79
80 .fs-modal-body,
81 .fs-modal-footer {
82 border: 0;
83 background: #fefefe;
84 padding: 20px;
85 }
86
87 .fs-modal-header {
88 border-bottom: #eeeeee solid 1px;
89 background: #fbfbfb;
90 padding: 15px 20px;
91 position: relative;
92 margin-bottom: -10px;
93 // z-index: 2;
94
95 h4 {
96 margin: 0;
97 padding: 0;
98 text-transform: uppercase;
99 font-size: 1.2em;
100 font-weight: bold;
101 color: #cacaca;
102 text-shadow: 1px 1px 1px #fff;
103 letter-spacing: 0.6px;
104 -webkit-font-smoothing: antialiased;
105 }
106
107 .fs-close {
108 position: absolute;
109 right: 10px;
110 top: 12px;
111 cursor: pointer;
112 color: #bbb;
113 @include border-radius(20px);
114 padding: 3px;
115 @include transition(all 0.2s ease-in-out);
116
117 &:hover {
118 color: #fff;
119 background: #aaa;
120 }
121
122 &, &:hover
123 {
124 .dashicons
125 {
126 text-decoration: none;
127 }
128 }
129 }
130 }
131
132 .fs-modal-body {
133 border-bottom: 0;
134
135 p {
136 font-size: 14px;
137 }
138
139 h2 {
140 font-size: 20px;
141 line-height: 1.5em;
142 }
143
144 > div {
145 margin-top: 10px;
146
147 h2 {
148 font-weight: bold;
149 font-size: 20px;
150 margin-top: 0;
151 }
152 }
153 }
154
155 .fs-modal-footer {
156 border-top: #eeeeee solid 1px;
157 text-align: right;
158
159 > .button {
160 margin: 0 7px;
161
162 &:first-child {
163 margin: 0;
164 }
165 }
166 }
167
168 .fs-modal-panel {
169 > .notice.inline {
170 margin: 0;
171 display: none;
172 }
173
174 &:not(.active) {
175 display: none;
176 }
177 }
178 }
179
180 .rtl
181 {
182 .fs-modal {
183 .fs-modal-header {
184 .fs-close {
185 right: auto;
186 left: 20px;
187 }
188 }
189 }
190 }
191
192 body.has-fs-modal {
193 overflow: hidden;
194 }