Files
threshold-ui/ui/admin/app/styles/app.scss
T

219 lines
3.3 KiB
SCSS
Raw Normal View History

2020-05-29 16:53:29 -04:00
@use 'rose/variables/sizing';
2020-09-27 10:51:21 -04:00
@use 'rose/variables/media';
2020-05-29 16:53:29 -04:00
2020-05-18 17:18:50 -04:00
@import 'rose';
2020-05-29 19:44:46 -04:00
@import 'notify';
2021-04-02 16:06:38 -04:00
.rose-layout-global {
.rose-layout-global-body {
justify-content: center;
}
}
2020-09-27 10:51:21 -04:00
.rose-layout-centered {
> .rose-layout-page {
width: sizing.rems(l) * 18;
}
@media (max-width: media.width(small)) {
display: block;
> .rose-layout-page {
width: auto;
}
}
}
2020-06-04 12:23:06 -04:00
.rose-nav-sidebar {
2020-09-16 12:34:23 -04:00
margin-top: sizing.rems(xxl);
2020-06-24 10:57:56 -04:00
& + .rose-nav-sidebar {
margin-top: 0;
}
.rose-icon {
margin-right: sizing.rems(xs);
}
2020-05-30 12:42:10 -04:00
}
2020-06-01 15:57:15 -04:00
.rose-form {
&:not(.full-width) {
width: 66%;
}
2020-06-01 15:57:15 -04:00
.rose-form-input {
width: 100%;
.rose-form-input-field {
width: 100%;
}
}
2020-11-03 12:01:46 -05:00
.rose-dropdown {
$icon-width: sizing.rems(m) + sizing.rems(s);
$indent: $icon-width + sizing.rems(xs);
.rose-form-radio-label {
display: flex;
.rose-icon {
padding-right: sizing.rems(xxs);
}
}
.indent-label-1 {
.rose-form-radio-label {
padding-left: $indent;
2020-11-03 12:01:46 -05:00
}
}
2020-11-03 12:01:46 -05:00
.indent-label-2 {
.rose-form-radio-label {
padding-left: $indent + $icon-width;
}
}
.is-project {
.rose-icon {
visibility: hidden;
2020-11-03 12:01:46 -05:00
}
}
}
2020-11-04 10:49:27 -05:00
2021-05-26 15:28:41 -04:00
.rose-form-fieldset {
.rose-table {
.rose-form-label {
left: -9999px;
2021-05-26 15:28:41 -04:00
position: absolute;
top: -9999px;
}
2020-11-04 10:49:27 -05:00
}
}
2020-06-01 15:57:15 -04:00
}
.rose-table {
p {
margin-bottom: 0;
}
2021-07-12 09:46:56 -07:00
2021-07-09 11:59:02 -07:00
.rose-table-header-cell {
p {
color: var(--ui-gray-subtler-1);
font-weight: normal;
}
}
2021-07-12 09:46:56 -07:00
2020-08-21 18:21:17 -04:00
.rose-form-checkbox {
margin-bottom: 0;
.rose-form-checkbox-label-text {
color: var(--stark);
text-decoration: underline;
}
}
}
.rose-header {
position: relative;
.logotype {
display: none;
}
2020-10-01 13:15:45 -04:00
.rose-dropdown {
.rose-icon {
transform: scale(0.7);
}
}
&.loading {
&::after {
2020-09-30 12:57:30 -04:00
animation: gradient 1s linear infinite;
background: repeating-linear-gradient(
to right,
var(--subtle),
var(--subtle),
var(--info),
var(--subtle),
var(--subtle)
);
2020-10-01 16:40:55 -04:00
background-position: -100% 0;
2020-09-30 12:57:30 -04:00
background-size: 200% auto;
content: ' ';
height: 3px;
left: 0;
2020-09-30 12:57:30 -04:00
position: absolute;
right: 0;
2020-09-30 12:57:30 -04:00
top: 100%;
@keyframes gradient {
0% {
background-position: -100% 0;
}
2022-01-11 09:09:16 -08:00
100% {
background-position: -200% 0;
}
}
}
}
}
2020-09-29 15:08:21 -04:00
.rose-frame {
.rose-form-actions {
.rose-button-primary {
display: block;
margin: 0;
width: 100%;
.rose-button-wrapper {
display: inline;
}
}
}
}
2021-05-08 07:50:16 -04:00
.rose-dialog-cover {
svg {
max-width: 20rem;
}
}
.copyable {
2020-10-04 10:14:47 -04:00
white-space: nowrap;
2020-10-06 13:39:45 -04:00
.copyable-button {
margin: 0;
padding: 0 sizing.rems(xxs);
position: relative;
top: -2px;
}
mark {
animation: fadeBackground 0.75s linear;
2020-10-06 13:39:45 -04:00
background-color: transparent;
color: inherit;
@keyframes fadeBackground {
0% {
background-color: var(--action-subtler-1);
}
2022-01-11 09:09:16 -08:00
100% {
background-color: transparent;
}
}
}
2020-09-29 15:08:21 -04:00
}
2020-10-07 12:45:18 -04:00
2020-10-07 18:02:58 -04:00
[class*='session-status-'] {
color: var(--ui-gray-subtler-2);
}
2020-10-07 18:02:58 -04:00
2020-10-07 12:45:18 -04:00
.session-status-active {
color: var(--success);
}
.nowrap {
white-space: nowrap;
2020-10-07 12:45:18 -04:00
}