PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 1.3
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v1.3
3.6.0 3.5.0 trunk 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.6.1 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 All 110 releases
buttonizer-multifunctional-button / freemius / assets / scss / admin / _modal-common.scss

_modal-common.scss in Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder 1.3, at freemius/assets/scss/admin/_modal-common.scss

186 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 }
123
124 .fs-modal-body {
125 border-bottom: 0;
126
127 p {
128 font-size: 14px;
129 }
130
131 h2 {
132 font-size: 20px;
133 line-height: 1.5em;
134 }
135
136 > div {
137 margin-top: 10px;
138
139 h2 {
140 font-weight: bold;
141 font-size: 20px;
142 margin-top: 0;
143 }
144 }
145 }
146
147 .fs-modal-footer {
148 border-top: #eeeeee solid 1px;
149 text-align: right;
150
151 > .button {
152 margin: 0 7px;
153
154 &:first-child {
155 margin: 0;
156 }
157 }
158 }
159
160 .fs-modal-panel {
161 > .notice.inline {
162 margin: 0;
163 display: none;
164 }
165
166 &:not(.active) {
167 display: none;
168 }
169 }
170 }
171
172 .rtl
173 {
174 .fs-modal {
175 .fs-modal-header {
176 .fs-close {
177 right: auto;
178 left: 20px;
179 }
180 }
181 }
182 }
183
184 body.has-fs-modal {
185 overflow: hidden;
186 }