-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Monospace font for OS commands. * Going with FontAwesome terminal icon. * No 'OS' since we have icon, labeling 'ON' and 'OFF' for commands. * Labeling OFF for confirmation setting. * Prefexing GPIO input with BCM helper. * Moving and scaling icon previews. * Captions for previews. * Minor: shorter label. * Better preview caption appearance. * Adding help icon opening pins enumeration docs. * Reducing the help block on inverted relays. * Introducing CSS asset (not complete). * Easier CSS references and better markup. * CSS extracting complete. * Better info icons. * Ref: extracting css class bindings into 'let' ones. * Slightly smaller ON/OFF labels on the left side. * Updating tests. * UX: fading the tabs switching. * Updating snapshot. * Neat: icon preview border radius. * Changelog: the future 3.5.0.
- Loading branch information
Showing
6 changed files
with
1,802 additions
and
987 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#settings_plugin_octorelay .tab-content { | ||
position: relative | ||
} | ||
|
||
#settings_plugin_octorelay .btn > input[type='radio'] { | ||
display: none | ||
} | ||
|
||
#settings_plugin_octorelay input.code { | ||
font-family: monospace; | ||
} | ||
|
||
#settings_plugin_octorelay .input-prepend > .add-on.tiny { | ||
font-size: 0.45rem; | ||
font-weight: 600; | ||
} | ||
|
||
#settings_plugin_octorelay .help-inline a.same-color { | ||
color: inherit; | ||
} | ||
|
||
#settings_plugin_octorelay .control-label span.label { | ||
zoom: 0.85; /* not scale */ | ||
} | ||
|
||
#settings_plugin_octorelay .fa-info { | ||
border: 2px solid currentColor; | ||
padding: 3px 8px; | ||
border-radius: 50%; | ||
scale: 0.6; | ||
transform-origin: left; | ||
} | ||
|
||
#settings_plugin_octorelay .preview { | ||
display: flex; | ||
width: 24px; | ||
height: 24px; | ||
overflow: hidden; | ||
line-height: unset; | ||
font-size: 1.25rem; | ||
align-items: center; | ||
justify-content: center; | ||
position: absolute; | ||
top: 0; | ||
scale: 3; | ||
transform-origin: top left; | ||
border: 0.3px dashed #00000066; | ||
box-sizing: content-box; | ||
border-radius: 2px; | ||
} | ||
|
||
#settings_plugin_octorelay .preview-caption { | ||
position: absolute; | ||
top: 75px; | ||
width: 75px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: baseline; | ||
gap: 0.5ch; | ||
white-space: nowrap; | ||
scale: 0.75; | ||
transform-origin: top; | ||
} |
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
Oops, something went wrong.