aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/index.less
blob: a384af780c293633b5cefb55f109d7260915204f (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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@import 'color.less';
@import 'mixin.less';

body{
    overflow-x:hidden;
    overflow-y:scroll;
}

#index_header{
    height:0px;
    .pos_left(fixed,0px,0px,1);
    opacity:0;
    transition:opacity @fast;
    overflow:hidden;

    &.active{
        height:32px;
        opacity:1;
        display:block;
    }

    div.side{
        .pos_right(fixed,0px,0px);
    }
}
.index_tag{
    height:32px;
    line-height:32px;
    opacity:0.2;
    transition:opacity @fast;

    &.active,&:hover{
        opacity:1;
    }
    
    div{
        height:100%;
        font-size:@NormalFontSize;
        color:@white;
        font-weight:bold;
        float:left;
        cursor:pointer;
    }
}
#index_menutag{
    .index_tag;
    .pos_left(fixed,0px,0px,2);

    div.menu{
        width:100px;
        padding-left:32px;
        background-color:@darkgray;
        text-align:left;
    }
}
#index_paneltag{
    .index_tag;
    .pos_right(fixed,0px,206px,2);

    div.notice{
        width:70px;
        text-align:center;
        background-color:@darkgray
    }
    div.notice_hl{
        background-color:@orange;
    }
}
    
#index_menu{
    width:0px;
    background-color:@white;
    .pos_left(fixed,0px,0px,1);
    box-shadow:0px 0px 6px fade(@black,30%);
    opacity:0;
    transition:width 0ms linear @fast,opacity @fast;
    
    &.active{
        width:230px;
        opacity:1;
        transition:width @fast,opacity @fast;
    }
   
    div.tagblock{
        width:100%;
        height:32px;
    }
    div.menu{
        margin-bottom:0px;
        overflow-x:hidden;

        a{
            padding-left:32px;
            padding-top:(48 - @NormalFontSize) / 2;
            padding-bottom:(48 - @NormalFontSize) / 2;
            border-width:0px;
            font-size:@NormalFontSize;
            font-weight:bold;
        }
    }
}
#index_panel{
    width:0px;
    background-color:@white;
    .pos_right(fixed,0px,@SmallPad,1);
    box-shadow:0px 0px 6px fade(@black,30%);
    opacity:0;
    transition:opacity @fast;

    &.active{
        width:270px;
        opacity:1;
    }

    div.tagblock{
        width:100%;
        height:32px;
    }
    div.notice{
        margin-bottom:0px;
        overflow-y:auto;
        
        a{
            min-height:64px; 
            padding-left:@SmallPad;
            border-width:0px;
            font-size:@NormalFontSize;

            p{
                word-wrap:break-word; 
            }
        }
    }
}
#index_alert{
    width:230px;
    position:fixed;
    bottom:@MediumPad;
    right:@MediumPad;
}
#index_page{
    margin-top:40px;
    padding-top:@MediumPad;
}
#index_footer{
    margin-top:@MediumPad;
    padding:@MediumPad @MediumPad 0px @MediumPad;
    text-align:right;
}