Skip to content

Commit

Permalink
feat(popup): styles for list element in popup (#556)
Browse files Browse the repository at this point in the history
feat(popup): support list element in popup

Signed-off-by: Alexandre Gaudreault <[email protected]>
  • Loading branch information
agaudreault authored May 20, 2024
1 parent 7288592 commit 96fbfd9
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions src/components/popup/popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $popup-border-radius: 8px;
// Just in case the theme class is not added
background-color: rgba(222, 222, 222, 0.62); /*dim the background*/
@include themify($themes) {
background-color: themed('overlay');
background-color: themed('overlay');
}

.popup-container {
Expand Down Expand Up @@ -59,22 +59,22 @@ $popup-border-radius: 8px;
background-color: themed('light-argo-gray-2');
}
}

&__red {
background-color: $argo-color-red;
color: $argo-color-gray-1;
}

&__yellow {
background-color: $argo-color-yellow;
}
}
}

&__footer {
// Just in case the theme class is not added
background-color: $argo-color-gray-1;
@include themify($themes) {
background-color: themed('background-2');
background-color: themed('background-2');
}
bottom: 0;
padding-top: 20px;
Expand All @@ -97,34 +97,38 @@ $popup-border-radius: 8px;
// Just in case the theme class is not added
background-color: $argo-color-gray-1;
@include themify($themes) {
background-color: themed('background-2');
background-color: themed('background-2');
}

&__hasNoIcon {
padding-left: 30px;
}

h4, p {
h4, p, ul {
margin-right: 10px;
font-size: 15px;
word-wrap: break-word;
// Just in case the theme class is not added
color: $argo-color-gray-6;

@include themify($themes) {
color: themed('light-argo-gray-6');
}
}

h4 {
margin-top: 40px;
font-size: 15px;
font-weight: bold;
}

p {
font-size: 15px;
margin-top: 10px;
margin-bottom: 10px;
// Just in case the theme class is not added
color: $argo-color-gray-6;
}

@include themify($themes) {
color: themed('light-argo-gray-6');
}
ul {
margin-top: 0px;
margin-bottom: 10px;
}
}

Expand Down

0 comments on commit 96fbfd9

Please sign in to comment.