Skip to content

Commit

Permalink
2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Oct 3, 2023
1 parent 1182340 commit 6f7c9f4
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.8.4

- (Maintenance) Updated to be compatible with new-new Polyglot version.

# 2.8.3

- (New) Updated Polyglot styling so it applies to the new elements. The player colors are made more prominent, and will use an extra row if needed.
Expand Down
5 changes: 4 additions & 1 deletion sass/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ a.inline-roll:not(.inline-result) {
.dorako-ui .tags {
gap: 1px;

.tag {
height: auto;
}

.tag:not(.tag_transparent) {
border-radius: 0px;
box-shadow: unset;
border: 1px solid var(--tertiary);
outline: 1px solid var(--gold-brown);
height: auto;
padding: 0.33em 0.33em;
}
.tag:first-child {
Expand Down
76 changes: 74 additions & 2 deletions sass/module/_polyglot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,61 @@
/* Polyglot */
/* ----------------------------------------- */

.select2-dropdown.polyglot-language {
@include glass;
backdrop-filter: blur(5px);

.polyglot-user-list div {
box-shadow: 0px 0px 0px 1px var(--tertiary);
}

::-webkit-scrollbar-thumb {
background: var(--tertiary);
border: 1px solid var(--gold-brown);
}
}

.select2-container--default .select2-search--dropdown .select2-search__field {
@include glass;
@include quick-transition;
background: var(--glass-bg-light);

&:focus,
&:active,
&:hover {
background: var(--secondary-dark);
color: var(--color-text-light-highlight);
}
}

.select2-container--default .select2-results > .select2-results__options {
color: var(--color-text-light-heading);
text-shadow: 0px 0px 3px black;
padding-top: 1px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
// @include glass;
// @include gold-border;
background: var(--secondary-light);
// border: 1px solid var(--tertiary);
box-shadow: 0px 0px 0px 1px var(--tertiary);
color: var(--color-text-light-highlight);
}

.select2-container--default .select2-results__option--selected {
// @include glass;
// @include gold-border;
background: var(--primary-light);
// border: 1px solid var(--tertiary);
box-shadow: 0px 0px 0px 1px var(--tertiary);
color: var(--color-text-light-highlight);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
color: var(--color-text-light-heading);
}

#polyglot {
flex-basis: 20px;
gap: 5px;
Expand All @@ -11,6 +66,23 @@
display: none;
}

&.polyglot-lang-select > span.select2-container {
margin: unset;
}

.select2-selection {
@include glass;
@include quick-transition;
cursor: pointer;
background: var(--glass-bg-light);
&:focus,
&:active,
&:hover {
background: var(--secondary-dark);
color: var(--color-text-light-highlight);
}
}

select {
@include glass;
background: var(--glass-bg-light);
Expand Down Expand Up @@ -48,7 +120,7 @@
margin: unset;
margin-right: 2px;
margin-left: 2px;
display: flex;
// display: flex;
gap: 1px;
border-radius: var(--border-radius);
flex-grow: 1;
Expand All @@ -58,7 +130,7 @@
div {
display: flex;
border-radius: unset;
height: 22px;
// height: 22px;
// width: 10px;
width: unset;
flex: 1 0;
Expand Down
7 changes: 6 additions & 1 deletion styles/dorako-ui.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

71 changes: 69 additions & 2 deletions styles/module-support.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6f7c9f4

Please sign in to comment.