PluginProbe
MaxButtons – Create buttons / 6.26.1
MaxButtons – Create buttons v6.26.1
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / assets / scss / _maxmodal.scss

_maxmodal.scss in MaxButtons – Create buttons 6.26.1, at assets/scss/_maxmodal.scss

159 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 .maxmodal-data {
3 display: none;
4 }
5
6 body.max-modal-active {
7 overflow: hidden;
8
9 }
10
11 .max-modal {
12 display: none;
13 width: 60%;
14 max-width: 70%;
15 height: auto;
16 max-height: 90vh;
17 overflow: hidden;
18
19 position: fixed;
20 left: 50%;
21 top: 50%;
22 //overflow-y: auto;
23 z-index: 100101; // just trying to stay on top, don't blame me.
24
25 &.fullscreen {
26 width: auto;
27 max-width: auto;
28 max-height: auto;
29 left: 10px;
30 right: 10px;
31 top: 10px;
32 bottom: 10px;
33
34
35 }
36
37 display: none;
38 background: #ffffff;
39
40 @include border-radius(4px, 4px,4px,4px);
41 @include box-shadow( -3px, -3px, 10px, rgba(0,0 , 0, 0.5) );
42
43 @include bp(960)
44 {
45 max-width: 90%
46
47 }
48 @include bp(780)
49 {
50 max-width: 100%;
51 }
52 &.success {
53 //borer: solgreen;
54 border: 4px solid green;
55
56 }
57 &.error {
58 border: 4px solid red;
59 h3 { background-color: #ff0000;}
60 }
61
62 .content-area {
63 background-color: #fff;
64
65 }
66
67 .modal_header {
68 text-align: center;
69 font-size: 16px;
70 font-weight: 700;
71 background-color: #f3f3f3;
72 border-bottom: 1px solid #ccc;
73 padding: 8px 5px;
74 cursor: move;
75
76 h3 {
77 margin: 0;
78 color: #444;
79 font-weight: 400;
80 padding: 0;
81 text-align: center;
82 text-shadow: none;
83 font-size: 16px;
84 }
85
86 .modal_close {
87 position: absolute;
88 right: 5px;
89 top: 8px;
90 width: 20px;
91 height: 20px;
92 cursor: pointer;
93 color: #444;
94 &:hover {
95 cursor: pointer;
96 color: #111;
97 }
98 }
99 }
100 .content, .modal_content {
101 text-align: center;
102 padding: 5px 15px 10px;
103 //display: inline-block;
104 height: 100%;
105 //margin-top: -40px;
106 overflow-y: auto;
107 }
108 textarea { overflow-x: auto; }
109 .controls {
110 padding: 10px;
111 text-align: center;
112 clear: both;
113 .button, .button-primary
114 {
115 margin-right: 8px;
116 }
117 }
118
119 /* Fixes for Beaver Builder, which loads without WP backend styles */
120 .tablenav .tablenav-pages a, .tablenav-pages-navspan {
121 background: #e5e5e5 none repeat scroll 0 0;
122 border: 1px solid #cccccc;
123 display: inline-block;
124 font-size: 16px;
125 font-weight: normal;
126 line-height: 1;
127 min-width: 17px;
128 padding: 3px 5px 7px;
129 text-align: center;
130 }
131
132 }
133
134
135 .max-modal textarea#maxbutton-css {
136 width: 100%;
137 height: 250px;
138 font-family: Consolas, 'Courier New', 'Courier';
139 font-size: 13px;
140 white-space: normal;
141 word-wrap: break-word;
142 overflow: none;
143 }
144
145 .maxmodal_overlay
146 {
147 background: #000;
148 left: 0;
149 right: 0;
150 bottom: 0;
151 top: 0;
152 height: 100%;
153 position: fixed;
154 opacity : 0.7;
155 z-index: 100100;
156 display: none;
157
158 }
159