Welcome to mirror list, hosted at ThFree Co, Russian Federation.

menu.scss « sass « assets - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 166fa2f38681f3923cc66a52a414515f6b67d6db (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
article>aside {
    background-color: #f9f9f9;
    padding: 2rem 0rem 1rem 0rem;
    
    .menu {
        list-style-type: none;
        line-height: 2rem;

        ul {
            display: none;
        } 

        // first menu level
        >.dd-item {
            margin-top: 24px;

           
                >a{
                    font-weight: 700;
                    font-size: 16px;
                    color:black;
                }
            
        } 

        // menu items
        .dd-item {
            padding: 10px 0px 10px 16px;
            
            list-style: none;
            a {
                text-decoration: none;
            }
            >a{
                line-height: 20px;
                font-size: 14px;
                color: rgb(110, 119, 122);
            }
            ul {
                padding-inline-start: 0px;
            }
            li {
                /*border-left: 1px solid #eee;*/
            }

            &.haschildren{
                &.parent{
                    >a {
                       font-weight: 600                        
                    }
                }
            }

            &.parent{
                >a {
                 
                }
                >ul {
                    display: block;
                }
            }


            &.active {
                background-color: rgba(110, 119, 122, 0.1);
                
                &.haschildren {
                    /*background-color: transparent;*/

                    > a {
                        font-weight: 700                        
                    }
                }

                >a{
                    color:black;
                }

                >ul {
                    display: block;
                }
                >div {
                    background-color: #eee;
                    * {
                        font-weight: bold;
                        border-bottom: dotted 1px red;
                    }
                }
            }

            
            &.alwaysopen>ul {
                display: block
            }
            
            &.parent>ul {
                display: block
            }

   

        }
    }

    section {
        margin: 2rem 0rem;
    }
}

body{
    a{
        text-decoration: none;
    }
}