One Hat Cyber Team
Your IP :
172.70.50.39
Server IP :
188.114.96.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
theme
/
dev
/
components
/
select2
/
View File Name :
select2.scss
@import "../bootstrap/scss/_functions"; @import "../base/_functions"; @import "../base/_variables"; @import "../bootstrap/scss/_variables"; @import "../bootstrap/scss/_mixins"; // Variables $select2: ( input-height: $input-height, input-fsz: $input-font-size, input-side-indent: $input-padding-x, input-border-color: $input-border-color, input-border-width: $input-border-width, input-border-radius: $input-border-radius, background-default: $input-bg, color-default: $input-color, background-selected: $primary, color-selected: $white, background-disabled: $input-disabled-bg, color-disabled: lighten( $input-color, 15% ) ); $select2-CONST: ( input-single-right-indent: px-to-rem( 30px ), input-multiple-indentation: px-to-rem( 4px ), ); $select2-CONST: map-merge( $select2-CONST, (input-multiple-height: map-get( $select2, input-fsz ) + map-get( $select2-CONST, input-multiple-indentation ) * 4) ); // Custom styles .select2-container { position: relative; display: inline-block; width: 100% !important; margin: 0; vertical-align: middle; box-sizing: border-box; @import "select2/single"; @import "select2/multiple"; .has-error & { outline: 1px dashed red; } } @import "select2/dropdown"; .select2-close-mask { border: 0; margin: 0; padding: 0; display: block; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: $zindex-popover; // styles required for IE to work background-color: #fff; filter: alpha(opacity=0); } .select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; height: 1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; white-space: nowrap !important; } @import "select2/theme/layout"; // Context dark .context-dark { .select2 { .select2-selection--single { background-color: $gray-800; .select2-selection__rendered { color: $white; border-color: $gray-800; } .select2-selection__placeholder { color: $white; } .select2-selection__arrow { b { border-color: rgba( $white, .3 ) transparent transparent transparent; } } } &.select2-container--open { .select2-selection--single { .select2-selection__arrow { b { border-color: transparent transparent rgba( $white, .3 ) transparent; } } } } } } .select-2-dark { padding-bottom: px-to-rem( 15px ); color: rgba( $white, .8 ); background-color: $gray-800; border-color: $gray-800 !important; .select2-results__options { margin-top: px-to-rem( -8px ); } .select2-results__option + .select2-results__option { margin-top: px-to-rem( 5px ); } } // Select creative .select2-creative { position: relative; text-align: left; margin-bottom: 0; .select2-container--default { .select2-selection--single { display: flex; align-items: center; height: px-to-rem( 70px ); .select2-selection__rendered { padding-left: px-to-rem( 40px ); padding-right: px-to-rem( 110px ); font-size: $font-size-lg; } .select2-selection__arrow { right: auto; left: px-to-rem( 18px ); b { margin-top: -4px; border-width: 7px 4px 0; } } } } .select2-creative-btn { position: absolute; right: 8px; top: 8px; bottom: 8px; min-width: px-to-rem( 100px ); margin: 0; } } .context-dark { .select2-creative { .select2-creative-btn { color: $white; border-color: $white; &:hover { background-color: $primary; border-color: $primary; } } .select2-container--open { .select2-selection--single { .select2-selection__arrow { b { border-color: rgba( $white, .3 ) transparent transparent transparent; } } } } } } // Media @include media-breakpoint-up( xxl ) { .select2-creative { max-width: 426px; margin-left: auto; } }