File tree Expand file tree Collapse file tree 6 files changed +506
-426
lines changed Expand file tree Collapse file tree 6 files changed +506
-426
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ Unnamed is a simple colorful css framework that is recommended to be used while
7
7
[ ![ Package Version] ( https://img.shields.io/npm/v/unnamed.svg?style=flat-square )] ( https://www.npmjs.com/package/unnamed )
8
8
[ ![ Package Downloads] ( https://img.shields.io/npm/dt/unnamed.svg?style=flat-square )] ( https://www.npmjs.com/package/unnamed )
9
9
10
+ [ ![ Support me on Patreon] ( https://c5.patreon.com/external/logo/become_a_patron_button.png )] ( https://www.patreon.com/smakosh )
11
+
10
12
Npm
11
13
12
14
npm install --save unnamed
Original file line number Diff line number Diff line change @@ -71,6 +71,27 @@ <h3 class="title">Disabled buttons</h3>
71
71
< button href ="# " class ="btn btn-rounded " disabled > btn-rounded</ button >
72
72
< button href ="# " class ="btn btn-rounded btn-outlined " disabled > btn-outlined</ button >
73
73
</ div >
74
+
75
+ < h3 class ="title "> Buttons Sizes</ h3 >
76
+ < div class ="divider "> </ div >
77
+
78
+ < div class ="type-buttons ">
79
+ < button href ="# " class ="btn btn-primary gradient-green btn-small "> btn-small</ button >
80
+ < button href ="# " class ="btn btn-primary gradient-purple "> default size</ button >
81
+ < button href ="# " class ="btn btn-primary gradient-orange btn-large "> btn-large</ button >
82
+ </ div >
83
+
84
+ < div class ="type-buttons ">
85
+ < button href ="# " class ="btn btn-rounded gradient-green btn-small "> btn-small</ button >
86
+ < button href ="# " class ="btn btn-rounded gradient-purple "> default size</ button >
87
+ < button href ="# " class ="btn btn-rounded gradient-orange btn-large "> btn-large</ button >
88
+ </ div >
89
+
90
+ < div class ="type-buttons ">
91
+ < button href ="# " class ="btn btn-rounded btn-outlined green-btn btn-small "> btn-small</ button >
92
+ < button href ="# " class ="btn btn-rounded btn-outlined purple-btn "> default size</ button >
93
+ < button href ="# " class ="btn btn-rounded btn-outlined orange-btn btn-large "> btn-large</ button >
94
+ </ div >
74
95
</ div >
75
96
< div class ="container ">
76
97
< h3 class ="title "> Forms</ h3 >
Original file line number Diff line number Diff line change 1
1
@import " colors" ;
2
2
3
- .btn {
3
+ .btn {
4
4
padding : 1rem 1.5rem ;
5
5
color : #fff ;
6
6
cursor : pointer ;
7
7
text-transform : uppercase ;
8
8
font-weight : bold ;
9
9
}
10
10
11
- .btn-primary {
11
+ .btn-primary {
12
12
border-radius : 5px ;
13
13
}
14
14
15
- .btn-rounded {
16
- border-radius : 30 px ;
15
+ .btn-rounded {
16
+ border-radius : 60 px ;
17
17
}
18
18
19
- .btn-outlined {
19
+ .btn-outlined {
20
20
border-width : 3px ;
21
21
border-style : solid ;
22
22
transition : all 0.5s ;
31
31
background : $black !important ;
32
32
}
33
33
34
- .black-btn {
34
+ .black-btn {
35
35
border-color : $black ;
36
36
color : $black ;
37
37
40
40
}
41
41
}
42
42
43
- .green-btn {
43
+ .green-btn {
44
44
border-color : $green ;
45
45
color : $green ;
46
46
49
49
}
50
50
}
51
51
52
- .orange-btn {
52
+ .orange-btn {
53
53
border-color : $orange-btn ;
54
54
color : $orange-btn ;
55
55
58
58
}
59
59
}
60
60
61
- .purple-btn {
61
+ .purple-btn {
62
62
border-color : $purple-btn ;
63
63
color : $purple-btn ;
64
64
67
67
}
68
68
}
69
69
70
- button :disabled {
70
+ .btn-small {
71
+ padding : 0.5rem 1rem ;
72
+ }
73
+
74
+ .btn-large {
75
+ padding : 1.5rem 2rem ;
76
+ }
77
+
78
+ button :disabled {
71
79
box-shadow : unset ;
72
- opacity : .8 ;
80
+ opacity : 0 .8 ;
73
81
background : $disabled ;
74
82
color : #fff ;
75
83
border : unset ;
76
84
77
- & :hover {
85
+ & :hover {
78
86
box-shadow : unset ;
79
87
background : $disabled ;
80
88
}
81
- }
89
+ }
Original file line number Diff line number Diff line change @@ -3506,8 +3506,8 @@ lodash.memoize@^4.1.2:
3506
3506
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
3507
3507
3508
3508
lodash.mergewith@^4.6.0 :
3509
- version "4.6.0 "
3510
- resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.0 .tgz#150cf0a16791f5903b8891eab154609274bdea55 "
3509
+ version "4.6.2 "
3510
+ resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2 .tgz#617121f89ac55f59047c7aec1ccd6654c6590f55 "
3511
3511
3512
3512
lodash.restparam@^3.0.0 :
3513
3513
version "3.6.1"
@@ -5283,8 +5283,8 @@ string_decoder@~1.0.3:
5283
5283
safe-buffer "~5.1.0"
5284
5284
5285
5285
stringstream@~0.0.4 :
5286
- version "0.0.5 "
5287
- resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5 .tgz#4e484cd4de5a0bbbee18e46307710a8a81621878 "
5286
+ version "0.0.6 "
5287
+ resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.6 .tgz#7880225b0d4ad10e30927d167a1d6f2fd3b33a72 "
5288
5288
5289
5289
strip-ansi@^3.0.0, strip-ansi@^3.0.1 :
5290
5290
version "3.0.1"
You can’t perform that action at this time.
0 commit comments