docbrown/app/assets/stylesheets/admin.scss
Arit Amana 1912ffdc46
[Team Email Login] Refactor the Email Authentication flow (#11090)
* Hooked "Enable" button to hidden checkbox

* Hooked "Close" button to close email settings and show "Enable/Edit" button

* Additional hookups

* Start building generalized Modal blocks

* Everything hooked up except styling and a few Qs

* last of the hookups; ensure logic flow

* clean up

* specs to cover email auth refactor

* Fix bug surfaced by Vaidehi

* Incorporate PR feedback

* prevent email auth disable if invite-only-mode

* adjust emailAuthModal body text

* Sundry improvements

* Last-mile tweaks

* Trying to get 3rd party auth deselect to work

* delete unnecssary function

* remove superfluous comment

* Move inline styling into CSS file

* Incorporate PR feedback

* Incorporate more PR feedback

* Make Confirm btn intent clearer

* Add TODO comment
2020-10-28 13:37:11 -04:00

139 lines
2.1 KiB
SCSS

@import 'config/import';
@import 'crayons';
@import 'variables';
@import 'scaffolds';
// overriding Bootstrap styles
label {
margin-bottom: 0 !important;
}
.pagination {
justify-content: right;
.page,
.next,
.last,
.first,
.prev {
padding: 8px;
}
}
.bg-featured {
background: #bbffd2;
}
.bg-approved {
background: #92e8ae;
border: 12px solid #ff9900;
}
.bg-highlighted {
background: #2effa8 !important;
border: 20px solid black;
}
.border-highlighted {
border: 20px solid black;
}
.broadcast-wrapper {
display: flex;
position: relative;
z-index: auto;
}
.site-config__required {
background: #dc3545;
border-radius: 19px;
padding: 5px 15px;
color: white;
text-align: right;
margin-left: 10px;
}
.site-config__label {
display: flex;
justify-content: space-between;
}
.profile__group-toggle {
text-decoration: underline;
cursor: pointer;
color: grey;
margin: 1em 0;
text-align: end;
}
#profileFields {
.card-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.card-header__actions {
display: flex;
justify-content: space-between;
}
.card-header__information {
display: flex;
align-items: center;
}
.group__description {
color: $medium-gray;
width: 150px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-left: 16px;
}
.card-header__actions > div {
margin: 0 16px;
cursor: pointer;
}
}
.admin-navigation-links {
width: 240px;
}
.admin-navigation-links .crayons-icon svg {
width: 24px;
height: 24px;
}
.config-authentication__item {
display: grid;
grid-template-columns: auto 1fr;
grid-column-gap: var(--su-4);
margin-bottom: var(--su-6);
&--icon,
&--label {
padding-top: var(--su-4);
padding-bottom: var(--su-4);
}
}
.config-authentication-form {
display: flex;
flex-direction: column;
gap: var(--su-4);
}
.admin-config-checkmark {
width: var(--su-4);
height: var(--su-4);
background-color: var(--accent-success);
border-radius: 100%;
color: var(--base-inverted);
}
.cursor-disabled {
cursor: not-allowed;
}