nitdoc: move css files to share/css/ dir
[nit.git] / share / nitdoc / css / Nitdoc.UI.css
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 Documentation generator for the nit language.
16 Generate API documentation in HTML format from nit source code.
17 */
18
19 /*
20 * Nitdoc UI JS module
21 */
22
23
24 /* Folding */
25
26 a.nitdoc-ui-fold {
27 margin: 0 5px;
28 color: #999;
29 font-family: monospace;
30 font-weight: bold;
31 font-size: 120%;
32 }
33
34 /* Copy signature to clipboard */
35
36 button.nitdoc-ui-copy.zeroclipboard-is-active {
37 border-color: #0D8921;
38 }
39
40 button.nitdoc-ui-copy {
41 visibility: hidden;
42 vertical-align: middle;
43 margin: -2px 0px 0px 10px;
44 width: 22px;
45 height: 19px;
46 padding: 1px;
47 cursor: pointer;
48 background: #eee;
49 border: 1px solid #ccc;
50 box-shadow: none;
51 }
52
53 button.nitdoc-ui-copy img {
54 width: 16px;
55 }
56
57 article:hover > .signature button.nitdoc-ui-copy, button.nitdoc-ui-copy.zeroclipboard-is-hover {
58 visibility: visible;
59 }
60
61 /* Search page field */
62
63 .nitdoc-ui-searchpage-field {
64 width: 750px;
65 }
66
67 /* Side bar boxes text filtering */
68
69 .nitdoc-ui-filter {
70 text-align: center;
71 padding: 5px;
72 }
73
74 .nitdoc-ui-filter-field {
75 width: 150px;
76 margin-right: 5px;
77 }
78
79 .nitdoc-ui-filter-field-notused {
80 color: #999;
81 font-style: italic;
82 }
83
84 /* Side bar boxes type filtering */
85
86 a.nitdoc-ui-filter-link {
87 color: #0D8921;
88 cursor: pointer;
89 font-family: monospace;
90 margin-right: 5px;
91 font-weight: bold;
92 }
93
94 a.nitdoc-ui-filter-link:hover {
95 text-decoration: underline;
96 }
97
98 a.nitdoc-ui-filter-hidden {
99 color: #999;
100 font-weight: normal;
101 }
102