forked from os2loop/os2loop
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1238cbe
commit 11700fa
Showing
11 changed files
with
132 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
web/profiles/custom/os2loop/themes/os2loop_theme/assets/bootstrap-custom/form/form.scss
This file was deleted.
Oops, something went wrong.
88 changes: 88 additions & 0 deletions
88
web/profiles/custom/os2loop/themes/os2loop_theme/assets/custom/autocomplete-deluxe.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
div.autocomplete-deluxe-multiple, | ||
div.autocomplete-deluxe-container { | ||
@extend .w-100; | ||
@extend .d-block; | ||
@extend .input-group; | ||
|
||
background: $input-bg; | ||
min-height: 48px; | ||
|
||
margin-top: $form-check-input-margin-y; | ||
padding: $input-padding-y $input-padding-x; | ||
|
||
box-sizing: border-box; | ||
box-shadow: none; | ||
|
||
border: 1px solid transparent; | ||
border-radius: $input-border-radius; | ||
|
||
div { | ||
@extend .d-flex; | ||
@extend .align-items-center; | ||
} | ||
|
||
&:focus-within { | ||
border: 1px solid $loop-green-400; | ||
} | ||
|
||
.form-group { | ||
margin-bottom: 0; | ||
} | ||
|
||
input.ui-autocomplete-input { | ||
&.autocomplete-deluxe-form-single, | ||
&.autocomplete-deluxe-multiple { | ||
min-height: initial; | ||
height: 100%; | ||
|
||
font-size: $font-size-base; | ||
color: $body-color; | ||
|
||
padding: 0; | ||
margin: 0 15px; | ||
|
||
// TODO: figure out vertical alignment | ||
vertical-align: middle; | ||
} | ||
|
||
~ div.autocomplete-deluxe-throbber, | ||
~ div.autocomplete-deluxe-closed { | ||
@extend .d-none; | ||
} | ||
} | ||
} | ||
|
||
.autocomplete-deluxe-item { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
background-color: $gray-300; | ||
color: $gray-600; | ||
|
||
border: none; | ||
border-radius: 4px; | ||
padding: 6px 8px; | ||
|
||
font-size: $badge-font-size; | ||
font-weight: $badge-font-weight; | ||
line-height: 1; | ||
|
||
+ .autocomplete-deluxe-item { | ||
margin-left: 15px; | ||
} | ||
|
||
.autocomplete-deluxe-item-delete { | ||
position: static; | ||
margin-left: 10px; | ||
|
||
height: $badge-font-size; | ||
width: $badge-font-size; | ||
|
||
background-image: none; | ||
background-color: $gray-600; | ||
|
||
mask-image: url("~bootstrap-icons/icons/x.svg"); | ||
-webkit-mask-image: url("~bootstrap-icons/icons/x.svg"); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
web/profiles/custom/os2loop/themes/os2loop_theme/assets/custom/custom-index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
web/profiles/custom/os2loop/themes/os2loop_theme/assets/custom/forms.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
web/profiles/custom/os2loop/themes/os2loop_theme/assets/form.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters