flat buttons and knobs, for consistency's sake
This commit is contained in:
parent
cac8d54369
commit
d53760e6c1
7 changed files with 15 additions and 20 deletions
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,6 @@ module.exports.create = function(widgetData,container) {
|
|||
<div class="knob-mask">
|
||||
<div class="knob"><span></span></div>
|
||||
<div class="handle"></div>
|
||||
<div class="round"></div>
|
||||
</div>
|
||||
<div class="pips">
|
||||
<div class="pip min"></div>
|
||||
|
|
|
|||
|
|
@ -2031,7 +2031,6 @@ module.exports.create = function(widgetData,container) {
|
|||
<div class="knob-mask">
|
||||
<div class="knob"><span></span></div>
|
||||
<div class="handle"></div>
|
||||
<div class="round"></div>
|
||||
</div>
|
||||
<div class="pips">
|
||||
<div class="pip min"></div>
|
||||
|
|
|
|||
|
|
@ -75,17 +75,7 @@
|
|||
z-index:4;
|
||||
}
|
||||
}
|
||||
.round {
|
||||
position:absolute;
|
||||
top:17rem;
|
||||
left:17rem;
|
||||
right:17rem;
|
||||
bottom:17rem;
|
||||
border-radius:100%;
|
||||
background:var(--color-raised);
|
||||
box-shadow: 0 2rem 0 0;
|
||||
color:var(--color-faded);
|
||||
}
|
||||
|
||||
.knob {
|
||||
position:absolute;
|
||||
top:0;left:0;
|
||||
|
|
@ -96,7 +86,17 @@
|
|||
backface-visibility: hidden;
|
||||
z-index: 2;
|
||||
|
||||
|
||||
&:before {
|
||||
content:"";
|
||||
position:absolute;
|
||||
top:17rem;
|
||||
left:17rem;
|
||||
right:17rem;
|
||||
bottom:17rem;
|
||||
border-radius:100%;
|
||||
background-color:var(--color-raised);
|
||||
// background-image:linear-gradient(135deg,rgba(0,0,0,0), rgba(0,0,0,0) 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05));
|
||||
}
|
||||
&:after {
|
||||
content:"";
|
||||
position:absolute;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
&.active {
|
||||
background: var(--color-fg);
|
||||
}
|
||||
border-bottom:2rem solid var(--color-fg);
|
||||
.light {
|
||||
position: absolute;
|
||||
left:auto;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.switch-container {
|
||||
--color-custom:var(--color-accent);
|
||||
|
||||
|
||||
// height: 100%;
|
||||
width:100rem;
|
||||
flex-shrink: 0;
|
||||
|
|
@ -50,7 +50,6 @@
|
|||
text-align: left;
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
border-bottom:2rem solid var(--color-faded);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.toggle-container {
|
||||
--color-custom:var(--color-accent);
|
||||
|
||||
|
||||
width:100rem;
|
||||
min-height: 65rem;
|
||||
flex-shrink: 0;
|
||||
|
|
@ -33,7 +33,6 @@
|
|||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
border-bottom:2rem solid var(--color-fg);
|
||||
|
||||
.light {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue