mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-22 09:52:50 +00:00
Remove unused CSS selectors. (#181)
This commit is contained in:
committed by
GitHub
parent
63d0ad7ae8
commit
b6ded5f94c
@@ -177,9 +177,6 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
$border-radius: 16px;
|
$border-radius: 16px;
|
||||||
|
|
||||||
h2 {
|
|
||||||
height: min-content;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
border: 1px solid var(--md-sys-color-outline);
|
border: 1px solid var(--md-sys-color-outline);
|
||||||
@@ -223,21 +220,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-to-present {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scroll-controls {
|
|
||||||
position: sticky;
|
|
||||||
bottom: 0;
|
|
||||||
min-height: 16px;
|
|
||||||
background: linear-gradient(
|
|
||||||
to bottom,
|
|
||||||
transparent,
|
|
||||||
var(--md-sys-color-background)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -84,16 +84,6 @@
|
|||||||
border-right-width: 3px;
|
border-right-width: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dynamic {
|
|
||||||
padding: 4px;
|
|
||||||
border-radius: 1px;
|
|
||||||
min-width: 8px;
|
|
||||||
background: var(--md-sys-color-surface-variant);
|
|
||||||
|
|
||||||
&.inline {
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-kbd {
|
.inline-kbd {
|
||||||
margin-inline-end: 2px;
|
margin-inline-end: 2px;
|
||||||
|
|||||||
@@ -173,10 +173,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
select {
|
|
||||||
position: absolute;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sync-box {
|
.sync-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -317,11 +317,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
h2 > em {
|
|
||||||
font-style: normal;
|
|
||||||
transition: color 200ms ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-block-start: 4em;
|
margin-block-start: 4em;
|
||||||
}
|
}
|
||||||
@@ -452,58 +447,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
|
||||||
color: var(--md-sys-color-outline);
|
|
||||||
margin-block: 3em;
|
|
||||||
margin-inline: 5em;
|
|
||||||
border-style: dashed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.files {
|
|
||||||
list-style: none;
|
|
||||||
display: flex;
|
|
||||||
padding: 0;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a[download] {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr auto;
|
|
||||||
grid-template-rows: 1fr;
|
|
||||||
border: 1px solid var(--md-sys-color-outline);
|
|
||||||
border-radius: 8px;
|
|
||||||
font-size: 0.9em;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
.size {
|
|
||||||
font-size: 0.8em;
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
padding-inline-start: 0.4em;
|
|
||||||
grid-column: 2;
|
|
||||||
grid-row: 1 / span 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.version {
|
.version {
|
||||||
color: var(--md-sys-color-secondary);
|
color: var(--md-sys-color-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.device {
|
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inline-link {
|
|
||||||
display: inline;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.correct-device {
|
|
||||||
color: var(--md-sys-color-primary);
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.incorrect-device {
|
.incorrect-device {
|
||||||
color: var(--md-sys-color-error);
|
color: var(--md-sys-color-error);
|
||||||
|
|||||||
@@ -165,11 +165,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.room {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.timeline {
|
.timeline {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|||||||
@@ -45,31 +45,6 @@
|
|||||||
padding-inline: 16px;
|
padding-inline: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes syncing {
|
|
||||||
0% {
|
|
||||||
transform: rotate(0deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.syncing {
|
|
||||||
transform-origin: 50% 49%;
|
|
||||||
animation: syncing 1s linear infinite;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
margin-block: 0;
|
|
||||||
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: bold;
|
|
||||||
color: var(--md-sys-color-primary);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -91,11 +66,6 @@
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
transition: all 250ms ease;
|
transition: all 250ms ease;
|
||||||
|
|
||||||
&.error {
|
|
||||||
color: var(--md-sys-color-on-error);
|
|
||||||
background: var(--md-sys-color-error);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions {
|
.actions {
|
||||||
|
|||||||
@@ -221,20 +221,6 @@
|
|||||||
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
> input[type="number"] {
|
|
||||||
border-radius: 16px 4px 4px 16px;
|
|
||||||
height: 24px;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
&:last-child:not(:only-child) {
|
|
||||||
border-radius: 4px 16px 16px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:only-child {
|
|
||||||
border-radius: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:has(input[type="number"]) {
|
&:has(input[type="number"]) {
|
||||||
cursor: text;
|
cursor: text;
|
||||||
|
|
||||||
@@ -287,16 +273,6 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
|
||||||
p {
|
|
||||||
font-size: 10px;
|
|
||||||
|
|
||||||
:global(kbd) {
|
|
||||||
font-size: 12px;
|
|
||||||
height: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// stylelint-disable-next-line
|
// stylelint-disable-next-line
|
||||||
|
|||||||
@@ -114,11 +114,6 @@
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
|
||||||
width: 100%;
|
|
||||||
height: 100px;
|
|
||||||
border: 1px solid black;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
section {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user