axinite 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,215 @@
1
+ .highlight .hll { background-color: #ffc; }
2
+
3
+ // Comment
4
+ .highlight .c {
5
+ font-style: italic;
6
+ color: #998;
7
+ }
8
+
9
+ // Error
10
+ .highlight .err {
11
+ color: #a61717;
12
+ background-color: #e3d2d2;
13
+ }
14
+
15
+ // Keyword
16
+ .highlight .k {
17
+ font-weight: bold;
18
+ color: #000;
19
+ }
20
+
21
+ // Operator
22
+ .highlight .o {
23
+ font-weight: bold;
24
+ color: #000;
25
+ }
26
+
27
+ // Comment.Multiline
28
+ .highlight .cm {
29
+ font-style: italic;
30
+ color: #998;
31
+ }
32
+
33
+ // Comment.Preproc
34
+ .highlight .cp {
35
+ font-style: italic;
36
+ font-weight: bold;
37
+ color: #999;
38
+ }
39
+
40
+ // Comment.Single
41
+ .highlight .c1 {
42
+ font-style: italic;
43
+ color: #998;
44
+ }
45
+
46
+ // Comment.Special
47
+ .highlight .cs {
48
+ font-style: italic;
49
+ font-weight: bold;
50
+ color: #999;
51
+ }
52
+
53
+ // Generic.Deleted
54
+ .highlight .gd {
55
+ color: #000;
56
+ background-color: #fdd;
57
+ }
58
+
59
+ // Generic.Emph
60
+ .highlight .ge {
61
+ font-style: italic;
62
+ color: #000;
63
+ }
64
+
65
+ .highlight .gr { color: #a00; } // Generic.Error
66
+
67
+ .highlight .gh { color: #999; } // Generic.Heading
68
+
69
+ // Generic.Inserted
70
+ .highlight .gi {
71
+ color: #000;
72
+ background-color: #dfd;
73
+ }
74
+
75
+ .highlight .go { color: #888; } // Generic.Output
76
+
77
+ .highlight .gp { color: #555; } // Generic.Prompt
78
+
79
+ .highlight .gs { font-weight: bold; } // Generic.Strong
80
+
81
+ .highlight .gu { color: #aaa; } // Generic.Subheading
82
+
83
+ .highlight .gt { color: #a00; } // Generic.Traceback
84
+
85
+ // Keyword.Constant
86
+ .highlight .kc {
87
+ font-weight: bold;
88
+ color: #000;
89
+ }
90
+
91
+ // Keyword.Declaration
92
+ .highlight .kd {
93
+ font-weight: bold;
94
+ color: #000;
95
+ }
96
+
97
+ // Keyword.Namespace
98
+ .highlight .kn {
99
+ font-weight: bold;
100
+ color: #000;
101
+ }
102
+
103
+ // Keyword.Pseudo
104
+ .highlight .kp {
105
+ font-weight: bold;
106
+ color: #000;
107
+ }
108
+
109
+ // Keyword.Reserved
110
+ .highlight .kr {
111
+ font-weight: bold;
112
+ color: #000;
113
+ }
114
+
115
+ // Keyword.Type
116
+ .highlight .kt {
117
+ font-weight: bold;
118
+ color: #458;
119
+ }
120
+
121
+ .highlight .m { color: #099; } // Literal.Number
122
+
123
+ .highlight .s { color: #d01040; } // Literal.String
124
+
125
+ .highlight .na { color: #008080; } // Name.Attribute
126
+
127
+ .highlight .nb { color: #0086b3; } // Name.Builtin
128
+
129
+ // Name.Class
130
+ .highlight .nc {
131
+ font-weight: bold;
132
+ color: #458;
133
+ }
134
+
135
+ .highlight .no { color: #008080; } // Name.Constant
136
+
137
+ // Name.Decorator
138
+ .highlight .nd {
139
+ font-weight: bold;
140
+ color: #3c5d5d;
141
+ }
142
+
143
+ .highlight .ni { color: #800080; } // Name.Entity
144
+
145
+ // Name.Exception
146
+ .highlight .ne {
147
+ font-weight: bold;
148
+ color: #900;
149
+ }
150
+
151
+ // Name.Function
152
+ .highlight .nf {
153
+ font-weight: bold;
154
+ color: #900;
155
+ }
156
+
157
+ // Name.Label
158
+ .highlight .nl {
159
+ font-weight: bold;
160
+ color: #900;
161
+ }
162
+
163
+ .highlight .nn { color: #555; } // Name.Namespace
164
+
165
+ .highlight .nt { color: #000080; } // Name.Tag
166
+
167
+ .highlight .nv { color: #008080; } // Name.Variable
168
+
169
+ // Operator.Word
170
+ .highlight .ow {
171
+ font-weight: bold;
172
+ color: #000;
173
+ }
174
+
175
+ .highlight .w { color: #bbb; } // Text.Whitespace
176
+
177
+ .highlight .mf { color: #099; } // Literal.Number.Float
178
+
179
+ .highlight .mh { color: #099; } // Literal.Number.Hex
180
+
181
+ .highlight .mi { color: #099; } // Literal.Number.Integer
182
+
183
+ .highlight .mo { color: #099; } // Literal.Number.Oct
184
+
185
+ .highlight .sb { color: #d01040; } // Literal.String.Backtick
186
+
187
+ .highlight .sc { color: #d01040; } // Literal.String.Char
188
+
189
+ .highlight .sd { color: #d01040; } // Literal.String.Doc
190
+
191
+ .highlight .s2 { color: #d01040; } // Literal.String.Double
192
+
193
+ .highlight .se { color: #d01040; } // Literal.String.Escape
194
+
195
+ .highlight .sh { color: #d01040; } // Literal.String.Heredoc
196
+
197
+ .highlight .si { color: #d01040; } // Literal.String.Interpol
198
+
199
+ .highlight .sx { color: #d01040; } // Literal.String.Other
200
+
201
+ .highlight .sr { color: #009926; } // Literal.String.Regex
202
+
203
+ .highlight .s1 { color: #d01040; } // Literal.String.Single
204
+
205
+ .highlight .ss { color: #990073; } // Literal.String.Symbol
206
+
207
+ .highlight .bp { color: #999; } // Name.Builtin.Pseudo
208
+
209
+ .highlight .vc { color: #008080; } // Name.Variable.Class
210
+
211
+ .highlight .vg { color: #008080; } // Name.Variable.Global
212
+
213
+ .highlight .vi { color: #008080; } // Name.Variable.Instance
214
+
215
+ .highlight .il { color: #099; } // Literal.Number.Integer.Long
@@ -0,0 +1,129 @@
1
+ .tip { position: relative; }
2
+
3
+ .tip::after {
4
+ position: absolute;
5
+ z-index: $tooltip-z-index;
6
+ display: none;
7
+ padding: 5px 8px;
8
+ font: normal normal ($body-font-size * .75) $sans-serif-font-stack;
9
+ line-height: $base-line-height;
10
+ color: $tooltip-text-color;
11
+ text-align: center;
12
+ text-decoration: none;
13
+ text-shadow: none;
14
+ text-transform: none;
15
+ letter-spacing: normal;
16
+ word-wrap: break-word;
17
+ white-space: pre;
18
+ pointer-events: none;
19
+ content: attr(aria-label);
20
+ background-color: $tooltip-bg-color;
21
+ border-radius: 3px;
22
+ opacity: 0;
23
+ -webkit-font-smoothing: subpixel-antialiased;
24
+ }
25
+
26
+ .tip::before {
27
+ position: absolute;
28
+ z-index: ($tooltip-z-index + 1);
29
+ display: none;
30
+ width: 0;
31
+ height: 0;
32
+ color: $tooltip-bg-color;
33
+ pointer-events: none;
34
+ content: "";
35
+ border: 5px solid transparent;
36
+ opacity: 0;
37
+ }
38
+
39
+ @keyframes tooltip-fade {
40
+ from { opacity: 0; }
41
+
42
+ to { opacity: 1; }
43
+ }
44
+
45
+ .tip:hover,
46
+ .tip:active,
47
+ .tip:focus {
48
+ &::before,
49
+ &::after {
50
+ display: inline-block;
51
+ text-decoration: none;
52
+ animation-name: tooltip-fade;
53
+ animation-duration: $tooltip-duration;
54
+ animation-timing-function: ease-in;
55
+ animation-delay: $tooltip-delay;
56
+ animation-fill-mode: forwards;
57
+ }
58
+ }
59
+
60
+ .tip-bottom {
61
+ &::after {
62
+ top: 100%;
63
+ right: 50%;
64
+ margin-top: 5px;
65
+ }
66
+
67
+ &::before {
68
+ top: auto;
69
+ right: 50%;
70
+ bottom: -5px;
71
+ margin-right: -5px;
72
+ border-bottom-color: $tooltip-bg-color;
73
+ }
74
+ }
75
+
76
+ .tip-top {
77
+ &::after {
78
+ right: 50%;
79
+ bottom: 100%;
80
+ margin-bottom: 5px;
81
+ }
82
+
83
+ &::before {
84
+ top: -5px;
85
+ right: 50%;
86
+ bottom: auto;
87
+ margin-right: -5px;
88
+ border-top-color: $tooltip-bg-color;
89
+ }
90
+ }
91
+
92
+ .tip-bottom::after,
93
+ .tip-top::after {
94
+ transform: translateX(50%);
95
+ }
96
+
97
+ .tip-left {
98
+ &::after {
99
+ right: 100%;
100
+ bottom: 50%;
101
+ margin-right: 5px;
102
+ transform: translateY(50%);
103
+ }
104
+
105
+ &::before {
106
+ top: 50%;
107
+ bottom: 50%;
108
+ left: -5px;
109
+ margin-top: -5px;
110
+ border-left-color: $tooltip-bg-color;
111
+ }
112
+ }
113
+
114
+ .tip-right {
115
+ &::after {
116
+ bottom: 50%;
117
+ left: 100%;
118
+ margin-left: 5px;
119
+ transform: translateY(50%);
120
+ }
121
+
122
+ &::before {
123
+ top: 50%;
124
+ right: -5px;
125
+ bottom: 50%;
126
+ margin-top: -5px;
127
+ border-right-color: $tooltip-bg-color;
128
+ }
129
+ }
@@ -0,0 +1,23 @@
1
+ .container {
2
+ max-width: 50em;
3
+ padding: 4em 1em;
4
+ margin: 0 auto;
5
+ line-height: $base-line-height;
6
+ }
7
+
8
+ .header {
9
+ padding: 1.5em;
10
+ text-align: center;
11
+
12
+ h2 {
13
+ font-weight: normal;
14
+ }
15
+
16
+ li {
17
+ display: inline-block;
18
+ padding: .5em;
19
+ vertical-align: center;
20
+ list-style: none;
21
+ }
22
+
23
+ }
@@ -0,0 +1,55 @@
1
+ // Component colors
2
+ $primary-default: #d8d8d8 !default;
3
+ $primary-brand: #5762d5 !default;
4
+ $primary-info: #4ea5d9 !default;
5
+ $primary-success: #79ce80 !default;
6
+ $primary-warning: #e8e366 !default;
7
+ $primary-caution: #ff572d !default;
8
+ $primary-danger: #e03431 !default;
9
+
10
+ // Basic colors
11
+ $white: #fff !default;
12
+ $black: #000 !default;
13
+
14
+ // Font stack
15
+ $mono-font-stack: Menlo, "Lucida Console", "Roboto Mono", "Ubuntu Mono", monospace !default;
16
+ $sans-serif-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif !default;
17
+ $serif-font-stack: Georgia, "Times New Roman", Times, serif !default;
18
+
19
+ // Body
20
+ $body-dark-color: #f9f9f9 !default;
21
+ $body-light-color: #424c55 !default;
22
+ $body-text-color: #888 !default;
23
+ $dark-bg-color: $body-light-color !default;
24
+ $light-bg-color: $body-dark-color !default;
25
+
26
+ // Code
27
+ $code-bg-color: #f5f7f9 !default;
28
+ $code-text-color: #92b4a7 !default;
29
+ $kbd-bg-color: $black !default;
30
+ $kbd-text-color: $white !default;
31
+ $pre-text-color: $code-text-color !default;
32
+ $pre-bg-color: $code-bg-color !default;
33
+
34
+ // Tooltips
35
+ $tooltip-bg-color: #000 !default;
36
+ $tooltip-delay: .4s !default;
37
+ $tooltip-duration: .1s !default;
38
+ $tooltip-max-width: 250px !default;
39
+ $tooltip-text-color: #fff !default;
40
+ $tooltip-z-index: 1000000 !default;
41
+
42
+ // Sizing
43
+ $body-font-size: 1em !default;
44
+ $h1-font-size: 2.25em;
45
+ $h2-font-size: 2em;
46
+ $h3-font-size: 1.75em;
47
+ $h4-font-size: 1.5em;
48
+ $h5-font-size: 1.25em;
49
+ $h6-font-size: $body-font-size !default;
50
+
51
+ // Spacing
52
+ $base-line-height: 1.5 !default;
53
+
54
+ // Shadow
55
+ $box-shadow-color: rgba(0,0,0,.3) !default;
@@ -0,0 +1,23 @@
1
+ @mixin button($primary-color) {
2
+ background-color: $primary-color;
3
+ border: 1px solid darken($primary-color, 5%);
4
+ color: $white;
5
+
6
+ &:focus { @include shadow($primary-color); }
7
+
8
+ &:hover {
9
+ background-color: darken($primary-color, 10%);
10
+ border-color: darken($primary-color, 15%);
11
+ }
12
+
13
+ &:active {
14
+ background-color: darken($primary-color, 20%);
15
+ border-color: darken($primary-color, 35%);
16
+ box-shadow: inset 0 2px 4px $box-shadow-color;
17
+ }
18
+ }
19
+
20
+ @mixin button-size($padding-y, $padding-x, $font-size) {
21
+ padding: $padding-y $padding-x;
22
+ font-size: $font-size;
23
+ }