summaryrefslogtreecommitdiff
path: root/assets/css/dropdown.css
blob: 57adb3be00e9a17c017625ae7a599c454ae84bca (plain) (blame)
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
/*
 * == DROPDOWN
 */

.dropdown {
    position: relative;
    summary {
        list-style: none;
        cursor: pointer;
        &::-webkit-details-marker {
            display: none;
        }
        .content {
            position: absolute;
        }
        details[open] summary::before {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            content: "";
            cursor: default;
        }
    }
}