This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no issue - Added new members settings/toggle to labs
- Loading branch information
1 parent
05a92de
commit e6a6b09
Showing
10 changed files
with
302 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.gh-labs-price-label input { | ||
padding-right: 96px; | ||
} | ||
|
||
.gh-labs-price-label input::-webkit-outer-spin-button, .gh-labs-price-label input::-webkit-inner-spin-button { | ||
/* display: none; <- Crashes Chrome on hover */ | ||
-webkit-appearance: none; | ||
margin: 0; | ||
} | ||
|
||
.gh-labs-price-label input[type=number] { | ||
-moz-appearance: textfield; | ||
/* Firefox */ | ||
} | ||
|
||
.gh-labs-price-label::after { | ||
position: absolute; | ||
top: 8px; | ||
right: 12px; | ||
color: var(--midlightgrey); | ||
} | ||
|
||
.gh-labs-monthly-price::after { | ||
content: "USD/month"; | ||
} | ||
|
||
.gh-labs-yearly-price::after { | ||
content: "USD/year"; | ||
} | ||
|
||
.gh-labs-toggle-wrapper { | ||
padding-top: 6px; | ||
padding-bottom: 6px; | ||
border-radius: 5px; | ||
} | ||
|
||
.gh-btn-labs-toggle { | ||
border: none; | ||
display: flex; | ||
align-items: center; | ||
color: var(--blue); | ||
} | ||
|
||
.gh-btn-labs-toggle svg { | ||
width: 10px; | ||
height: 10px; | ||
margin-right: 5px; | ||
} | ||
|
||
.gh-btn-labs-toggle svg path { | ||
stroke: var(--blue); | ||
} | ||
|
||
.gh-labs-members-radio { | ||
cursor: pointer; | ||
margin: 0 8px; | ||
} | ||
|
||
.gh-labs-members-radio.active { | ||
background: color-mod(var(--blue) alpha(6%)); | ||
border-color: var(--blue); | ||
} | ||
|
||
.gh-labs-disabled .gh-setting-content, .gh-labs-disabled .gh-setting-action { | ||
opacity: 0.25; | ||
} | ||
|
||
.gh-labs-disabled .for-checkbox label { | ||
cursor: default; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<input type="checkbox" checked={{value}} id={{for}} name={{name}} onclick={{action (mut value) value="target.checked"}}> | ||
<input type="checkbox" checked={{value}} disabled={{disabled}} id={{for}} name={{name}} onclick={{action (mut value) value="target.checked"}}> | ||
<span class="input-toggle-component"></span> | ||
{{{yield}}} |
Oops, something went wrong.