Skip to content

Commit be47096

Browse files
committed
disabled buttons
1 parent ecf8c0e commit be47096

File tree

7 files changed

+48
-143
lines changed

7 files changed

+48
-143
lines changed

source/app/index.html

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2>Unnamed</h2>
3939
frameborder="0" scrolling="0" width="90px" height="20px">
4040
</iframe>
4141
<iframe class="iframe forkit" src="https://ghbtns.com/github-btn.html?user=smakosh&repo=unnamed-css-framework&type=fork&count=true"
42-
frameborder="0" scrolling="0" width="80px" height="20px">
42+
frameborder="0" scrolling="0" width="90px" height="20px">
4343
</iframe>
4444

4545
<div class="flexed-links">
@@ -71,31 +71,14 @@ <h3>Easy to contribute</h3>
7171
<div class="container instalation" id="installation">
7272
<h3 class="title">Installation</h3>
7373
<div class="divider"></div>
74-
<h4>Include one of these links</h4>
74+
<h4>Include one of these links:</h4>
7575
<pre>&lt;link rel="stylesheet" href="http://smakosh.com/unnamed.css"&gt;</pre>
7676
<h4>Minimized</h4>
7777
<pre>&lt;link rel="stylesheet" href="http://smakosh.com/unnamed.min.css"&gt;</pre>
78-
<h4 class="download">Or download both</h4>
78+
<h4 class="download">Or download both:</h4>
7979
<a href="http://smakosh.com/unnamed-css.zip" class="btn btn-rounded btn-outlined purple-btn push-up" download>Download</a>
80-
</div>
81-
82-
<div class="container navbar">
83-
<h3 class="title">
84-
Navbar
85-
</h3>
86-
<div class="divider"></div>
87-
88-
<div class="nav navbar-green">
89-
<div class="brand-logo">
90-
<a href="" class="branding"></a>
91-
</div>
92-
<div class="links">
93-
<a href="">Home</a>
94-
<a href="">About</a>
95-
<a href="">Help</a>
96-
<a href="">Contact</a>
97-
</div>
98-
</div>
80+
<h4>Or use this starter repository:</h4>
81+
<pre>git clone https://github.com/smakosh/Unnamed-getting-started.git</pre>
9982
</div>
10083

10184
<div class="container buttons" id="doc">
@@ -128,22 +111,11 @@ <h3 class="title">Buttons</h3>
128111

129112
<h3 class="title">Disabled buttons</h3>
130113
<div class="divider"></div>
131-
<div class="type-buttons">
132-
<button href="#" class="btn btn-primary gradient-black" disabled>btn-primary</button>
133-
<button href="#" class="btn btn-rounded gradient-black" disabled>btn-rounded</button>
134-
<button href="#" class="btn btn-rounded btn-outlined black-btn" disabled>btn-outlined</button>
135-
</div>
136-
137-
<div class="type-buttons">
138-
<button href="#" class="btn btn-primary gradient-green" disabled>btn-primary</button>
139-
<button href="#" class="btn btn-rounded gradient-green" disabled>btn-rounded</button>
140-
<button href="#" class="btn btn-rounded btn-outlined green-btn" disabled>btn-outlined</button>
141-
</div>
142114

143115
<div class="type-buttons">
144-
<button href="#" class="btn btn-primary gradient-orange" disabled>btn-primary</button>
145-
<button href="#" class="btn btn-rounded gradient-orange" disabled>btn-rounded</button>
146-
<button href="#" class="btn btn-rounded btn-outlined orange-btn" disabled>btn-outlined</button>
116+
<button href="#" class="btn btn-primary" disabled>btn-primary</button>
117+
<button href="#" class="btn btn-rounded" disabled>btn-rounded</button>
118+
<button href="#" class="btn btn-rounded btn-outlined" disabled>btn-outlined</button>
147119
</div>
148120

149121
<h4 class="description">There are 3 types of buttons and you can change the colors just

source/app/styles/buttons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ button:disabled {
8080

8181
box-shadow: unset;
8282
opacity: .8;
83-
background: #505050;
83+
background: $disabled;
8484
color: #fff;
8585
border: unset;
8686
}
8787

8888
button:disabled:hover {
8989

9090
box-shadow: unset;
91-
background: #505050;
91+
background: $disabled;
9292
}

source/app/styles/colors.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ $purple-btn: #7274ff;
2626
// other colors============================================
2727
$red: #f44336;
2828
$black: #212121;
29+
$disabled: #fa5151;
2930
//=========================================================

source/app/styles/forms.scss

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,6 @@ form {
66
width: 100%;
77
}
88

9-
.input-field {
10-
11-
span:before {
12-
13-
cursor: pointer;
14-
position: relative;
15-
font-family: 'fontawesome';
16-
top: 3rem;
17-
left: .6rem;
18-
color: $black;
19-
}
20-
}
21-
22-
.text-area-field {
23-
24-
span:before {
25-
26-
top: 1.8rem;
27-
}
28-
}
29-
30-
.user-icon:before {
31-
32-
content: '';
33-
}
34-
35-
.email-icon:before {
36-
37-
content: '';
38-
}
39-
40-
.edit-icon:before {
41-
42-
content: '';
43-
}
44-
459
input[type="text"],
4610
input[type="password"],
4711
input[type="email"],
@@ -54,7 +18,6 @@ select,
5418
textarea,
5519
textarea[type=text] {
5620

57-
-webkit-appearance:none;
5821
width: 100%;
5922
margin-top: 1rem;
6023
margin-bottom: 1rem;
@@ -76,6 +39,7 @@ textarea[type=text] {
7639
input, textarea {
7740

7841
padding: .9rem 1rem .9rem 2rem;
42+
-webkit-appearance:none;
7943
}
8044

8145
select {
@@ -92,6 +56,42 @@ textarea {
9256
margin: 0;
9357
}
9458

59+
.input-field {
60+
61+
span:before {
62+
63+
cursor: pointer;
64+
position: relative;
65+
font-family: 'fontawesome';
66+
top: 3rem;
67+
left: .6rem;
68+
color: $black;
69+
}
70+
}
71+
72+
.text-area-field {
73+
74+
span:before {
75+
76+
top: 1.8rem;
77+
}
78+
}
79+
80+
.user-icon:before {
81+
82+
content: '';
83+
}
84+
85+
.email-icon:before {
86+
87+
content: '';
88+
}
89+
90+
.edit-icon:before {
91+
92+
content: '';
93+
}
94+
9595
label {
9696

9797
cursor: pointer;

source/app/styles/gradient.scss

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,3 @@
7979
transition: all 0.5s;
8080
}
8181
}
82-
83-
.navbar-green {
84-
@include linear-gradient($green, $blue);
85-
box-shadow: 0px 4px 7px 0px rgba(18, 194, 211, 0.48);
86-
transition: all 0.5s;
87-
}
88-
89-
.navbar-orange {
90-
@include linear-gradient($yellow, $orange);
91-
box-shadow: 0px 4px 7px 0px rgba(255, 50, 39, 0.48);
92-
transition: all 0.5s;
93-
}
94-
95-
.navbar-purple {
96-
@include linear-gradient($dark-blue, $purple);
97-
box-shadow: 0px 4px 7px 0px rgba(170, 49, 255, 0.48);
98-
transition: all 0.5s;
99-
}

source/app/styles/main.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
@import "default";
99
@import "gradient";
1010
@import "buttons";
11-
@import "navbar";
1211

1312
body {
1413
font-family: 'roboto';

source/app/styles/navbar.scss

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)