Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Apr 25, 2020
1 parent 12178eb commit 53e8f5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
11 changes: 1 addition & 10 deletions administrator/templates/atum/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,12 @@ $colors: (
atum-bg-dark-90: adjust-color($base-color, $hue: +10%, $saturation: -1%, $lightness: -17%)
);

// Characters which are escaped by the escape-svg function
$escaped-characters: (
("<","%3c"),
(">","%3e"),
("#","%23"),
) !default;

// Alerts
$alert-border-level: 0;
$alert-color-level: 0;

// Global
$atum-box-shadow: 0 2px 4px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .23);
$atum-box-shadow-success: inset 0 0 0 .1rem #a6cca7;
$atum-box-shadow-danger: inset 0 0 0 .1rem #cca6a6;
$enable-rounded: true;
$input-box-shadow: inset 0 0 0 .1rem lighten(theme-color("atum-link-color"), 45%);
$input-btn-padding-y: .6rem;
Expand Down Expand Up @@ -226,7 +217,7 @@ $input-btn-submenu-icon-distance: 1rem;

// Custom form
$custom-select-bg: var(--white-offset);
$custom-select-bg-size: 14px 8px;
$custom-select-bg-size: 116rem;
$custom-select-border-color: #6d7784;
$custom-select-box-shadow: $input-box-shadow;
$custom-select-multiple-padding-y: .3rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
&::before {
font-family: "Font Awesome 5 Free";
content: "\f107";
//font-size: 20px;
position: absolute;
top: 0;
color: var(--atum-text-light);
Expand All @@ -29,14 +28,11 @@

.custom-select {
max-width: $input-max-width;
min-width: 6rem;
cursor: pointer;
box-shadow: $custom-select-box-shadow;
background: $custom-select-bg;

[dir=rtl] & {
// padding: $custom-select-padding-y $custom-select-padding-x $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding);
}

&[multiple] {
padding: 0;
background-color: var(--white-offset);
Expand All @@ -56,13 +52,13 @@
&.custom-select-success {
color: theme-color("success");
border-color: theme-color("success");
box-shadow: $atum-box-shadow-success;
box-shadow: $atum-box-shadow;
}

&.custom-select-danger {
color: theme-color("danger");
border-color: theme-color("danger");
box-shadow: $atum-box-shadow-danger;
box-shadow: $atum-box-shadow;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@
.choices[data-type*="select-multiple"] {
.choices__inner {
padding-inline-end: $custom-select-indicator-padding;
// background: $custom-select-bg $custom-select-background;

[dir="rtl"] & {
// background: $custom-select-bg $custom-select-background-rtl;
}
}
}

Expand Down

0 comments on commit 53e8f5e

Please sign in to comment.