4
4
5
5
@import url ('https://fonts.googleapis.com/css?family=Fira+Mono:400,700|Open+Sans:300,300i,400,400i,700,700i' );
6
6
7
- body , .title {
8
- color : # 333333 ;
9
- }
10
-
11
- body , div .block , .deprecationBlock , button {
12
- font-family : 'Open Sans' , Arial, Helvetica, sans-serif;
7
+ : root {
8
+ /* body, block and code fonts */
9
+ --body-font-family : 'Open Sans' , Arial, Helvetica, sans-serif;
10
+ --block-font-family : 'Open Sans' , Arial, Helvetica, sans-serif;
11
+ --code-font-family : "Fira Mono" , monospace;
12
+ /* Text colors for body and block elements */
13
+ --body-text-color : # 333 ;
14
+ --block-text-color : # 333 ;
15
+ /* Background colors for various structural elements */
16
+ --section-background-color : # f8f8f8 ;
17
+ /* Colors for navigation bar and table captions */
18
+ --navbar-background-color : # 25a162 ;
19
+ /* Background color for subnavigation and various headers */
20
+ --subnav-background-color : # e8e8e8 ;
21
+ /* Background and text colors for selected tabs and navigation items */
22
+ --selected-background-color : # dc524a ;
23
+ --selected-text-color : # fff ;
24
+ --selected-link-color : # 651410 ;
25
+ /* Background colors for generated tables */
26
+ --even-row-color : # fff ;
27
+ --odd-row-color : # eee ;
28
+ /* Text color for page title */
29
+ --title-color : # 333 ;
30
+ /* Text colors for links */
31
+ --link-color : # dc524a ;
32
+ --link-color-active : # b62b23 ;
33
+ /* Snippet colors */
34
+ --snippet-background-color : # ebecee ;
35
+ --snippet-text-color : var (--block-text-color );
36
+ --snippet-highlight-color : # fcdbd9 ;
37
+ /* Border colors for structural elements and user defined tables */
38
+ --border-color : # ddd ;
39
+ --table-border-color : # 999 ;
40
+ /* Highlight color for active search tag target */
41
+ --search-tag-highlight-color : # ffff00 ;
42
+ /* Adjustments for icon and active background colors of copy-to-clipboard buttons */
43
+ --copy-button-background-color-active : rgba (168 , 168 , 168 , 0.3 );
44
+ /* Colors for invalid tag notifications */
45
+ --invalid-tag-background-color : # ffe6e6 ;
13
46
}
14
47
15
48
.title {
@@ -18,34 +51,8 @@ body, div.block, .deprecationBlock, button {
18
51
margin-top : 0 ;
19
52
}
20
53
21
- a : link , a : visited {
22
- text-decoration : none;
23
- color : # dc524a ;
24
- }
25
-
26
- a [href ]: hover , a [href ]: focus {
27
- text-decoration : none;
28
- color : # b62b23 ;
29
- }
30
-
31
- pre , code , tt , dt code , table tr td dt code {
32
- font-family : "Fira Mono" , monospace;
33
- }
34
-
35
- .bar {
36
- background-color : # 25a162 ;
37
- }
38
-
39
- .top-nav {
40
- background-color : # 25a162 ;
41
- }
42
-
43
- .bottom-nav {
44
- background-color : # 25a162 ;
45
- }
46
-
47
- .sub-nav {
48
- background-color : # f5f5f5 ;
54
+ ul .nav-list {
55
+ padding-left : 10px ;
49
56
}
50
57
51
58
.top-nav a : hover , .bottom-nav a : hover {
@@ -57,99 +64,14 @@ pre, code, tt, dt code, table tr td dt code {
57
64
background-color : # fff ;
58
65
color : # dc524a ;
59
66
border-radius : 6px ;
67
+ font-weight : bold;
60
68
}
61
69
62
- .index-nav {
63
- background-color : # eee ;
64
- }
65
-
66
- body .class-declaration-page .summary h2 ,
67
- body .class-declaration-page .details h2 ,
68
- body .class-use-page h2 ,
69
- body .module-declaration-page .block-list h2 {
70
- font-style : italic;
71
- padding : 0 ;
72
- margin : 15px 0 ;
73
- }
74
- body .class-declaration-page .summary h3 ,
75
- body .class-declaration-page .details h3 ,
76
- body .class-declaration-page .summary .inherited-list h2 ,
77
- div .details ul .block-list ul .block-list ul .block-list li .block-list h4 ,
78
- ul .block-list ul .block-list ul .block-list li .block-list h3 {
79
- background-color : # ddd ;
80
- border : 1px solid # ddd ;
81
- }
82
-
83
- .constants-summary caption a : link , .constants-summary caption a : visited ,
84
- .use-summary caption a : link , .use-summary caption a : visited {
85
- color : # fff ;
86
- }
87
-
88
- .overview-summary caption span , .member-summary caption span , .type-summary caption span ,
89
- .use-summary caption span , .constants-summary caption span , .deprecated-summary caption span ,
90
- .requires-summary caption span , .packages-summary caption span , .provides-summary caption span ,
91
- .uses-summary caption span ,
92
- .member-summary caption span .active-table-tab span , .packages-summary caption span .active-table-tab span ,
93
- .overview-summary caption span .active-table-tab span , .type-summary caption span .active-table-tab span ,
94
- div .table-tabs > button .active-table-tab
95
- {
96
- background-color : # dc524a ;
97
- color : # fff ;
98
- }
99
-
100
- .ui-state-active ,
101
- .ui-widget-content .ui-state-active ,
102
- .ui-widget-header .ui-state-active ,
103
- a .ui-button : active ,
104
- .ui-button : active ,
105
- .ui-button .ui-state-active : hover {
106
- /* Overrides the color of selection used in jQuery UI */
107
- background : # dc524a !important ;
108
- color : # fff !important ;
109
- }
110
-
111
- main a [href *= "://" ]::after ,
112
- main a [href *= "://" ]: hover ::after ,
113
- main a [href *= "://" ]: focus ::after {
114
- background-image : url ('data:image/svg+xml; utf8, \
115
- <svg xmlns= "http://www.w3.org/2000/svg" width="768" height="768">\
116
- <path d= "M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \
117
- 132 -240 240 120 120 240 -240 132 132 V0z" fill="%23aaa"/>\
118
- </svg>');
119
- }
120
-
121
- .member-summary caption span .table-tab span , .packages-summary caption span .table-tab span ,
122
- .overview-summary caption span .table-tab span , .type-summary caption span .table-tab span ,
123
- .ui-autocomplete-category ,
124
- div .table-tabs > button .table-tab {
125
- background-color : # aaa ;
126
- color : # fff ;
127
- }
128
-
129
- th .col-first , th .col-second , th .col-last , th .col-constructor-name , th .col-deprecated-item-name , .constants-summary th ,
130
- .packages-summary th {
131
- background : # eee ;
132
- }
133
-
134
- .table-sub-heading-color {
135
- background-color : # eee ;
136
- }
137
-
138
- .alt-color , .alt-color th {
139
- background-color : # fff ;
140
- }
141
-
142
- .row-color , .row-color th {
143
- background-color : # eee ;
144
- }
145
-
146
- .block {
147
- margin : 0 10px 5px 0 ;
70
+ hr {
71
+ color : transparent;
72
+ border-top : 1px solid var (--border-color );
148
73
}
149
74
150
- th .col-first , th .col-second , th .col-last , th .col-constructor-name , th .col-deprecated-item-name , .constants-summary th ,
151
- .packages-summary th , .overview-summary td , .member-summary td , .type-summary td ,
152
- .use-summary td , .constants-summary td , .deprecated-summary td ,
153
- .requires-summary td , .packages-summary td , .provides-summary td , .uses-summary td {
154
- padding-left : 7px ;
75
+ dt {
76
+ font-weight : bold;
155
77
}
0 commit comments