Skip to content

Commit c76743a

Browse files
committed
Update styles
1 parent b37205f commit c76743a

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

scss/_components.dropdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $dropdown-content-zIndex: $zIndex-1 !default;
1414
display: inline-block;
1515
}
1616

17-
.dropdown__trigger {
17+
.dropdown__toggle {
1818
&::-webkit-details-marker {
1919
display: none;
2020
}

scss/_components.modal.scss

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $modal-zIndex: $zIndex-9 !default;
1313
$mask-zIndex: $zIndex-6 !default;
1414
$mask-bg: rgba($black, 0.5) !default;
1515

16-
.modal-wrapper {
16+
.modal {
1717
position: fixed;
1818
top: 0;
1919
left: 0;
@@ -31,7 +31,7 @@ $mask-bg: rgba($black, 0.5) !default;
3131
}
3232
}
3333

34-
.modal {
34+
.modal__content {
3535
position: relative;
3636
display: flex;
3737
flex-direction: column;
@@ -70,9 +70,13 @@ $mask-bg: rgba($black, 0.5) !default;
7070
line-height: 1;
7171
color: $grey-mute;
7272
font-size: $text-size-xl;
73+
margin: 0;
74+
padding: 0;
75+
border: 0;
7376
border-radius: $component-border-radius-md;
7477
background-color: $grey-light;
7578
font-family: Helvetica, Arial, sans-serif;
79+
appearance: none;
7680

7781
&:hover {
7882
background-color: darken($grey-light, 2.5%);
@@ -95,12 +99,20 @@ $mask-bg: rgba($black, 0.5) !default;
9599
text-align: right;
96100
}
97101

102+
.modal.modal--mask {
103+
background-color: rgba($black, 0.5);
104+
}
105+
98106
.modal.modal--sm {
99-
max-width: $modal-width-sm;
107+
.modal__content {
108+
max-width: $modal-width-sm;
109+
}
100110
}
101111

102112
.modal.modal--lg {
103-
max-width: $modal-width-lg;
113+
.modal__content {
114+
max-width: $modal-width-lg;
115+
}
104116
}
105117

106118
.mask {

0 commit comments

Comments
 (0)