summaryrefslogtreecommitdiff
path: root/Server.Client/Pages/Component/MobileMenu.razor.css
blob: 0237cf12c81af8a1856f3bef78471e112082ee57 (plain)
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
div#mobile-menu {
    background:     var(--col-bg);
    display:        none;
    flex-direction: column;
    flex:           1 1 calc(100vh - 59px);
    height:         100%;
    overflow-y:     auto;
    position:       relative;
    width:          100%;
}

body.mobile-menu-visible div#mobile-menu {
    display: flex;
}

div#mobile-menu > a {
    color:   #fff;
    padding: 20px;
}

div#mobile-menu > a:not(:last-of-type) {
    border-bottom: 1px solid var(--col-hr);
}

div#mobile-menu > a:hover {
    background: var(--col-dialog-bg);
    filter:     none;
}

div#mobile-menu > a:active {
    background: #fff;
    color:      var(--col-bg);
    filter:     none;
}

div#nsfw-switch {
    align-items:    center;
    border-bottom:  1px solid var(--col-hr);
    display:        flex;
    flex-direction: row;
    padding:        5px 20px 5px 20px;
}

div#nsfw-switch > p#nsfw-label {
    margin-right: auto;
}