summaryrefslogtreecommitdiffstats
path: root/doc/backends/deckjs/deck.js/extensions/toc/deck.toc.scss
blob: bcb6c5999cb4b1f65865ac3d70d23a1bd84d4b8e (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
.deck-container {
	.deck-toc {
		position: absolute;
		z-index: 40;
		top: 0px;
                bottom: 0px;
		left: 0;
                right: 55%;
		padding: 0.625em;
		display: none;
		background: #ccc;
                overflow-y: auto;
                overflow-x: auto;
                background-color: #DDE4EB;
                border-right: #A9A9A9 solid 1px;
                width: 500px;
                
                ul {
                    list-style: none;
                    margin: 0px;
                    padding: 0px;
                    font-size: 1em;
                    
                    li {
                        white-space: nowrap;
                        padding-left: 1.5em;
                        font-weight: normal;
                        
                        &#toc-0 {
                            font-weight: bold;
                            padding-bottom: 1em;
                            padding-left: 0px;
                        }
                    }
                }

                a {
                    width: 100%;
                    display: block !important;
                    text-decoration: none;
                    color: #595959 !important;
                }
	}
}

.deck-toc-frame .deck-toc {
	display: block;
}

@media print {
	.deck-toc {
		display:none;
	}
}