summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/Toolbar.less
blob: 8c59d96e781bcc557d669b49b7150b1df3a38fe2 (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
.Toolbar {
    .Toolbar-Title {
        padding: 0px 20px;
        margin: 0;
        font-size: 20px;
        font-weight: 200;
        text-align: center;
        line-height: 50px;
        opacity: 0;
        .transition(~"opacity ease .2s");
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: @button-hover-color;

        a, a:hover {
            text-decoration: none;
            color: inherit;
        }
    }

    &:hover {
        .Toolbar-Title {
            opacity: 1;
        }
    }
}