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

ace.scss « css « assets - github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0eba399911f5c8ac34e79bf3262175fe367f6a08 (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
116
117
118
119
120
121
122
123
124
125
126
127
128
/* -------------------------------------------------------------------------
*   ACE DOCUMENTATION
*   Stylesheet
*   @author Vantage Design
*   @version 1.0.4
*   @license https://github.com/vantagedesign/ace-documentation/blob/master/LICENSE
* ------------------------------------------------------------------------ */

$primary:       #007bff;
$secondary:     #6610f2;
$success:       #28a745;
$info:          #17a2b8;
$warning:       #ffc107;
$danger:        #dc3545;
$light:         #f8f9fa;
$dark:          #343a40;

@import "bootstrap/bootstrap";

/* Typography styling */
.main > h1{
    padding-top: 2rem;
}

.main > h2{
    padding-top: 4rem;
    margin-top:-1rem;   
}

.main > h3, .main > h4, .main > h5, .main > h6{
    padding-top: 4rem;
    margin-top:-3rem;
}

.haschildren ul{
    color: gray;
    display:none;
}

.haschildren.active ul, .haschildren.parent ul{
    display:block;
}

.highlight > pre {
    padding:15px;
}

.navbar-brand img {
    height: 3rem;
}

.feed-icons img {
    height: 1.5rem;
}

/* Side navigation menus */
.docs-sidenav span.badge.badge-primary, .docs-toc span.badge.badge-primary{
    font-size: 10px;
}

@media (min-width: 768px) {
    .docs-sidenav, .docs-toc{
        height: calc(100vh - 4rem);
        top:4rem;
        position: sticky;
        overflow: auto;
    }
    .docs-sidenav .navbar, .docs-toc .navbar{
        padding-right: 0;
    }
    .docs-sidenav .navbar-collapse, .docs-sidenav .navbar-nav{
        width: 100%;
    }
    .docs-sidenav .nav-link, .docs-toc li a{
        display: flex;
        align-items: start;
        justify-content: space-between;
    }
    .docs-sidenav .nav-link > span.badge.badge-primary, .docs-toc li a > span.badge.badge-primary{
        margin-top: 5px;
    }
}

@media (min-width: 1200px) {
    .docs-toc.large{
        height: calc(100vh - 4rem);
    }
}

@media (max-width: 1200px) {
    .docs-toc.large{
        display:none;
    }
}

.docs-toc{
    padding-top: 10px;
}

.docs-toc a{
    font-size: 14px;
    color: gray;
}

.docs-toc a:hover{
    color: #333;
}

.docs-toc ul{
    list-style: none;
    padding-left:8px;
    margin-top:3px;
}

.docs-toc ul:first-child{
    padding-left:0;
}

/* Table tweak for JavaScript methods */
table td:first-child > code{
    word-break: normal;
}

table > tbody > tr > td, .bd-content > table > tbody > tr > th, .bd-content > table > tfoot > tr > td, .bd-content > table > tfoot > tr > th, .bd-content > table > thead > tr > td, .bd-content > table > thead > tr > th {
    padding: .75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}