📦 EqualifyEverything / equalify

📄 Account.module.scss · 46 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46@use "../global-styles/variables.module.scss";
@use "../global-styles/fonts.scss";

.Account{
    margin-bottom: variables.$spacing*4;
}

.adminTabs {
    margin-top: variables.$spacing * 2;
}

.tabList {
    display: flex;
    gap: variables.$spacing;
    border-bottom: 1px solid variables.$paper-dark;
    margin-bottom: variables.$spacing * 2;
}

.tabTrigger {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: variables.$spacing calc(variables.$spacing * 1.5);
    cursor: pointer;
    color: variables.$black;
    margin-bottom: -1px;

    &[aria-selected="true"] {
        @include fonts.raleway-bold;
        border-bottom-color: variables.$black;
    }
}

:global(body.dark) {
    .tabList {
        border-bottom-color: variables.$dark-border;
    }

    .tabTrigger {
        color: variables.$paper;

        &[aria-selected="true"] {
            border-bottom-color: variables.$paper;
        }
    }
}