@import "./css-less-variables/common-import.less"; /* Version: 4.0.3 */ .select2-container { box-sizing: border-box; display: inline-block; margin: 0; position: relative; vertical-align: middle; font-size: 15px; .select2-selection--single { box-sizing: border-box; cursor: pointer; display: block; height: 28px; user-select: none; -webkit-user-select: none; transition: box-shadow .25s; box-shadow: 0 0 0 1px #B2B2B8; margin: 1px; .select2-selection__rendered { display: block; padding-left: 10px; padding-right: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .select2-selection__clear { position: relative; } } .select2-selection--multiple { box-sizing: border-box; cursor: pointer; display: block; min-height: 44px; user-select: none; -webkit-user-select: none; .select2-selection__rendered { display: inline-block; overflow: hidden; padding-left: 8px; text-overflow: ellipsis; white-space: nowrap; } } .select2-search--inline { float: left; .select2-search__field { box-sizing: border-box; border: none; font-size: 100%; margin-top: 5px; padding: 0; &::-webkit-search-cancel-button { -webkit-appearance: none; } } } } .select2-container[dir="rtl"] { .select2-selection--single { .select2-selection__rendered { padding-right: 8px; padding-left: 30px; } .select2-selection__rendered:lang(ar) { //padding-left: 0; } } } .select2-dropdown { background-color: white; box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2); box-sizing: border-box; display: block; position: absolute; left: -100000px; width: 100%; z-index: 1051; } .select2-results { display: block; } .select2-results__options { list-style: none; margin: 0; padding: 0; } .select2-results__option[aria-selected] { cursor: pointer; white-space: nowrap; [lang="ar"] & { white-space: normal !important; } } .select2-results__option--highlighted[aria-selected] { color:@wos-gray-2; background-color: #E3EDF7; } .select2-results__option { display: block; text-decoration: none; color:@wos-gray-2; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; font-size: 14px; line-height: 14px; padding: 8px; padding-left: 11px; } .select2-container--open { .select2-dropdown { left: 0; } .select2-dropdown--above { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-dropdown--below { border-top-left-radius: 0; border-top-right-radius: 0; } } .select2-search--dropdown { display: block; padding: 4px; .select2-search__field { padding: 4px; width: 100%; box-sizing: border-box; &::-webkit-search-cancel-button { -webkit-appearance: none; } } } .select2-search--dropdown.select2-search--hide { display: none; } .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: 99; background-color: #fff; filter: alpha(opacity=0); } .select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; } .select2-container--default { .select2-selection--single { background-color: #fff; border: none; border-radius: 2px; box-shadow: 0 0 0 1px #B2B2B8; outline: 0; .select2-selection__rendered { color:@wos-gray-2; line-height: 28px; text-align: left; font-size: 14px; } .select2-selection__rendered:lang(ar) { text-align: right; } .select2-selection__clear { cursor: pointer; float: right; font-weight: 600; } .select2-selection__placeholder { color: inherit; } .select2-selection__arrow { width: 30px; } } .select2-selection--multiple { background-color: white; border: 1px solid #aaa; border-radius: 4px; cursor: text; .select2-selection__rendered { box-sizing: border-box; list-style: none; margin: 0; padding: 0 5px; width: 100%; li { list-style: none; } } .select2-selection__placeholder { color: #999; margin-top: 5px; float: left; } .select2-selection__clear { cursor: pointer; float: right; font-weight: 600; margin-top: 5px; margin-right: 10px; } .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; &:focus { background-color: red; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; } } .select2-selection__choice__remove { color: #999; cursor: pointer; display: inline-block; font-weight: 600; margin-right: 2px; &:hover { color: #333; } } } .select2-search--dropdown { .select2-search__field { border: 1px solid #aaa; } } .select2-search--inline { .select2-search__field { background: transparent; border: none; outline: 0; box-shadow: none; -webkit-appearance: textfield; } } .select2-results { >.select2-results__options { max-height: 200px; overflow-y: auto; padding-top: 4px; padding-bottom: 4px; } } .select2-results__option[role=group] { padding: 0; } .select2-results__option[aria-disabled=true] { color: #999; } .select2-results__option[aria-selected=true] { color:@wos-gray-2; } .select2-results__option { .select2-results__option { padding-left: 1em; .select2-results__group { padding-left: 0; } .select2-results__option { margin-left: -1em; padding-left: 2em; .select2-results__option { margin-left: -2em; padding-left: 3em; .select2-results__option { margin-left: -3em; padding-left: 4em; .select2-results__option { margin-left: -4em; padding-left: 5em; .select2-results__option { margin-left: -5em; padding-left: 6em; } } } } } } } .select2-results__option--highlighted[aria-selected] { color:@wos-gray-2; white-space: nowrap; } .select2-results__group { cursor: default; display: block; padding: 6px; } } .saveToButton { .select2-container { .select2-container--default { .select2-container--focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } .select2-container--default { .select2-selection--single { .select2-selection__arrow { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } .select2-selection__rendered { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } } .select2-results__option--highlighted[aria-selected] { color:@wos-gray-2; background-color: #E3EDF7; } .select2-results__option--highlighted { color:@wos-gray-2; font-weight: normal; } .select2-results__option { cursor: pointer; white-space: nowrap; font-weight: 600; color: #000000; } } .cr_saveToButton { .select2-container { .select2-container--default { .select2-container--focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } .select2-container--default { .select2-selection--single { .select2-selection__arrow { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } .select2-selection__rendered { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } } } .cr_saveToButton_top { .select2-container { .select2-container--default { .select2-container--focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } .select2-container--default { .select2-selection--single { .select2-selection__arrow { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } .select2-selection__rendered { &:focus { box-shadow: 0 0 4px 2px #23799E; -webkit-box-shadow: 0 0 4px 2px #23799E; -moz-box-shadow: 0 0 4px 2px #23799E; } } } } } .select2-container--default[dir="rtl"] { .select2-selection--single { .select2-selection__clear { float: left; } .select2-selection__arrow { left: 1px; right: auto; } } .select2-selection--multiple { .select2-selection__choice { float: right; margin-left: 5px; margin-right: auto; } .select2-selection__placeholder { float: right; } .select2-search--inline { float: right; } .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } } } .select2-container--default.select2-container--disabled { .select2-selection--single { background-color: #eee; opacity: 0.5; cursor: default; .select2-selection__clear { display: none; } } .select2-selection--multiple { background-color: #eee; opacity: 0.5; cursor: default; } .select2-selection__choice__remove { display: none; } } .select2-container--default.select2-container--focus { .select2-selection--multiple { outline: 0; } } .select2-container--default.select2-container--open.select2-container--above { .select2-selection--single { border-top-left-radius: 0; border-top-right-radius: 0; } .select2-selection--multiple { border-top-left-radius: 0; border-top-right-radius: 0; } } .select2-container--default.select2-container--open.select2-container--below { .select2-selection--single { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-selection--multiple { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } } .select2-container--yeardropdown { #timespan &:first-of-type { min-width: 210px !important; width: inherit !important; } .select2-selection--single { background-color: #fff; border-radius: 2px; font-size: 15px; outline: 0; .select2-selection__arrow { width: 30px; } .select2-selection__rendered { color:@wos-gray-2; line-height: 28px; font-size: 14px; padding-right: 30px !important; } .select2-selection__rendered:lang(ar) { padding-right: 8px !important; } } .select2-dropdown.select2-dropdown--below { left: 0; top: 0px; } .select2-results__option--highlighted[aria-selected] { color:@wos-gray-2; white-space: nowrap; background-color: #E3EDF7; } .select2-results__option[aria-selected="true"] { color:@wos-gray-2; } .select2-results { >.select2-results__options { max-height: 210px; overflow-y: auto; padding-top: 4px; padding-bottom: 4px; } } .select2-results__option { display: block; text-decoration: none; color:@wos-gray-2; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; font-size: 14px; line-height: 14px; padding: 8px; padding-left: 11px; } } .select2-container--medium, .select2-container--andornot { .select2-selection--single { height: 42px; background-color: #fff; border-radius: 2px; outline: 0; .select2-selection__rendered { color:@wos-gray-2; line-height: 42px; font-size: 16px; } } .select2-dropdown.select2-dropdown--below { left: 0; top: 0px; } .select2-results__option--highlighted[aria-selected] { font-weight: normal; color:@wos-gray-2; } .select2-results__option[aria-selected="true"] { font-weight: normal; color:@wos-gray-2; } .select2-results { >.select2-results__options { max-height: 220px; overflow-y: auto; padding-top: 4px; padding-bottom: 4px; } } } .select2-container--andornot * { text-transform: lowercase; &::first-letter{ text-transform: uppercase; } } .select2-container.select2-container--dbselect { border-radius: 2px; } .select2-container--dbselect { .select2-selection--single { box-sizing: border-box; cursor: pointer; display: block; height: 42px; user-select: none; -webkit-user-select: none; position: relative; width: 398px; margin: 0 auto; padding: 9px 10px; padding-right: 40px; line-height: 24px; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px @border-color; transition: box-shadow .25s; outline: none; font-size: 16px; color: #000; font-weight: normal; //font-family: @font-family; .select2-selection__rendered { color:@wos-gray-2; line-height: 24px; padding: 0; overflow: hidden; .RegMark { line-height: 24px !important; } } .select2-selection__clear { cursor: pointer; float: right; font-weight: 600; } .select2-selection__placeholder { color: #999; } } .select2-selection--multiple { background-color: white; border: 1px solid @border-color; border-radius: 3px; cursor: text; .select2-selection__rendered { box-sizing: border-box; list-style: none; margin: 0; padding: 0 5px; width: 100%; li { list-style: none; } } .select2-selection__placeholder { color: #999; margin-top: 5px; float: left; } .select2-selection__clear { cursor: pointer; float: right; font-weight: 600; margin-top: 5px; margin-right: 10px; } .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; } .select2-selection__choice__remove { color: #999; cursor: pointer; display: inline-block; font-weight: 600; margin-right: 2px; &:hover { color: #333; } } } .select2-search--dropdown { .select2-search__field { border: 1px solid #aaa; } } .select2-search--inline { .select2-search__field { background: transparent; border: none; outline: 0; box-shadow: none; -webkit-appearance: textfield; } } .select2-results { >.select2-results__options { max-height: 270px; min-height: 225px; overflow-y: auto; padding-top: 4px; padding-bottom: 4px; max-width: 600px; } } .select2-results__option[role=group] { padding: 0; } .select2-results__option[aria-disabled=true] { color: #999; } .select2-results__option { .select2-results__option { padding-left: 1em; .select2-results__group { padding-left: 0; } .select2-results__option { margin-left: -1em; padding-left: 2em; .select2-results__option { margin-left: -2em; padding-left: 3em; .select2-results__option { margin-left: -3em; padding-left: 4em; .select2-results__option { margin-left: -4em; padding-left: 5em; .select2-results__option { margin-left: -5em; padding-left: 6em; } } } } } } display: block; text-decoration: none; color:@wos-gray-2; border-bottom: 0; box-shadow: none; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; margin: 0; padding: 8px; padding-left: 11px; line-height: 14px; [lang="ar"] & { line-height: 18px; } li { i { float: right; color: inherit; } } &:last-of-type { border: none; color: #005A84; float: right; font-size: 13px; font-weight: 600; margin-top: 7px; } &:last-of-type:lang(ar){ float: left; } } .select2-results__option--highlighted[aria-selected] { white-space: nowrap; background-color: #E3EDF7; } .select2-results__group { cursor: default; display: block; padding: 6px; } .select2-dropdown.select2-dropdown--below { display: inline-block; left: 0; top: 5px; background: white; border-radius: 0; border: 0; box-shadow: 0 0 4px 0 rgba(0,0,0,0.2); font-weight: normal; color: @wos-gray-2; z-index: 999; } .select2-results__option.active-db { color: #FF800C; } } .select2-selection--single .select2-selection__arrow { top: 0; right: 0px; height: 100%; width: 40px; position: absolute; display: flex; align-items: center; justify-content: center; b { font: normal normal normal 14px/1 'Font Awesome 5 Pro'; font-size: 18px; color: @wos-gray-6; font-weight: 900 !important; border: none; padding: 1px; &::before { content: @fa-down-arrow; position: relative; } } } [lang="ar"] .select2-selection--single .select2-selection__arrow{ right:auto; left:0px; } .select2-container--dbselect[dir="rtl"] { .select2-selection--single { .select2-selection__clear { float: left; } .select2-selection__arrow { left: 1px; right: auto; } } .select2-selection--multiple { .select2-selection__choice { float: right; margin-left: 5px; margin-right: auto; } .select2-selection__placeholder { float: right; } .select2-search--inline { float: right; } .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } } } .select2-container--dbselect.select2-container--disabled { .select2-selection--single { background-color: #eee; opacity: 0.5; cursor: default; .select2-selection__clear { display: none; } } .select2-selection--multiple { background-color: #eee; cursor: default; } .select2-selection__choice__remove { display: none; } } .select2-container--open { .select2-selection--single { .select2-selection__arrow { b { &::before{ content: @fa-up-arrow; top: 0px; } } } } } .select2-container--dbselect.select2-container--focus { .select2-selection--multiple { border: solid black 1px; outline: 0; } } .select2-container--dbselect.select2-container--open.select2-container--above { .select2-selection--single { border-top-left-radius: 0; border-top-right-radius: 0; } .select2-selection--multiple { border-top-left-radius: 0; border-top-right-radius: 0; } } .select2-container--dbselect.select2-container--open.select2-container--below { .select2-selection--single { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } .select2-selection--multiple { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } } .select2-container--classic { .select2-selection--single { background-color: #f7f7f7; border: 1px solid #aaa; border-radius: 4px; outline: 0; background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); background-repeat: repeat-x; &:focus { border: 1px solid #5897fb; } .select2-selection__rendered { color: @wos-gray-2; line-height: 20px; } .select2-selection__clear { cursor: pointer; float: right; font-weight: 600; margin-right: 10px; } .select2-selection__placeholder { color: #999; } .select2-selection__arrow { background-color: #ddd; border: none; border-left: 1px solid #aaa; border-top-right-radius: 4px; border-bottom-right-radius: 4px; height: 26px; position: absolute; top: 1px; right: 1px; width: 20px; background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); background-repeat: repeat-x; b { border-color: #888 transparent transparent transparent; border-style: solid; border-width: 5px 4px 0 4px; height: 0; left: 50%; margin-left: -4px; margin-top: -2px; position: absolute; top: 50%; width: 0; } } } .select2-selection--multiple { background-color: white; border: 1px solid @border-color; border-radius: 3px; cursor: text; outline: 0; &:focus { border: 1px solid #5897fb; } .select2-selection__rendered { list-style: none; margin: 0; padding: 0 5px; } .select2-selection__clear { display: none; } .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; } .select2-selection__choice__remove { color: #888; cursor: pointer; display: inline-block; font-weight: 600; margin-right: 2px; &:hover { color: #555; } } } .select2-search--dropdown { .select2-search__field { border: 1px solid #aaa; outline: 0; } } .select2-search--inline { .select2-search__field { outline: 0; box-shadow: none; } } .select2-dropdown { background-color: white; border: 1px solid transparent; } .select2-dropdown--above { border-bottom: none; } .select2-dropdown--below { border-top: none; } .select2-results { >.select2-results__options { max-height: 200px; overflow-y: auto; } } .select2-results__option[role=group] { padding: 0; } .select2-results__option[aria-disabled=true] { color: grey; } .select2-results__option--highlighted[aria-selected] { background-color: #3875d7; color: white; } .select2-results__group { cursor: default; display: block; padding: 6px; } } .select2-container--classic[dir="rtl"] { .select2-selection--single { .select2-selection__clear { float: left; } .select2-selection__arrow { border: none; border-right: 1px solid #aaa; border-radius: 0; border-top-left-radius: 4px; border-bottom-left-radius: 4px; left: 1px; right: auto; } } .select2-selection--multiple { .select2-selection__choice { float: right; margin-left: 5px; margin-right: auto; } .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } } } .select2-container--classic.select2-container--open { .select2-selection--single { border: 1px solid #5897fb; .select2-selection__arrow { background: transparent; border: none; b { border-color: transparent transparent #888 transparent; border-width: 0 4px 5px 4px; } } } .select2-selection--multiple { border: 1px solid #5897fb; } .select2-dropdown { border-color: #5897fb; } } .select2-container--classic.select2-container--open.select2-container--above { .select2-selection--single { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); background-repeat: repeat-x; } .select2-selection--multiple { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; } } .select2-container--classic.select2-container--open.select2-container--below { .select2-selection--single { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); background-repeat: repeat-x; } .select2-selection--multiple { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } }