Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 66eef3b

Browse files
authored
Merge pull request #87 from yashsehgal/v2.0
Tests added, Minor CSS updates Reviewed by @yashsehgal
2 parents 9e58ed7 + 50b19df commit 66eef3b

4 files changed

Lines changed: 57 additions & 1 deletion

File tree

src/lib/eccentric.css

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,19 @@ body {
7474
line-height: inherit;
7575
}
7676

77+
button:focus {
78+
border: none;
79+
outline: none;
80+
}
81+
82+
button:hover {
83+
cursor: pointer;
84+
}
85+
86+
.et-button-deactivated-secondary:focus {
87+
border: inherit;
88+
}
89+
7790
.et-button-danger, .et-button-invalid {
7891
color: white;
7992
background-color: var(--et-danger);
@@ -110,6 +123,18 @@ body {
110123
line-height: inherit;
111124
}
112125

126+
.et-button-deactivated {
127+
background-color: var(--et-gray-primary);
128+
color: var(--et-black);
129+
}
130+
131+
.et-button-deactivated-secondary {
132+
background-color: var(--et-gray-secondary);
133+
color: var(--et-black);
134+
border: var(--et-black) solid;
135+
border-width: 2px;
136+
}
137+
113138
// Heading Method - Combined button Property
114139

115140
h1,.et-h1,h2,.et-h2,h3,.et-h3,h4,.et-h4,h5,.et-h5,h6,.et-h6{

src/tests/auto/__BUTTON_TESTS.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ __BUTTON__TESTS = [
2020
},
2121
{
2222
"classname": "et-button-warning"
23+
},
24+
{
25+
"classname": "et-button-deactivated"
26+
},
27+
{
28+
"classname": "et-button-deactivated-secondary"
2329
}
2430
]
2531

0 commit comments

Comments
 (0)