Sindbad~EG File Manager
@mixin reset--input {
width: auto;
margin: 0;
padding: 0;
font-family: var(--PS-FONT-FAMILY);
background-clip: padding-box;
background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none;
outline: none;
&:hover,
&:focus {
background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none;
outline: none;
}
@if $comp_mode {
max-width: unset;
}
}
@mixin input {
--font-size: var(--PS-FONT-SIZE);
--line-height: var(--PS-LINE-HEIGHT);
--height: auto;
--input-padd: var(--PADD);
--radius: var(--BORDER-RADIUS--MD);
position: relative;
z-index: 1;
width: 100%;
height: var(--height);
margin: 0;
padding: var(--input-padd);
font-family: var(--PS-FONT-FAMILY);
font-size: max(16px, var(--font-size));
line-height: var(--line-height);
color: var(--PS-COLOR--TEXT);
background-clip: padding-box;
background-color: var(--PS-COLOR--APP);
border: 1px solid var(--DIVIDER--LIGHT);
border-radius: var(--radius);
box-shadow: inset 0 0 0 1px transparent;
outline: none;
vertical-align: middle;
transition: box-shadow .2s ease;
@if $comp_mode {
max-width: unset;
}
option {
font-family: sans-serif;
}
&:hover {
background-color: var(--PS-COLOR--APP);
border: 1px solid var(--DIVIDER);
box-shadow: inset 0 0 0 1px transparent;
outline: none;
}
&:focus {
position: relative;
z-index: 1;
background-color: var(--PS-COLOR--APP);
border: 1px solid var(--INPUT-SHADOW--IN);
box-shadow: 0 0 0 3px var(--INPUT-SHADOW);
outline: none;
}
&:disabled,
&:read-only,
&.ps-input--disabled {
background-color: var(--PS-COLOR--APP--GRAY);
border: 1px solid var(--DIVIDER--LIGHT);
box-shadow: inset 0 0 0 1px transparent;
}
&.ps-input--select {
font-family: var(--PS-FONT-FAMILY);
@if $comp_mode {
background-image: unset;
}
&:read-only {
background-color: var(--PS-COLOR--APP);
border: 1px solid var(--DIVIDER--LIGHT);
box-shadow: inset 0 0 0 1px transparent;
&:hover {
background-color: var(--PS-COLOR--APP);
border: none;
border: 1px solid var(--DIVIDER);
box-shadow: inset 0 0 0 1px transparent;
outline: none;
}
&:focus {
position: relative;
z-index: 1;
background-color: var(--PS-COLOR--APP);
border: 1px solid var(--INPUT-SHADOW--IN);
box-shadow: 0 0 0 3px var(--INPUT-SHADOW);
outline: none;
}
}
}
}
@mixin input--icon($right: 0) {
position: absolute;
z-index: 5;
top: 50%;
@if $right != 0 {
@if $rtl {
right: auto;
left: calc(var(--gap) / 3);
} @else {
left: auto;
right: calc(var(--gap) / 3);
}
} @else {
@if $rtl {
left: auto;
right: calc(var(--gap) / 3);
} @else {
left: calc(var(--gap) / 3);
right: auto;
}
}
transform: translateY(-50%);
line-height: var(--PS-LINE-HEIGHT);
color: var(--PS-COLOR--TEXT--LIGHT);
i {
line-height: var(--PS-LINE-HEIGHT);
color: var(--PS-COLOR--TEXT--LIGHT);
}
}
@mixin input--password-icon {
--gap: 50px;
position: relative;
input[name*="password"],
input[id*="pass"] {
@if $rtl {
padding-left: var(--gap);
} @else {
padding-right: var(--gap);
}
@if $comp_mode {
@if $rtl {
padding-left: var(--gap) !important;
} @else {
padding-right: var(--gap) !important;
}
}
}
> i {
@include input--icon;
&.ps-password-preview {
cursor: pointer;
padding: 8px;
@if $rtl {
right: unset;
left: 0;
padding-left: 18px;
padding-right: 12px;
} @else {
left: unset;
right: 0;
padding-left: 12px;
padding-right: 18px;
}
}
}
}
.peepso,
.plg-peepso,
.ps-lightbox,
.ps-landing,
.ps-chat__wrapper,
.ps-modal__wrapper,
.psw-profile,
.gc-widget,
.widget,
.ps-widget__wrapper--external {
.ps-input {
@include input;
@if $comp_mode {
margin: 0 !important;
&.form-control {
background-image: unset;
border: 1px solid var(--DIVIDER--LIGHT);
box-shadow: inset 0 0 0 1px transparent;
border-radius: var(--radius);
margin-bottom: 0;
&:focus {
background-image: unset;
border: 1px solid var(--INPUT-SHADOW--IN);
box-shadow: 0 0 0 3px var(--INPUT-SHADOW);
}
}
}
.bricks-site-wrapper & {
padding-left: var(--gap);
padding-right: var(--input-padd);
border: none;
}
}
.ps-input--sm {
--font-size: 90%;
--line-height: 1.2;
--input-padd: var(--PADD);
}
.ps-input--xs {
--font-size: 80%;
--line-height: 1.2;
--input-padd: calc(var(--PADD--SM) / 1.5) var(--PADD);
--radius: var(--BORDER-RADIUS);
}
.ps-input--icon {
margin: 0;
@if $rtl {
padding-left: var(--input-padd);
padding-right: var(--gap);
} @else {
padding-left: var(--gap);
padding-right: var(--input-padd);
}
@if $comp_mode {
padding-top: var(--input-padd) !important;
padding-bottom: var(--input-padd) !important;
@if $rtl {
padding-left: var(--input-padd) !important;
padding-right: var(--gap) !important;
} @else {
padding-left: var(--gap) !important;
padding-right: var(--input-padd) !important;
}
}
}
.ps-input--icon-right {
@if $rtl {
padding-left: var(--gap);
padding-right: var(--input-padd);
} @else {
padding-left: var(--input-padd);
padding-right: var(--gap);
}
@if $comp_mode {
@if $rtl {
padding-left: var(--gap) !important;
padding-right: var(--input-padd) !important;
} @else {
padding-left: var(--input-padd) !important;
padding-right: var(--gap) !important;
}
}
}
.ps-input--count {
@if $rtl {
padding-left: 50px;
padding-right: var(--input-padd);
} @else {
padding-left: var(--input-padd);
padding-right: 50px;
}
}
.ps-input--select {
cursor: default;
}
.ps-input--textarea {
resize: vertical;
}
.ps-input__wrapper {
position: relative;
}
.ps-input__wrapper--inline {
display: flex;
align-items: center;
> * {
@if $rtl {
margin-left: var(--PADD);
} @else {
margin-right: var(--PADD);
}
&:last-child {
margin: 0;
}
}
}
.ps-input__wrapper--icon {
--gap: 50px;
position: relative;
> i {
@include input--icon;
}
}
.ps-input__icon {
@include input--icon;
}
.ps-input__icon--right {
@include input--icon($right: true);
}
@if $comp_mode {
a {
&:hover {
opacity: 1 !important;
}
}
}
}
// FORMS
.ps-form {}
.ps-form--vertical {}
.ps-form__grid {
@include mq($from: desktop) {
display: flex;
flex-wrap: wrap;
margin-left: calc(-1 * var(--PADD--SM));
margin-right: calc(-1 * var(--PADD--SM));
}
}
.ps-form__row {
margin-bottom: var(--PADD);
.ps-form__grid &,
.ps-form--vertical & {
display: block;
flex-grow: 1;
width: 100%;
margin-bottom: var(--PADD--MD);
padding-left: var(--PADD--SM);
padding-right: var(--PADD--SM);
}
.ps-form--vertical & {
&:last-child {
margin-bottom: 0;
}
}
@include mq($from: desktop) {
display: flex;
align-items: flex-start;
}
}
.ps-form__row--half {
flex-grow: 0;
@include mq($from: desktop) {
width: 50%;
.ps-form__grid & {
width: 50%;
flex-grow: 0;
}
}
}
.ps-form__row--checkbox {
display: flex;
align-items: center;
flex-direction: row-reverse;
justify-content: flex-end;
.ps-form__grid & {
display: flex;
}
.ps-checkbox {
display: flex;
align-items: center;
}
}
.ps-form__row--submit {
display: flex;
justify-content: space-between;
margin-bottom: 0;
.ps-form__grid & {
display: flex;
justify-content: space-between;
margin-bottom: 0;
}
}
.ps-form__label {
display: block;
line-height: var(--PS-LINE-HEIGHT);
@if $comp_mode {
font-weight: normal;
margin-bottom: 0;
}
+ .ps-form__field {
margin-top: var(--PADD--SM);
}
}
.ps-form__field {
margin-bottom: var(--PADD);
@include mq($from: desktop) {
flex-grow: 1;
margin-bottom: 0;
@if $comp_mode {
&.form-group, .form-group {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
}
&:nth-last-child(n+2) ~ .ps-form__field {
@if $rtl {
margin-right: var(--PADD);
} @else {
margin-left: var(--PADD);
}
}
.ps-form__row--checkbox & {
flex-grow: 0;
}
}
.ps-form__row--checkbox & {
margin-top: 0;
}
}
.ps-form__field--icon {
--gap: 50px;
position: relative;
@include input--password-icon;
}
.ps-form__field-desc {
margin-top: var(--PADD--SM);
font-size: 90%;
line-height: var(--PS-LINE-HEIGHT);
color: var(--PS-COLOR--TEXT--LIGHT);
}
.ps-form__field-notice {
margin-top: var(--PADD--SM);
font-size: 65%;
line-height: var(--PS-LINE-HEIGHT);
color: var(--PS-COLOR--TEXT--LIGHT);
}
.ps-form__field-notice--info {
color: var(--PS-COLOR--PRIMARY--LIGHT);
}
.ps-form__field-notice--success {
color: var(--PS-COLOR--SUCCESS);
}
.ps-form__field-notice--warning {
color: var(--PS-COLOR--WARNING);
}
.ps-form__field-notice--important {
color: var(--PS-COLOR--ABORT);
}
.ps-form__legend {
flex-grow: 1;
display: block;
padding-top: var(--PADD--MD);
padding-bottom: var(--PADD--MD);
font-weight: bold;
&:first-of-type {
padding-top: 0;
}
&:empty {
display: none;
}
.ps-form__grid & {
padding-left: var(--PADD--SM);
padding-right: var(--PADD--SM);
}
}
.ps-form__legend-desc {}
.ps-form__chars-count {
position: absolute;
z-index: 10;
top: var(--PADD--SM);
padding: var(--PADD--XS) var(--PADD--SM);
font-size: 10px;
color: var(--PS-COLOR--TEXT--LIGHT);
background-color: var(--PS-COLOR--APP--GRAY);
border-radius: var(--BORDER-RADIUS);
@if $rtl {
left: var(--PADD--SM);
} @else {
right: var(--PADD--SM);
}
}
.ps-form__required {
color: var(--PS-COLOR--ABORT);
}
.ps-form__message {
font-size: 90%;
}
.ps-form__check {
display: inline-block;
color: var(--PS-COLOR--SUCCESS);
@if $rtl {
margin-right: var(--PADD--SM);
} @else {
margin-left: var(--PADD--SM);
}
> i {
display: none;
}
> img {
display: none;
}
}
.ps-form__error {
font-size: 80%;
color: var(--PS-COLOR--ABORT);
}
.ps-form__error-item {}
.ps-form--profile-request-account-data,
.ps-form--profile-download-account-data,
.ps-form--profile-delete-account-data-archive,
.ps-form--profile-deletion {
.ps-form__row {
align-items: center;
}
.ps-form__field {
@include input--password-icon;
@include mq($from: desktop) {
@if $rtl {
margin-right: var(--PADD--XL);
} @else {
margin-left: var(--PADD--XL);
}
}
}
}
.ps-form--pin-until {
.ps-input {
&:not(:last-child) {
margin-right: var(--PADD--SM);
}
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists