traxxx/assets/css/_inputs.scss

107 lines
1.6 KiB
SCSS
Raw Normal View History

2021-03-03 22:54:54 +00:00
.input {
box-sizing: border-box;
padding: .5rem;
2021-03-13 03:26:24 +00:00
border: solid 1px var(--shadow-hint);
2021-03-03 22:54:54 +00:00
color: var(--shadow-strong);
background: var(--background);
font-size: 1rem;
2021-03-15 02:30:47 +00:00
font-family: inherit;
2021-03-03 22:54:54 +00:00
2021-03-13 03:26:24 +00:00
&:focus {
border: solid 1px var(--primary);
}
2021-03-03 22:54:54 +00:00
&::-webkit-calendar-picker-indicator {
opacity: .5;
}
}
.select {
2020-07-05 02:27:46 +00:00
color: var(--shadow-strong);
background: var(--background);
padding: .5rem;
font-size: 1rem;
2020-07-05 02:27:46 +00:00
border: solid 1px var(--shadow-weak);
cursor: pointer;
}
2021-03-13 03:26:24 +00:00
.button {
display: inline-flex;
align-items: center;
2021-03-13 03:26:24 +00:00
border: none;
background: none;
padding: .5rem;
2021-03-20 02:22:08 +00:00
font-size: .9rem;
2021-03-13 03:26:24 +00:00
font-weight: bold;
&:hover {
cursor: pointer;
}
}
.button-primary {
color: var(--text-light);
background: var(--primary);
&:hover {
background: var(--primary-strong);
}
&:disabled {
background: var(--shadow-weak);
cursor: default;
}
.icon {
fill: var(--text-light);
margin-right: .5rem;
}
2021-03-13 03:26:24 +00:00
}
.button-secondary {
color: var(--primary);
&:hover:not(:disabled) {
color: var(--text-light);
2021-03-13 03:26:24 +00:00
background: var(--primary);
.icon {
fill: var(--text-light);
}
2021-03-13 03:26:24 +00:00
}
&:disabled {
color: var(--shadow-strong);
cursor: default;
}
.icon {
fill: var(--primary);
margin-right: .5rem;
}
2021-03-13 03:26:24 +00:00
}
.album-toggle {
height: fit-content;
display: inline-flex;
align-items: center;
justify-content: center;
padding: .5rem 1rem;
border: none;
border-bottom: solid 1px var(--shadow-hint);
color: var(--shadow);
background: var(--background-dim);
font-size: 1rem;
font-weight: bold;
.icon {
fill: var(--shadow);
margin: -.1rem .5rem 0 0;
}
&:hover {
background: var(--shadow-hint);
cursor: pointer;
}
}