| 1 |
.uwp_page { |
| 2 |
.uwp-modal { |
| 3 |
box-sizing: border-box; |
| 4 |
display: table; |
| 5 |
width: 80%; |
| 6 |
position: fixed; |
| 7 |
background-color: #fff; |
| 8 |
top: 30%; |
| 9 |
left: 10%; |
| 10 |
border: 4px dashed #bbb; |
| 11 |
z-index: 9999; |
| 12 |
} |
| 13 |
|
| 14 |
.uwp_upload_button { |
| 15 |
margin: 30px auto; |
| 16 |
display: block; |
| 17 |
} |
| 18 |
|
| 19 |
.uwp-modal-content-wrap { |
| 20 |
position: relative; |
| 21 |
z-index: 6; |
| 22 |
overflow: hidden; |
| 23 |
background: #fff; |
| 24 |
border-radius: 6px; |
| 25 |
max-height: 400px; |
| 26 |
overflow-y: scroll; |
| 27 |
} |
| 28 |
|
| 29 |
.uwp-modal-title { |
| 30 |
margin: 0; |
| 31 |
background: #fff; |
| 32 |
-webkit-border-radius: 6px 6px 0 0; |
| 33 |
border-bottom: 4px dashed #bbb; |
| 34 |
padding-bottom: 11px |
| 35 |
} |
| 36 |
|
| 37 |
.uwp-modal-title h2 { |
| 38 |
margin: 0 20px 0 0; |
| 39 |
font-size: 18px; |
| 40 |
line-height: 1.33333em; |
| 41 |
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); |
| 42 |
font-weight: bold; |
| 43 |
} |
| 44 |
|
| 45 |
.uwp-modal-content, |
| 46 |
.uwp-modal-title { |
| 47 |
padding: 12px 18px; |
| 48 |
} |
| 49 |
|
| 50 |
.uwp-modal-close-x { |
| 51 |
cursor: pointer; |
| 52 |
position: absolute; |
| 53 |
right: 28px; |
| 54 |
top: 20px; |
| 55 |
z-index: 9; |
| 56 |
} |
| 57 |
|
| 58 |
#save_uwp_avatar, |
| 59 |
#save_uwp_banner { |
| 60 |
float: left; |
| 61 |
} |
| 62 |
#uwp-avatar-to-crop { |
| 63 |
float: left; |
| 64 |
margin: 0 auto 20px; |
| 65 |
text-align: left; |
| 66 |
} |
| 67 |
.uwp-modal-content .jcrop-holder { |
| 68 |
float: left; |
| 69 |
margin: 0 20px 20px auto; |
| 70 |
text-align: left; |
| 71 |
} |
| 72 |
.uwp-avatar-crop-p-wrap { |
| 73 |
float: left; |
| 74 |
clear: none; |
| 75 |
padding-top: 0; |
| 76 |
overflow: hidden; |
| 77 |
text-align: center; |
| 78 |
} |
| 79 |
#uwp-modal-backdrop { |
| 80 |
position: fixed; |
| 81 |
top: 0; |
| 82 |
right: 0; |
| 83 |
bottom: 0; |
| 84 |
left: 0; |
| 85 |
z-index: 1040; |
| 86 |
background-color: #000; |
| 87 |
opacity: 0.5; |
| 88 |
} |
| 89 |
#uwp-avatar-crop-pane, |
| 90 |
#uwp-banner-crop-pane { |
| 91 |
overflow: hidden; |
| 92 |
img { |
| 93 |
max-width: none; |
| 94 |
max-height: none |
| 95 |
} |
| 96 |
} |
| 97 |
.uwp-modal-content .jcrop-holder img { |
| 98 |
max-width: none; |
| 99 |
} |
| 100 |
.jcrop-keymgr { |
| 101 |
opacity: 0; |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
.uwp_page { |
| 106 |
.uwp-bs-modal-open { |
| 107 |
overflow: hidden; |
| 108 |
} |
| 109 |
|
| 110 |
.uwp-bs-modal { |
| 111 |
position: fixed; |
| 112 |
top: 0; |
| 113 |
right: 0; |
| 114 |
bottom: 0; |
| 115 |
left: 0; |
| 116 |
z-index: 1050; |
| 117 |
display: block; |
| 118 |
//overflow: hidden; |
| 119 |
overflow-x: hidden; |
| 120 |
overflow-y: auto; |
| 121 |
outline: 0; |
| 122 |
&.uwp_fade .uwp-bs-modal-dialog { |
| 123 |
-webkit-transition: -webkit-transform .3s ease-out; |
| 124 |
-o-transition: -o-transform .3s ease-out; |
| 125 |
transition: transform .3s ease-out; |
| 126 |
-webkit-transform: translate(0,-25%); |
| 127 |
-ms-transform: translate(0,-25%); |
| 128 |
-o-transform: translate(0,-25%); |
| 129 |
transform: translate(0,-25%); |
| 130 |
} |
| 131 |
&.uwp_show .uwp-bs-modal-dialog { |
| 132 |
-webkit-transform: translate(0,0); |
| 133 |
-ms-transform: translate(0,0); |
| 134 |
-o-transform: translate(0,0); |
| 135 |
transform: translate(0,0); |
| 136 |
} |
| 137 |
input[type="submit"]="submit""], |
| 138 |
button.uwp_modal_btn { |
| 139 |
padding: 0.75em 2em; |
| 140 |
line-height:1; |
| 141 |
font-size: 14px; |
| 142 |
} |
| 143 |
} |
| 144 |
.uwp-bs-modal-open .uwp-bs-modal { |
| 145 |
overflow-x: hidden; |
| 146 |
overflow-y: auto; |
| 147 |
} |
| 148 |
|
| 149 |
.uwp-bs-modal-dialog { |
| 150 |
position: relative; |
| 151 |
width: auto; |
| 152 |
margin: 10px; |
| 153 |
} |
| 154 |
|
| 155 |
.close { |
| 156 |
float: right; |
| 157 |
font-size: 21px; |
| 158 |
font-weight: 700; |
| 159 |
line-height: 1; |
| 160 |
color: #000; |
| 161 |
text-shadow: 0 1px 0 #fff; |
| 162 |
filter: alpha(opacity=20); |
| 163 |
opacity: .2; |
| 164 |
padding: 0; |
| 165 |
} |
| 166 |
button.close { |
| 167 |
-webkit-appearance: none; |
| 168 |
padding: 0; |
| 169 |
cursor: pointer; |
| 170 |
background: 0 0; |
| 171 |
border: 0; |
| 172 |
} |
| 173 |
.modal-header .close { |
| 174 |
margin-top: -2px; |
| 175 |
} |
| 176 |
|
| 177 |
.uwp-bs-modal-content { |
| 178 |
position: relative; |
| 179 |
display: flex; |
| 180 |
flex-direction: column; |
| 181 |
background-color: #fff; |
| 182 |
background-clip: padding-box; |
| 183 |
border: 1px solid rgba(0,0,0,.2); |
| 184 |
border-radius: 6px; |
| 185 |
-webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5); |
| 186 |
box-shadow: 0 3px 9px rgba(0,0,0,.5); |
| 187 |
outline: 0; |
| 188 |
} |
| 189 |
|
| 190 |
.uwp-bs-modal-backdrop { |
| 191 |
position: fixed; |
| 192 |
top: 0; |
| 193 |
right: 0; |
| 194 |
bottom: 0; |
| 195 |
left: 0; |
| 196 |
z-index: 1040; |
| 197 |
background-color: #000; |
| 198 |
|
| 199 |
&.uwp_fade { opacity: 0; } |
| 200 |
&.uwp_show { opacity: .5; } |
| 201 |
} |
| 202 |
|
| 203 |
.uwp-bs-modal-header { |
| 204 |
display: flex; |
| 205 |
align-items: center; |
| 206 |
justify-content: space-between; |
| 207 |
padding: 15px; |
| 208 |
border-bottom: 1px solid #e5e5e5; |
| 209 |
} |
| 210 |
|
| 211 |
.uwp-bs-modal-title { |
| 212 |
margin: 0; |
| 213 |
padding: 0; |
| 214 |
line-height: 1.42857143; |
| 215 |
} |
| 216 |
|
| 217 |
.uwp-bs-modal-body { |
| 218 |
position: relative; |
| 219 |
flex: 1 1 auto; |
| 220 |
padding: 15px; |
| 221 |
} |
| 222 |
|
| 223 |
.uwp-bs-modal-footer { |
| 224 |
display: flex; |
| 225 |
align-items: center; |
| 226 |
justify-content: flex-end; |
| 227 |
padding: 15px; |
| 228 |
border-top: 1px solid #e5e5e5; |
| 229 |
|
| 230 |
> :not(:first-child) { margin-left: .25rem; } |
| 231 |
> :not(:last-child) { margin-right: .25rem; } |
| 232 |
} |
| 233 |
|
| 234 |
.uwp-bs-modal-scrollbar-measure { |
| 235 |
position: absolute; |
| 236 |
top: -9999px; |
| 237 |
width: 50px; |
| 238 |
height: 50px; |
| 239 |
overflow: scroll; |
| 240 |
} |
| 241 |
|
| 242 |
@media (min-width: 768px) { |
| 243 |
.uwp-bs-modal-dialog { |
| 244 |
width: 600px; |
| 245 |
margin: 50px auto; |
| 246 |
} |
| 247 |
} |
| 248 |
@media (min-width: 1024px) { |
| 249 |
.uwp-bs-modal-dialog { |
| 250 |
width: 700px; |
| 251 |
margin: 50px auto; |
| 252 |
} |
| 253 |
} |
| 254 |
} |
| 255 |
.uwp-bs-modal-loading-icon-wrap { |
| 256 |
text-align: center; |
| 257 |
padding: 70px 0; |
| 258 |
} |
| 259 |
.uwp-bs-modal-loading-icon { |
| 260 |
width: 32px; |
| 261 |
height: 32px; |
| 262 |
margin: 0 auto; |
| 263 |
background-image: url("../../images/loading.gif"); |
| 264 |
} |
| 265 |
.uwp-crop-form input[type="submit"]="submit""]:disabled { |
| 266 |
opacity: .5; |
| 267 |
} |
| 268 |
.uwp-bs-modal, |
| 269 |
.uwp-pb-wrapper { |
| 270 |
#progressBar { |
| 271 |
height: 5px; |
| 272 |
width: 100%; |
| 273 |
border: 1px solid #111; |
| 274 |
background-color: #292929; |
| 275 |
} |
| 276 |
|
| 277 |
#progressBar div { |
| 278 |
height: 100%; |
| 279 |
color: #fff; |
| 280 |
text-align: right; |
| 281 |
line-height: 22px; /* same as #progressBar height if we want text middle aligned */ |
| 282 |
width: 0; |
| 283 |
background-color: #0099ff; |
| 284 |
} |
| 285 |
.tiny-green { |
| 286 |
position: relative; |
| 287 |
padding: 3px; |
| 288 |
|
| 289 |
background-image:-moz-linear-gradient(53% 13% -90deg,rgb(58,64,80) 0%,rgb(58,64,80) 47%,rgb(46,50,62) 48%,rgb(46,50,62) 100%); |
| 290 |
background-image:-webkit-gradient(linear,53% 13%,53% 79%,color-stop(0, rgb(58,64,80)),color-stop(0.47, rgb(58,64,80)),color-stop(0.48, rgb(46,50,62)),color-stop(1, rgb(46,50,62))); |
| 291 |
background-image:-webkit-linear-gradient(-90deg,rgb(58,64,80) 0%,rgb(58,64,80) 47%,rgb(46,50,62) 48%,rgb(46,50,62) 100%); |
| 292 |
background-image:linear-gradient(-180deg,rgb(58,64,80) 0%,rgb(58,64,80) 47%,rgb(46,50,62) 48%,rgb(46,50,62) 100%); |
| 293 |
|
| 294 |
-moz-border-radius: 10px; /* Firefox */ |
| 295 |
-webkit-border-radius: 10px; /* Webkit */ |
| 296 |
border-radius: 10px; |
| 297 |
} |
| 298 |
|
| 299 |
.tiny-green div { |
| 300 |
font-size: 3px; |
| 301 |
color: white; |
| 302 |
text-align: right; |
| 303 |
text-shadow: 0 0 2px #000; |
| 304 |
text-indent: 9999px; |
| 305 |
overflow: hidden; |
| 306 |
|
| 307 |
background-image:-webkit-gradient(linear,71% 25%,71% 69%,color-stop(0, rgb(118,177,1)),color-stop(0.47, rgb(118,177,1)),color-stop(0.48, rgb(102,153,0)),color-stop(1, rgb(102,153,0))); |
| 308 |
background-image:-webkit-linear-gradient(-90deg,rgb(118,177,1) 0%,rgb(118,177,1) 47%,rgb(102,153,0) 48%,rgb(102,153,0) 100%); |
| 309 |
background-image:-moz-linear-gradient(71% 25% -180deg,rgb(118,177,1) 0%,rgb(118,177,1) 47%,rgb(102,153,0) 48%,rgb(102,153,0) 100%); |
| 310 |
background-image:linear-gradient(-180deg,rgb(118,177,1) 0%,rgb(118,177,1) 47%,rgb(102,153,0) 48%,rgb(102,153,0) 100%); |
| 311 |
|
| 312 |
-moz-border-radius: 10px; /* Firefox */ |
| 313 |
-webkit-border-radius: 10px; /* Webkit */ |
| 314 |
border-radius: 10px; |
| 315 |
} |
| 316 |
} |