anc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_sass/anc.scss +9 -0
- data/_sass/anc/_base.scss +144 -0
- data/_sass/anc/_layout.scss +0 -0
- data/_sass/anc/_materialize.scss +42 -0
- data/_sass/anc/_syntax-highlighting.scss +78 -0
- data/_sass/anc/components/_variables.scss +343 -0
- data/_sass/materialize/components/_badges.scss +47 -0
- data/_sass/materialize/components/_buttons.scss +291 -0
- data/_sass/materialize/components/_cards.scss +196 -0
- data/_sass/materialize/components/_carousel.scss +90 -0
- data/_sass/materialize/components/_chips.scss +89 -0
- data/_sass/materialize/components/_collapsible.scss +84 -0
- data/_sass/materialize/components/_color.scss +412 -0
- data/_sass/materialize/components/_dropdown.scss +68 -0
- data/_sass/materialize/components/_global.scss +734 -0
- data/_sass/materialize/components/_grid.scss +156 -0
- data/_sass/materialize/components/_icons-material-design.scss +5 -0
- data/_sass/materialize/components/_materialbox.scss +43 -0
- data/_sass/materialize/components/_modal.scss +90 -0
- data/_sass/materialize/components/_navbar.scss +208 -0
- data/_sass/materialize/components/_normalize.scss +424 -0
- data/_sass/materialize/components/_preloader.scss +334 -0
- data/_sass/materialize/components/_pulse.scss +34 -0
- data/_sass/materialize/components/_roboto.scss +39 -0
- data/_sass/materialize/components/_sideNav.scss +214 -0
- data/_sass/materialize/components/_slider.scss +92 -0
- data/_sass/materialize/components/_table_of_contents.scss +33 -0
- data/_sass/materialize/components/_tabs.scss +93 -0
- data/_sass/materialize/components/_tapTarget.scss +103 -0
- data/_sass/materialize/components/_toast.scss +59 -0
- data/_sass/materialize/components/_tooltip.scss +31 -0
- data/_sass/materialize/components/_transitions.scss +13 -0
- data/_sass/materialize/components/_typography.scss +61 -0
- data/_sass/materialize/components/_variables.scss +343 -0
- data/_sass/materialize/components/_waves.scss +114 -0
- data/_sass/materialize/components/date_picker/_default.date.scss +456 -0
- data/_sass/materialize/components/date_picker/_default.scss +212 -0
- data/_sass/materialize/components/date_picker/_default.time.scss +267 -0
- data/_sass/materialize/components/forms/_checkboxes.scss +210 -0
- data/_sass/materialize/components/forms/_file-input.scss +44 -0
- data/_sass/materialize/components/forms/_forms.scss +22 -0
- data/_sass/materialize/components/forms/_input-fields.scss +333 -0
- data/_sass/materialize/components/forms/_radio-buttons.scss +115 -0
- data/_sass/materialize/components/forms/_range.scss +160 -0
- data/_sass/materialize/components/forms/_select.scss +182 -0
- data/_sass/materialize/components/forms/_switches.scss +89 -0
- data/_sass/materialize/materialize.scss +42 -0
- metadata +48 -1
@@ -0,0 +1,89 @@
|
|
1
|
+
/* Switch
|
2
|
+
========================================================================== */
|
3
|
+
|
4
|
+
.switch,
|
5
|
+
.switch * {
|
6
|
+
-webkit-tap-highlight-color: transparent;
|
7
|
+
user-select: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
.switch label {
|
11
|
+
cursor: pointer;
|
12
|
+
}
|
13
|
+
|
14
|
+
.switch label input[type=checkbox] {
|
15
|
+
opacity: 0;
|
16
|
+
width: 0;
|
17
|
+
height: 0;
|
18
|
+
|
19
|
+
&:checked + .lever {
|
20
|
+
background-color: $switch-checked-lever-bg;
|
21
|
+
|
22
|
+
&:before, &:after {
|
23
|
+
left: 18px;
|
24
|
+
}
|
25
|
+
|
26
|
+
&:after {
|
27
|
+
background-color: $switch-bg-color;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.switch label .lever {
|
33
|
+
content: "";
|
34
|
+
display: inline-block;
|
35
|
+
position: relative;
|
36
|
+
width: 36px;
|
37
|
+
height: 14px;
|
38
|
+
background-color: $switch-unchecked-lever-bg;
|
39
|
+
border-radius: $switch-radius;
|
40
|
+
margin-right: 10px;
|
41
|
+
transition: background 0.3s ease;
|
42
|
+
vertical-align: middle;
|
43
|
+
margin: 0 16px;
|
44
|
+
|
45
|
+
&:before, &:after {
|
46
|
+
content: "";
|
47
|
+
position: absolute;
|
48
|
+
display: inline-block;
|
49
|
+
width: 20px;
|
50
|
+
height: 20px;
|
51
|
+
border-radius: 50%;
|
52
|
+
left: 0;
|
53
|
+
top: -3px;
|
54
|
+
transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
|
55
|
+
}
|
56
|
+
|
57
|
+
&:before {
|
58
|
+
background-color: transparentize($switch-bg-color, .85);
|
59
|
+
}
|
60
|
+
|
61
|
+
&:after {
|
62
|
+
background-color: $switch-unchecked-bg;
|
63
|
+
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// Switch active style
|
68
|
+
input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
|
69
|
+
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
|
70
|
+
transform: scale(2.4);
|
71
|
+
background-color: transparentize($switch-bg-color, .85);
|
72
|
+
}
|
73
|
+
|
74
|
+
input[type=checkbox]:not(:disabled) ~ .lever:active:before,
|
75
|
+
input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
|
76
|
+
transform: scale(2.4);
|
77
|
+
background-color: rgba(0,0,0,.08);
|
78
|
+
}
|
79
|
+
|
80
|
+
// Disabled Styles
|
81
|
+
.switch input[type=checkbox][disabled] + .lever {
|
82
|
+
cursor: default;
|
83
|
+
background-color: rgba(0,0,0,.12);
|
84
|
+
}
|
85
|
+
|
86
|
+
.switch label input[type=checkbox][disabled] + .lever:after,
|
87
|
+
.switch label input[type=checkbox][disabled]:checked + .lever:after {
|
88
|
+
background-color: $input-disabled-solid-color;
|
89
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
// Colors
|
4
|
+
@import "components/color";
|
5
|
+
|
6
|
+
// Variables;
|
7
|
+
@import "components/variables";
|
8
|
+
|
9
|
+
// Reset
|
10
|
+
@import "components/normalize";
|
11
|
+
|
12
|
+
// components
|
13
|
+
@import "components/global";
|
14
|
+
@import "components/badges";
|
15
|
+
@import "components/icons-material-design";
|
16
|
+
@import "components/grid";
|
17
|
+
@import "components/navbar";
|
18
|
+
@import "components/roboto";
|
19
|
+
@import "components/typography";
|
20
|
+
@import "components/transitions";
|
21
|
+
@import "components/cards";
|
22
|
+
@import "components/toast";
|
23
|
+
@import "components/tabs";
|
24
|
+
@import "components/tooltip";
|
25
|
+
@import "components/buttons";
|
26
|
+
@import "components/dropdown";
|
27
|
+
@import "components/waves";
|
28
|
+
@import "components/modal";
|
29
|
+
@import "components/collapsible";
|
30
|
+
@import "components/chips";
|
31
|
+
@import "components/materialbox";
|
32
|
+
@import "components/forms/forms";
|
33
|
+
@import "components/table_of_contents";
|
34
|
+
@import "components/sideNav";
|
35
|
+
@import "components/preloader";
|
36
|
+
@import "components/slider";
|
37
|
+
@import "components/carousel";
|
38
|
+
@import "components/tapTarget";
|
39
|
+
@import "components/pulse";
|
40
|
+
@import "components/date_picker/default";
|
41
|
+
@import "components/date_picker/default.date";
|
42
|
+
@import "components/date_picker/default.time";
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jubyaed Hossain
|
@@ -64,6 +64,53 @@ files:
|
|
64
64
|
- _layouts/default.html
|
65
65
|
- _layouts/page.html
|
66
66
|
- _layouts/post.html
|
67
|
+
- _sass/anc.scss
|
68
|
+
- _sass/anc/_base.scss
|
69
|
+
- _sass/anc/_layout.scss
|
70
|
+
- _sass/anc/_materialize.scss
|
71
|
+
- _sass/anc/_syntax-highlighting.scss
|
72
|
+
- _sass/anc/components/_variables.scss
|
73
|
+
- _sass/materialize/components/_badges.scss
|
74
|
+
- _sass/materialize/components/_buttons.scss
|
75
|
+
- _sass/materialize/components/_cards.scss
|
76
|
+
- _sass/materialize/components/_carousel.scss
|
77
|
+
- _sass/materialize/components/_chips.scss
|
78
|
+
- _sass/materialize/components/_collapsible.scss
|
79
|
+
- _sass/materialize/components/_color.scss
|
80
|
+
- _sass/materialize/components/_dropdown.scss
|
81
|
+
- _sass/materialize/components/_global.scss
|
82
|
+
- _sass/materialize/components/_grid.scss
|
83
|
+
- _sass/materialize/components/_icons-material-design.scss
|
84
|
+
- _sass/materialize/components/_materialbox.scss
|
85
|
+
- _sass/materialize/components/_modal.scss
|
86
|
+
- _sass/materialize/components/_navbar.scss
|
87
|
+
- _sass/materialize/components/_normalize.scss
|
88
|
+
- _sass/materialize/components/_preloader.scss
|
89
|
+
- _sass/materialize/components/_pulse.scss
|
90
|
+
- _sass/materialize/components/_roboto.scss
|
91
|
+
- _sass/materialize/components/_sideNav.scss
|
92
|
+
- _sass/materialize/components/_slider.scss
|
93
|
+
- _sass/materialize/components/_table_of_contents.scss
|
94
|
+
- _sass/materialize/components/_tabs.scss
|
95
|
+
- _sass/materialize/components/_tapTarget.scss
|
96
|
+
- _sass/materialize/components/_toast.scss
|
97
|
+
- _sass/materialize/components/_tooltip.scss
|
98
|
+
- _sass/materialize/components/_transitions.scss
|
99
|
+
- _sass/materialize/components/_typography.scss
|
100
|
+
- _sass/materialize/components/_variables.scss
|
101
|
+
- _sass/materialize/components/_waves.scss
|
102
|
+
- _sass/materialize/components/date_picker/_default.date.scss
|
103
|
+
- _sass/materialize/components/date_picker/_default.scss
|
104
|
+
- _sass/materialize/components/date_picker/_default.time.scss
|
105
|
+
- _sass/materialize/components/forms/_checkboxes.scss
|
106
|
+
- _sass/materialize/components/forms/_file-input.scss
|
107
|
+
- _sass/materialize/components/forms/_forms.scss
|
108
|
+
- _sass/materialize/components/forms/_input-fields.scss
|
109
|
+
- _sass/materialize/components/forms/_radio-buttons.scss
|
110
|
+
- _sass/materialize/components/forms/_range.scss
|
111
|
+
- _sass/materialize/components/forms/_select.scss
|
112
|
+
- _sass/materialize/components/forms/_switches.scss
|
113
|
+
- _sass/materialize/materialize.scss
|
67
114
|
- assets/main.scss
|
68
115
|
homepage: http://anc.jubayed.github.io
|
69
116
|
licenses:
|