totp/src/index.scss

86 lines
1.7 KiB
SCSS
Raw Normal View History

2024-04-06 22:54:44 -04:00
@import 'bootstrap/scss/_functions.scss';
@import 'bootstrap/scss/_variables.scss';
2024-04-07 01:04:16 -04:00
@import 'bootstrap/scss/_variables-dark.scss';
2024-04-06 22:54:44 -04:00
@import 'bootstrap/scss/_maps.scss';
@import 'bootstrap/scss/_mixins.scss';
2024-04-07 01:04:16 -04:00
@import 'bootstrap/scss/_utilities.scss';
2024-04-06 22:54:44 -04:00
@import 'bootstrap/scss/_root.scss';
2024-04-07 01:04:16 -04:00
@import 'bootstrap/scss/_reboot.scss';
2024-04-06 22:54:44 -04:00
@import 'bootstrap/scss/_grid.scss';
2024-04-07 01:04:16 -04:00
@import 'bootstrap/scss/_containers.scss';
@import 'bootstrap/scss/_navbar.scss';
@import 'bootstrap/scss/_nav.scss';
@import 'bootstrap/scss/_dropdown.scss';
2024-04-07 00:13:19 -04:00
@import 'bootstrap/scss/_buttons.scss';
2024-04-06 22:54:44 -04:00
@import 'bootstrap/scss/_forms.scss';
2024-04-07 01:04:16 -04:00
@import 'bootstrap/scss/_type.scss';
@import 'bootstrap/scss/_helpers.scss';
@import 'bootstrap/scss/_transitions.scss';
nav {
background-color: $body-tertiary-bg;
}
.jumbotron {
margin: 1em 0;
border-radius: 1em;
padding: 1em;
background-color: $body-secondary-bg;
}
@include media-breakpoint-up(lg) {
.jumbotron {
padding: 1.5em;
}
}
2024-04-07 01:45:31 -04:00
.totp-settings {
margin-bottom: 0.5em;
}
2024-04-07 01:04:16 -04:00
@include media-breakpoint-up(sm) {
.totp-app {
@include make-row();
}
.totp-settings {
@include make-col-ready();
@include make-col($size: 1, $columns: 2);
}
.totp-output {
@include make-col-ready();
@include make-col($size: 1, $columns: 2);
}
}
2024-04-06 22:54:44 -04:00
2024-04-07 01:45:31 -04:00
.totp-action-link {
cursor: pointer;
user-select: none;
}
2024-04-07 00:13:19 -04:00
.totp-input, .totp-select {
2024-04-06 22:54:44 -04:00
label {
font-weight: $font-weight-bold;
}
2024-04-07 01:04:16 -04:00
margin-bottom: 0.5em;
}
.totp-code {
text-align: center;
height: 1.5em;
max-height: 1.5em;
transition: transform 0.5s linear, max-height 0.5s linear, font-size 0.5s linear;
&:first-child, &:last-child {
max-height: 0;
transform: scale(1, 0);
}
&.totp-current {
font-size: 2em;
}
2024-04-06 22:54:44 -04:00
}