mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Admin tools: move styles to modules directory; fix form for dark theme
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
.entries-per-page-toggle {
|
||||
cursor: pointer;
|
||||
background-color: var(--bg-light-tertiary);
|
||||
padding: 0 var(--spacing-02);
|
||||
border-radius: var(--border-radius-medium);
|
||||
&:hover {
|
||||
background-color: var(--bg-accent-03);
|
||||
}
|
||||
& + .dropdown-menu {
|
||||
min-width: auto;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.entries-per-page-toggle::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@include theme('default') {
|
||||
.entries-per-page-toggle {
|
||||
background-color: var(--bg-dark-tertiary);
|
||||
&:hover {
|
||||
background-color: var(--green-70);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
.project-ds-nav-page {
|
||||
.manage-projects-page {
|
||||
.nav-item-projects {
|
||||
display: initial !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include theme('default') {
|
||||
#manage-projects-root {
|
||||
.website-redesign-navbar,
|
||||
.website-redesign .navbar-default {
|
||||
@include navbar-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
@include theme('default') {
|
||||
#manage-users-root {
|
||||
.website-redesign-navbar,
|
||||
.website-redesign .navbar-default {
|
||||
@include navbar-dark;
|
||||
}
|
||||
}
|
||||
.ide-redesign-main,
|
||||
.user-ds-nav-page {
|
||||
@include dark-dropdown-menu;
|
||||
.table,
|
||||
.table-container {
|
||||
@include dark-table;
|
||||
}
|
||||
@include form-check-dark;
|
||||
.form-control,
|
||||
.form-control-wrapper {
|
||||
@include dark-input;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
@include theme('default') {
|
||||
.project-ds-nav-page,
|
||||
.user-ds-nav-page {
|
||||
.pagination {
|
||||
> li {
|
||||
> a,
|
||||
> span,
|
||||
> button {
|
||||
color: var(--content-primary-inverse);
|
||||
background-color: var(--bg-secondary);
|
||||
border-color: var(--border-primary);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(--content-primary-inverse);
|
||||
background-color: var(--bg-tertiary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> .active > a,
|
||||
> .active > span,
|
||||
> .active > button {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(--content-primary-inverse);
|
||||
background-color: var(--green-70);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,396 @@
|
||||
:root {
|
||||
--ds-nav-active-bg: var(--bg-accent-03);
|
||||
--ds-nav-active-color: var(--green-60);
|
||||
--theme-toggle-selected-background: var(--green-20);
|
||||
--ds-nav-content-bg-secondary: var(--bg-light-secondary);
|
||||
--table-icon-bg-hover: 27 34 44;
|
||||
--themed-dashboard-popover-bg: var(--bg-dark-primary);
|
||||
--themed-dashboard-popover-color: var(--content-primary-dark);
|
||||
--themed-dashboard-popover-link-color: var(--link-ui-dark);
|
||||
--themed-dashboard-popover-link-hover-color: var(--link-ui-hover-dark);
|
||||
--themed-dashboard-popover-link-visited-color: var(--link-ui-visited-dark);
|
||||
--ds-nav-color-scheme: light;
|
||||
|
||||
@include theme('default') {
|
||||
--ds-nav-active-bg: var(--green-70);
|
||||
--ds-nav-active-color: var(--green-10);
|
||||
--theme-toggle-selected-background: var(--green-70);
|
||||
--ds-nav-content-bg-secondary: var(--bg-dark-secondary);
|
||||
--table-icon-bg-hover: 255 255 255;
|
||||
--themed-dashboard-popover-bg: var(--bg-light-primary);
|
||||
--themed-dashboard-popover-color: var(--content-primary);
|
||||
--themed-dashboard-popover-link-color: var(--link-ui);
|
||||
--themed-dashboard-popover-link-hover-color: var(--link-ui-hover);
|
||||
--themed-dashboard-popover-link-visited-color: var(--link-ui-visited);
|
||||
--ds-nav-color-scheme: dark;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
--ds-nav-bg-color: var(--bg-primary-themed);
|
||||
--ds-nav-hover-bg: var(--bg-secondary-themed);
|
||||
--ds-nav-color: var(--content-secondary-themed);
|
||||
}
|
||||
|
||||
.user-ds-nav-page {
|
||||
@include full-height-stacked-page;
|
||||
|
||||
color-scheme: var(--ds-nav-color-scheme);
|
||||
color: var(--content-secondary-themed);
|
||||
|
||||
// NOTE-AC: This code can be eliminated when we remove sidebar-navigation-ui-update
|
||||
--navbar-btn-padding-h: var(--spacing-06);
|
||||
--navbar-subdued-padding: calc(
|
||||
var(--navbar-btn-padding-v) + var(--navbar-btn-border-width)
|
||||
)
|
||||
calc(var(--navbar-btn-padding-h) + 1px);
|
||||
|
||||
.navbar-default {
|
||||
position: relative;
|
||||
|
||||
.navbar-header .navbar-logo {
|
||||
@include media-breakpoint-up(md) {
|
||||
position: relative;
|
||||
top: var(--spacing-05);
|
||||
}
|
||||
}
|
||||
|
||||
.nav-item-users {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.nav-item-account,
|
||||
.nav-item-help {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
--navbar-hamburger-submenu-item-hover-color: var(--content-primary);
|
||||
--navbar-hamburger-submenu-item-hover-bg: var(--bg-light-secondary);
|
||||
--navbar-subdued-hover-color: var(--content-primary);
|
||||
--navbar-link-hover-color: var(--content-primary);
|
||||
--navbar-link-hover-bg: var(--bg-light-secondary);
|
||||
--navbar-subdued-hover-bg: var(--bg-light-secondary);
|
||||
--navbar-hamburger-submenu-bg: none;
|
||||
|
||||
.nav-item-help::before {
|
||||
content: '';
|
||||
display: block;
|
||||
border-top: 1px solid var(--border-divider-themed);
|
||||
margin: var(--spacing-07) var(--spacing-06);
|
||||
}
|
||||
|
||||
#navbar-main-collapse {
|
||||
padding: var(--spacing-09) var(--spacing-06) 0;
|
||||
|
||||
.navbar-nav {
|
||||
> li {
|
||||
> a,
|
||||
> .dropdown-toggle,
|
||||
> .nav-link {
|
||||
border-radius: var(--border-radius-medium);
|
||||
|
||||
&.show {
|
||||
background-color: var(--ds-nav-active-bg);
|
||||
color: var(--ds-nav-active-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav > li > .dropdown-toggle::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-list-wrapper {
|
||||
background-color: var(--ds-nav-bg-color);
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
overflow-y: hidden;
|
||||
|
||||
.user-list-sidebar-wrapper-react {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 0 15%;
|
||||
max-width: 320px;
|
||||
min-width: 200px;
|
||||
margin-top: var(--spacing-03);
|
||||
padding: var(--spacing-08) 0 0 0;
|
||||
|
||||
.create-account-button-wrapper {
|
||||
padding: 0 var(--spacing-08) var(--spacing-05) var(--spacing-05);
|
||||
border-bottom: solid 1px transparent;
|
||||
|
||||
&.show-shadow {
|
||||
border-bottom-color: var(--border-divider-themed);
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.user-list-sidebar-scroll {
|
||||
flex: 1 1 auto;
|
||||
overflow: auto;
|
||||
margin: 0 var(--spacing-02) 0 0;
|
||||
padding: var(--spacing-05) var(--spacing-07) var(--spacing-05)
|
||||
var(--spacing-05);
|
||||
}
|
||||
|
||||
.ds-nav-sidebar-lower {
|
||||
padding: var(--spacing-05) var(--spacing-08) 0 var(--spacing-05);
|
||||
border-top: solid 1px transparent;
|
||||
|
||||
&.show-shadow {
|
||||
border-top-color: var(--border-divider-themed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border-top: 1px solid var(--border-divider-themed);
|
||||
}
|
||||
|
||||
ul.user-list-filters {
|
||||
margin-bottom: 0;
|
||||
|
||||
hr {
|
||||
margin: var(--spacing-05) 0;
|
||||
}
|
||||
|
||||
> li {
|
||||
> button {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: var(--ds-nav-color);
|
||||
background: none;
|
||||
border-radius: var(--border-radius-medium);
|
||||
border: none;
|
||||
padding: var(--spacing-04) var(--spacing-05);
|
||||
}
|
||||
|
||||
&:hover button {
|
||||
background-color: var(--ds-nav-hover-bg);
|
||||
}
|
||||
|
||||
&.active button {
|
||||
background-color: var(--ds-nav-active-bg);
|
||||
color: var(--ds-nav-active-color);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
font-weight: bold;
|
||||
color: var(--ds-nav-color);
|
||||
}
|
||||
|
||||
> li.tag {
|
||||
button.tag-name {
|
||||
padding-right: var(--spacing-08) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tag-menu {
|
||||
button.dropdown-toggle {
|
||||
border-radius: var(--border-radius-full);
|
||||
border: none;
|
||||
color: var(--ds-nav-color);
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
padding: 0;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&[aria-expanded='true'] {
|
||||
background-color: var(--neutral-20);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-ds-nav-main {
|
||||
min-height: 100%;
|
||||
padding: var(--spacing-08) var(--spacing-06);
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding: var(--spacing-08);
|
||||
}
|
||||
}
|
||||
|
||||
.user-dash-table {
|
||||
.btn-link {
|
||||
color: var(--content-secondary-themed);
|
||||
height: var(--spacing-08);
|
||||
width: var(--spacing-08);
|
||||
border-radius: 100%;
|
||||
padding: var(--spacing-01) 0 0;
|
||||
vertical-align: middle;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: rgb(var(--table-icon-bg-hover) / 8%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-cell-name a {
|
||||
color: var(--content-primary-themed) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.user-ds-nav-content-and-messages {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
> * {
|
||||
@include media-breakpoint-up(md) {
|
||||
border-left: 1px solid var(--border-divider-themed);
|
||||
}
|
||||
}
|
||||
|
||||
.user-ds-nav-content {
|
||||
flex-grow: 1;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
background-color: var(--ds-nav-content-bg-secondary);
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
border-top-left-radius: var(--border-radius-large);
|
||||
border-top: 1px solid var(--border-divider-themed);
|
||||
}
|
||||
}
|
||||
|
||||
.cookie-banner {
|
||||
position: static;
|
||||
|
||||
// Remove the parts of the shadow that stick out of the sides
|
||||
clip-path: inset(-13px 0 0 0);
|
||||
|
||||
// Prevent the cookie banner being overlaid on top of the navigation
|
||||
z-index: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
--link-color: var(--link-web-themed);
|
||||
--link-hover-color: var(--link-web-hover-themed);
|
||||
}
|
||||
}
|
||||
|
||||
.ds-nav-icon-dropdown {
|
||||
.dropdown-toggle {
|
||||
color: var(--ds-nav-color);
|
||||
background: none;
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--ds-nav-hover-bg);
|
||||
}
|
||||
|
||||
&.show {
|
||||
background-color: var(--ds-nav-active-bg);
|
||||
color: var(--ds-nav-active-color);
|
||||
}
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
> div {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.material-symbols {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ds-nav-ds-name {
|
||||
color: var(--ds-nav-color);
|
||||
margin-bottom: var(--spacing-05);
|
||||
|
||||
span {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
|
||||
@include body-xs;
|
||||
}
|
||||
}
|
||||
|
||||
.add-affiliation {
|
||||
color: var(--ds-nav-color);
|
||||
}
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
cursor: default !important;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
background-color: transparent !important;
|
||||
color: var(--content-primary-themed);
|
||||
}
|
||||
|
||||
legend {
|
||||
font-size: var(--font-size-02);
|
||||
line-height: var(--line-height-02);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.theme-toggle-radios {
|
||||
display: flex;
|
||||
border-radius: var(--border-radius-full);
|
||||
background-color: var(--bg-secondary-themed);
|
||||
padding: var(--spacing-01);
|
||||
gap: var(--spacing-01);
|
||||
}
|
||||
|
||||
.theme-toggle-radio {
|
||||
display: flex;
|
||||
|
||||
input {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
padding: var(--spacing-03);
|
||||
margin-bottom: 0;
|
||||
border-radius: var(--border-radius-full);
|
||||
cursor: pointer;
|
||||
color: var(--content-primary-themed);
|
||||
}
|
||||
|
||||
.material-symbols {
|
||||
font-size: var(--font-size-03);
|
||||
}
|
||||
|
||||
input:checked + label {
|
||||
background-color: var(--theme-toggle-selected-background);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,546 @@
|
||||
.user-list-empty-col {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
flex-flow: column nowrap;
|
||||
|
||||
.row:first-child {
|
||||
flex-grow: 1; /* fill vertical space so notifications are pushed to bottom */
|
||||
}
|
||||
|
||||
.card-body {
|
||||
// h2 + .card-thin top padding
|
||||
padding-bottom: calc(var(--line-height-03) + var(--line-height-03) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
padding: 0 var(--spacing-02);
|
||||
}
|
||||
|
||||
#manage-users-root .user-notifications ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.user-list-sidebar-wrapper-react {
|
||||
button {
|
||||
white-space: normal;
|
||||
word-wrap: anywhere;
|
||||
|
||||
// prevents buttons from expanding sidebar width
|
||||
}
|
||||
|
||||
.create-account-button-wrapper {
|
||||
width: 100%;
|
||||
.create-account-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.create-account-button.dropdown-toggle::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-list-header-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: var(--spacing-05);
|
||||
min-height: 36px;
|
||||
|
||||
.user-list-title {
|
||||
@include heading-sm;
|
||||
|
||||
color: var(--content-secondary-themed);
|
||||
font-weight: bold;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.user-tools {
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
min-height: 38px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.user-tools {
|
||||
float: left;
|
||||
margin-left: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.users-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.dropdown,
|
||||
.dropdown-toggle {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.users-sort-dropdown {
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.user-menu-item-edit-btn {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: var(--spacing-09);
|
||||
width: initial;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.user-menu-item-tag-name {
|
||||
padding-right: var(--spacing-13);
|
||||
}
|
||||
|
||||
ul.user-list-filters {
|
||||
.subdued {
|
||||
color: var(--content-disabled);
|
||||
}
|
||||
|
||||
> li {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
> button {
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.separator {
|
||||
padding: var(--spacing-03) var(--spacing-06);
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
@include body-sm;
|
||||
|
||||
padding: var(--spacing-05) var(--spacing-06);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
> li.active {
|
||||
border-radius: 0;
|
||||
|
||||
> button {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: var(--font-size-02);
|
||||
margin-bottom: var(--spacing-00);
|
||||
color: var(--content-disabled);
|
||||
text-transform: uppercase;
|
||||
padding: var(--spacing-03) var(--spacing-00);
|
||||
}
|
||||
|
||||
> li.tag {
|
||||
&.active,
|
||||
&:focus-within {
|
||||
.tag-menu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&.untagged {
|
||||
button.tag-name {
|
||||
span.name {
|
||||
font-style: italic;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.tag-menu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
button.tag-name {
|
||||
position: relative;
|
||||
padding: var(--spacing-03) var(--spacing-09) var(--spacing-03)
|
||||
var(--spacing-06);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
word-wrap: anywhere;
|
||||
|
||||
.tag-list-icon {
|
||||
vertical-align: sub;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span.name {
|
||||
padding-left: 0.5em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tag-menu {
|
||||
button.dropdown-toggle {
|
||||
background-color: transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
display: none;
|
||||
width: auto;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -8px; // Half the element height.
|
||||
right: 4px;
|
||||
|
||||
&.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
button.tag-action {
|
||||
border-radius: unset;
|
||||
width: 100%;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
color: var(--neutral-70);
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
|
||||
&:hover {
|
||||
color: var(--content-primary-dark);
|
||||
background-color: var(--bg-accent-01);
|
||||
}
|
||||
|
||||
&:active {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-dash-table {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
tr:not(:last-child) {
|
||||
border-bottom: 1px solid var(--border-divider-themed);
|
||||
}
|
||||
|
||||
td {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr.no-users:hover {
|
||||
td {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.table-header-sort-btn {
|
||||
border: 0;
|
||||
text-align: left;
|
||||
color: var(--content-secondary-themed);
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
font-weight: bold;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(--content-secondary-themed);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.material-symbols {
|
||||
vertical-align: bottom;
|
||||
font-size: var(--font-size-06);
|
||||
}
|
||||
}
|
||||
|
||||
.dash-row-admin {
|
||||
font-weight: bold;
|
||||
a {
|
||||
color: var(--content-danger) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
hyphens: auto;
|
||||
width: 30%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 40%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 25%;
|
||||
}
|
||||
.dash-cell-date-active {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
display: none;
|
||||
text-align: right;
|
||||
|
||||
.btn {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-cell-email-date {
|
||||
font-size: $font-size-sm;
|
||||
|
||||
@include text-truncate;
|
||||
}
|
||||
|
||||
.dash-cell-tag,
|
||||
.clone-user-tag {
|
||||
.badge-tag {
|
||||
margin-top: var(--spacing-06);
|
||||
margin-bottom: var(--spacing-06);
|
||||
|
||||
&:first-child {
|
||||
margin-left: initial !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.dash-cell-checkbox {
|
||||
width: 4%;
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 36%;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.dash-cell-date-active {
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
width: 0%;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.dash-cell-checkbox {
|
||||
width: 3%;
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
width: 23%;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 28%;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-date-active {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
display: table-cell;
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.user-tools {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.dash-cell-checkbox {
|
||||
width: 3%;
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 29%;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-date-active {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
tbody {
|
||||
.dash-cell-actions {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.dash-cell-checkbox {
|
||||
width: 3%;
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 29%;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-date-active {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
width: 12%;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xxl) {
|
||||
.dash-cell-checkbox {
|
||||
width: 3%;
|
||||
}
|
||||
|
||||
.dash-cell-name {
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.dash-cell-email {
|
||||
width: 29%;
|
||||
}
|
||||
|
||||
.dash-cell-date-signup {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-date-active {
|
||||
width: 17%;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
width: 12%;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
tr {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
td {
|
||||
padding-top: var(--spacing-02);
|
||||
padding-bottom: var(--spacing-02);
|
||||
}
|
||||
|
||||
td:not(.dash-cell-actions) {
|
||||
padding-right: 55px;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-cell-name,
|
||||
.dash-cell-email,
|
||||
.dash-cell-date-signed,
|
||||
.dash-cell-date-active,
|
||||
.dash-cell-actions {
|
||||
display: block;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.dash-cell-actions {
|
||||
position: absolute;
|
||||
top: var(--spacing-04);
|
||||
right: var(--spacing-04);
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* stylelint-disable selector-class-pattern */
|
||||
.user-list-upload-user-modal-uppy-dashboard .uppy-Root {
|
||||
.uppy-Dashboard-AddFiles-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: var(--neutral-60);
|
||||
white-space: pre-line;
|
||||
|
||||
@include body-base;
|
||||
|
||||
button.uppy-Dashboard-browse {
|
||||
@extend .btn;
|
||||
@extend .btn-lg;
|
||||
@extend .btn-primary;
|
||||
|
||||
margin-bottom: var(--spacing-07);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
form.user-search {
|
||||
.form-group {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include theme('default') {
|
||||
.dash-cell-email a,
|
||||
.dash-cell-email-date a {
|
||||
color: var(--green-40);
|
||||
}
|
||||
.dash-row-admin a {
|
||||
color: var(--content-danger-dark) !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user