mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 07:01:58 +08:00
de61c37a4e
Fix CSS Issues[SCI-8559]
204 lines
3.6 KiB
SCSS
204 lines
3.6 KiB
SCSS
// scss-lint:disable SelectorDepth SelectorFormat
|
|
// scss-lint:disable NestingDepth ImportantRule
|
|
|
|
|
|
.team-settings-pane {
|
|
.settings-team-name {
|
|
line-height: 32px;
|
|
margin-bottom: 25px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.team-metadata {
|
|
display: grid;
|
|
font-size: 14px;
|
|
grid-gap: 8px;
|
|
|
|
.grid-block {
|
|
|
|
.fas {
|
|
color: $color-silver;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.created-by {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
.team-share-permission:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.team-description {
|
|
display: inline-block;
|
|
margin-top: 16px;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
.view-mode {
|
|
border: 1px solid transparent;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
float: left;
|
|
min-height: 100px;
|
|
padding: 2px 4px;
|
|
width: 100%;
|
|
|
|
&.disable-select {
|
|
cursor: default;
|
|
margin-bottom: 20px;
|
|
min-height: auto;
|
|
}
|
|
|
|
&:empty:not(:focus)::before {
|
|
color: $color-silver-chalice;
|
|
content: attr(data-placeholder);
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.input-field {
|
|
border: 1px solid $color-silver;
|
|
border-radius: $border-radius-default;
|
|
cursor: pointer;
|
|
display: block;
|
|
float: left;
|
|
min-height: 100px;
|
|
padding: 2px 4px;
|
|
width: 100%;
|
|
|
|
&::placeholder {
|
|
color: $color-silver-chalice;
|
|
font-weight: normal;
|
|
}
|
|
|
|
&:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
&:disabled {
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
|
|
+ .button-container {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.button-container {
|
|
top: -32px;
|
|
}
|
|
|
|
&:hover .input-field,
|
|
&:hover .view-mode:not(.disable-select) {
|
|
border: 1px solid $color-silver;
|
|
|
|
&:disabled {
|
|
border: 1px solid $color-gainsboro;
|
|
}
|
|
}
|
|
}
|
|
|
|
.users-datatable {
|
|
.table-header {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.add-new-team-members {
|
|
flex-grow: 1;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.filter-table input {
|
|
width: auto !important;
|
|
}
|
|
|
|
.filter-table,
|
|
.display-limit {
|
|
flex-shrink: 0;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.add-new-team-members,
|
|
.filter-table {
|
|
margin-right: 15px;
|
|
}
|
|
}
|
|
|
|
.table-footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.page-info,
|
|
.page-selector {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.page-selector {
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.dropdown-teams-user {
|
|
.dropdown-menu li.user-team-role {
|
|
> :first-child {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
&:not(.disabled) span.fas {
|
|
color: transparent !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.modal-invite-users {
|
|
.user-selector {
|
|
.fa-search {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.open {
|
|
.input-field {
|
|
border: 1px solid $brand-focus;
|
|
border-radius: $border-radius-default;
|
|
|
|
.fa-search {
|
|
color: $brand-focus;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
}
|
|
|
|
.input-field {
|
|
padding: 3px 40px 3px 3px;
|
|
}
|
|
}
|
|
|
|
.dropdown-option.users-dropdown-list {
|
|
border-top: 1px solid $color-gainsboro;
|
|
padding: 8px 10px;
|
|
|
|
.item-avatar {
|
|
border-radius: 50%;
|
|
height: 32px;
|
|
margin: 0 16px 0 0;
|
|
width: 32px;
|
|
}
|
|
|
|
.item-email {
|
|
color: $color-silver-chalice;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|