| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- @import './variables.scss';
- @import './animation.scss';
- $module: #{$prefix}-userGuide;
- .#{$module} {
- &-spotlight {
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- pointer-events: none;
- &-rect {
- transition: all $transition_duration-userGuide_spotLight $transition_function-userGuide_spotLight;
- }
- }
- &-popover {
- max-width: fit-content;
- width: $width-userGuide_popover-default;
- }
- &-popup-content {
- color: $color-userGuide_popup-text-default;
- &-primary {
- color: $color-userGuide_popup-text-primary;
- }
- &-cover {
- img {
- display: block;
- height: $height-userGuide_popup_content_cover-default;
- width: 100%;
- border-radius: $radius-userGuide_popup_content_cover;
- }
- }
- &-body {
- padding: $spacing-userGuide_popup_content_body-padding;
- }
-
- &-title {
- font-size: $font-userGuide_popup_content_title-fontSize;
- font-weight: $font-userGuide_popup_content_title-fontWeight;
- line-height: $font-userGuide_popup_content_title-lineHeight;
- margin-bottom: $spacing-userGuide_popup_content_title-marginBottom;
- }
- &-description {
- font-size: $font-userGuide_popup_content_description-fontSize;
- line-height: $font-userGuide_popup_content_description-lineHeight;
- margin-bottom: $spacing-userGuide_popup_content_description-marginBottom;
- }
- &-footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
-
- &-buttons {
- display: flex;
- gap: $spacing-userGuide_popup_content_button-gap;
- margin-left: $spacing-userGuide_popup_content_button-marginLeft;
- }
- &-indicator {
- font-size: $font-size-regular;
- line-height: $font-userGuide_popup_content_indicator-lineHeight;
- }
- }
- &-modal {
- .#{$prefix}-modal-small {
- width: fit-content;
- }
- // Override the modal's original padding
- .#{$prefix}-modal-content {
- padding: 0;
- width: $width-userGuide_modal_content_cover-default;
- max-width: fit-content;
- }
- &-cover {
- height: $height-userGuide_modal_content_cover-default;
- }
- &-indicator {
- height: $height-userGuide_modal_content_indicator-default;
- display: flex;
- justify-content: center;
- align-items: center;
- column-gap: $spacing-userGuide_popup_content_indicator-gap;
- &-item {
- width: $width-userGuide_modal_content_indicator_item-default;
- height: $height-userGuide_modal_content_indicator_item-default;
- border-radius: $radius-userGuide_modal_content_indicator;
- background-color: $color-userGuide_modal_content_indicator-bg;
- &-active {
- background: $color-userGuide_modal_content_indicator-bg-active
- }
- }
- }
- &-body {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- padding: $spacing-userGuide_modal_content_body-padding;
- &-title {
- font-size: $font-userGuide_modal_content_title-fontSize;
- font-weight: $font-userGuide_modal_content_title-fontWeight;
- line-height:$font-userGuide_modal_content_title-lineHeight;
- margin-bottom: $spacing-userGuide_modal_content_title-marginBottom;
- }
- &-description {
- font-size: $font-userGuide_modal_content_description-fontSize;
- line-height: $font-userGuide_modal_content_description-lineHeight;
- }
- }
- &-footer {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: $spacing-userGuide_modal_content_footer-padding;
- column-gap: $spacing-userGuide_modal_content_button-gap
- }
- }
- }
|