2022-06-20 12:11:34 -04:00
|
|
|
|
2017-08-06 16:08:03 -04:00
|
|
|
// System wide notifications
|
2022-11-15 06:24:31 -05:00
|
|
|
.notification {
|
2017-08-06 16:08:03 -04:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2019-05-05 19:15:03 -04:00
|
|
|
margin: $-xl;
|
2018-07-29 10:34:54 -04:00
|
|
|
padding: $-m $-l;
|
2019-05-05 19:15:03 -04:00
|
|
|
background-color: #FFF;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(background-color, #fff, #444);
|
2019-05-05 19:15:03 -04:00
|
|
|
border-radius: 4px;
|
2020-04-05 08:07:19 -04:00
|
|
|
border-inline-start: 6px solid currentColor;
|
2019-05-05 19:15:03 -04:00
|
|
|
box-shadow: $bs-large;
|
2017-08-06 16:08:03 -04:00
|
|
|
z-index: 999999;
|
|
|
|
cursor: pointer;
|
2018-03-18 07:58:45 -04:00
|
|
|
max-width: 360px;
|
|
|
|
transition: transform ease-in-out 280ms;
|
2018-07-29 10:34:54 -04:00
|
|
|
transform: translateX(580px);
|
2018-02-17 14:49:00 -05:00
|
|
|
display: grid;
|
2020-01-14 14:50:29 -05:00
|
|
|
grid-template-columns: 42px 1fr 12px;
|
2019-05-05 19:15:03 -04:00
|
|
|
color: #444;
|
|
|
|
font-weight: 700;
|
2018-02-17 14:49:00 -05:00
|
|
|
span, svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
justify-self: center;
|
|
|
|
align-self: center;
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
2018-02-17 14:49:00 -05:00
|
|
|
svg {
|
2018-07-29 10:34:54 -04:00
|
|
|
width: 2.8rem;
|
|
|
|
height: 2.8rem;
|
2020-04-05 08:07:19 -04:00
|
|
|
padding-inline-end: $-s;
|
2019-05-05 19:15:03 -04:00
|
|
|
fill: currentColor;
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
2020-01-14 14:50:29 -05:00
|
|
|
.dismiss {
|
|
|
|
margin-top: -8px;
|
|
|
|
svg {
|
|
|
|
height: 1.0rem;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(color, #444, #888);
|
2020-01-14 14:50:29 -05:00
|
|
|
}
|
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
span {
|
|
|
|
vertical-align: middle;
|
2018-03-18 07:58:45 -04:00
|
|
|
line-height: 1.3;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include whenDark {
|
|
|
|
color: #BBB;
|
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
&.pos {
|
2023-06-13 10:52:33 -04:00
|
|
|
color: var(--color-positive);
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
&.neg {
|
2023-06-13 10:52:33 -04:00
|
|
|
color: var(--color-negative);
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
&.warning {
|
2023-06-13 10:52:33 -04:00
|
|
|
color: var(--color-warning);
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
&.showing {
|
2018-07-29 10:34:54 -04:00
|
|
|
transform: translateX(0);
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
2018-03-18 07:58:45 -04:00
|
|
|
&.showing:hover {
|
|
|
|
transform: translate3d(0, -2px, 0);
|
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
|
2022-05-18 09:06:40 -04:00
|
|
|
.chapter-contents-toggle {
|
2017-08-06 16:08:03 -04:00
|
|
|
cursor: pointer;
|
|
|
|
margin: 0;
|
|
|
|
transition: all ease-in-out 180ms;
|
|
|
|
user-select: none;
|
2018-02-17 14:49:00 -05:00
|
|
|
svg[data-icon="caret-right"] {
|
2020-04-05 08:07:19 -04:00
|
|
|
margin-inline-end: 0;
|
2019-03-30 11:15:01 -04:00
|
|
|
font-size: 1rem;
|
2017-08-06 16:08:03 -04:00
|
|
|
transition: all ease-in-out 180ms;
|
|
|
|
transform: rotate(0deg);
|
2019-03-30 11:15:01 -04:00
|
|
|
transform-origin: 50% 50%;
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
2018-02-17 14:49:00 -05:00
|
|
|
&.open svg[data-icon="caret-right"] {
|
2017-08-06 16:08:03 -04:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
2019-03-30 11:15:01 -04:00
|
|
|
svg[data-icon="caret-right"] + * {
|
2022-05-18 09:06:40 -04:00
|
|
|
margin-inline-start: $-xxs;
|
2019-03-30 11:15:01 -04:00
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
|
|
|
|
2020-06-27 18:56:01 -04:00
|
|
|
[overlay], .popup-background {
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(background-color, rgba(0, 0, 0, 0.333), rgba(0, 0, 0, 0.6));
|
2015-09-03 11:51:10 -04:00
|
|
|
position: fixed;
|
|
|
|
z-index: 95536;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2016-08-30 15:05:59 -04:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
display: none;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
|
2016-09-03 05:32:14 -04:00
|
|
|
.popup-body-wrap {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2016-08-30 15:05:59 -04:00
|
|
|
.popup-body {
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(background-color, #fff, #333);
|
2015-08-09 09:52:15 -04:00
|
|
|
max-height: 90%;
|
2019-12-27 12:14:34 -05:00
|
|
|
max-width: 1200px;
|
|
|
|
width: 90%;
|
2016-08-30 15:05:59 -04:00
|
|
|
height: auto;
|
2019-12-27 12:14:34 -05:00
|
|
|
margin: 2% auto;
|
2015-08-09 09:52:15 -04:00
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
|
|
|
|
overflow: hidden;
|
2015-08-12 18:42:42 -04:00
|
|
|
z-index: 999;
|
|
|
|
display: flex;
|
2016-08-30 15:05:59 -04:00
|
|
|
flex-direction: column;
|
2023-04-24 18:24:58 -04:00
|
|
|
position: relative;
|
2016-08-30 15:05:59 -04:00
|
|
|
&.small {
|
|
|
|
margin: 2% auto;
|
|
|
|
width: 800px;
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
2022-04-20 09:58:37 -04:00
|
|
|
&.very-small {
|
|
|
|
margin: 2% auto;
|
|
|
|
width: 600px;
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
2016-08-30 15:05:59 -04:00
|
|
|
&:before {
|
|
|
|
display: flex;
|
|
|
|
align-self: flex-start;
|
2015-08-13 15:28:11 -04:00
|
|
|
}
|
2018-01-05 15:11:06 -05:00
|
|
|
.popup-content {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2019-08-24 13:26:28 -04:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2015-08-09 09:52:15 -04:00
|
|
|
}
|
2015-12-30 14:57:17 -05:00
|
|
|
|
2022-06-20 12:11:34 -04:00
|
|
|
.popup-header button, .popup-footer button {
|
2016-09-01 15:36:22 -04:00
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
box-shadow: none;
|
2022-06-20 12:11:34 -04:00
|
|
|
color: #FFF;
|
|
|
|
padding: $-xs $-m;
|
2023-04-25 11:41:39 -04:00
|
|
|
cursor: pointer;
|
2022-06-20 12:11:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-header button:not(.popup-header-close) {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-header button:hover {
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-footer {
|
|
|
|
justify-content: end;
|
2022-06-20 18:02:06 -04:00
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
min-height: 41px;
|
2022-06-20 12:11:34 -04:00
|
|
|
button {
|
|
|
|
padding: 10px $-m;
|
2019-04-07 06:34:40 -04:00
|
|
|
}
|
|
|
|
}
|
2022-06-20 12:11:34 -04:00
|
|
|
|
2019-04-07 06:34:40 -04:00
|
|
|
.popup-header-close {
|
|
|
|
border: 0;
|
|
|
|
color: #FFF;
|
|
|
|
font-size: 16px;
|
2022-06-20 12:11:34 -04:00
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-09-01 15:36:22 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-header, .popup-footer {
|
2022-06-20 12:11:34 -04:00
|
|
|
display: flex;
|
2015-08-12 18:42:42 -04:00
|
|
|
position: relative;
|
2016-08-30 15:05:59 -04:00
|
|
|
height: 40px;
|
2022-06-20 12:11:34 -04:00
|
|
|
flex: 0;
|
2016-08-30 15:05:59 -04:00
|
|
|
.popup-title {
|
|
|
|
color: #FFF;
|
2024-05-03 08:35:30 -04:00
|
|
|
margin-inline-end: auto;
|
2016-08-30 15:05:59 -04:00
|
|
|
padding: 8px $-m;
|
|
|
|
}
|
2022-06-20 08:42:12 -04:00
|
|
|
&.flex-container-row {
|
|
|
|
display: flex !important;
|
|
|
|
}
|
2015-08-12 13:48:26 -04:00
|
|
|
}
|
2016-09-03 05:32:14 -04:00
|
|
|
body.flexbox-support #entity-selector-wrap .popup-body .form-group {
|
|
|
|
height: 444px;
|
|
|
|
min-height: 444px;
|
|
|
|
}
|
2016-09-01 15:36:22 -04:00
|
|
|
#entity-selector-wrap .popup-body .form-group {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-04-07 04:57:48 -04:00
|
|
|
.popup-body .entity-selector-container {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2016-09-03 05:32:14 -04:00
|
|
|
|
2023-04-24 18:24:58 -04:00
|
|
|
.dropzone-overlay {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2023-04-25 08:10:25 -04:00
|
|
|
font-size: 1.333rem;
|
2023-04-24 18:24:58 -04:00
|
|
|
width: 98%;
|
|
|
|
height: 98%;
|
|
|
|
left: 1%;
|
|
|
|
top: 1%;
|
|
|
|
border-radius: 4px;
|
2023-04-25 08:10:25 -04:00
|
|
|
border: 1px dashed var(--color-primary);
|
|
|
|
font-style: italic;
|
|
|
|
box-sizing: content-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a9a9a9' fill-opacity='0.52' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
|
|
|
|
background-color: var(--color-primary);
|
2023-04-24 18:24:58 -04:00
|
|
|
color: #FFF;
|
|
|
|
opacity: .8;
|
|
|
|
z-index: 9;
|
|
|
|
pointer-events: none;
|
|
|
|
animation: dzAnimIn 240ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
2023-04-26 11:41:34 -04:00
|
|
|
.dropzone-landing-area {
|
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
padding: $-m $-l;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px dashed var(--color-primary);
|
|
|
|
color: var(--color-primary);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2023-04-24 18:24:58 -04:00
|
|
|
@keyframes dzAnimIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(.7);
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes dzFileItemIn {
|
|
|
|
0% {
|
|
|
|
opacity: .5;
|
|
|
|
transform: translateY(28px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
2023-04-25 08:10:25 -04:00
|
|
|
@keyframes dzFileItemOut {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: .5;
|
|
|
|
transform: translateY(28px);
|
|
|
|
}
|
|
|
|
}
|
2023-04-24 18:24:58 -04:00
|
|
|
|
|
|
|
.dropzone-file-item {
|
|
|
|
width: 260px;
|
|
|
|
height: 80px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
margin: 1rem;
|
|
|
|
flex-direction: row;
|
2023-04-27 07:55:05 -04:00
|
|
|
@include lightDark(background, #FFF, #444);
|
2023-04-24 18:24:58 -04:00
|
|
|
box-shadow: $bs-large;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
animation: dzFileItemIn ease-in-out 240ms;
|
2023-04-25 08:10:25 -04:00
|
|
|
transition: transform ease-in-out 120ms, box-shadow ease-in-out 120ms;
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
transform: translateY(-3px);
|
|
|
|
box-shadow: 0 3px 8px 1px rgba(22, 22, 22, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dropzone-file-item.dismiss {
|
|
|
|
animation: dzFileItemOut ease-in-out 240ms;
|
2023-04-24 18:24:58 -04:00
|
|
|
}
|
|
|
|
.dropzone-file-item .loading-container {
|
|
|
|
text-align: start !important;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.dropzone-file-item-image-wrap {
|
|
|
|
width: 80px;
|
|
|
|
position: relative;
|
2023-04-25 11:41:39 -04:00
|
|
|
background-color: var(--color-primary-light);
|
2023-04-24 18:24:58 -04:00
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dropzone-file-item-text-wrap {
|
|
|
|
flex: 1;
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.dropzone-file-item-progress {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
font-size: 0;
|
|
|
|
height: 3px;
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
transition: width ease-in-out 240ms;
|
|
|
|
}
|
2024-05-18 16:18:15 -04:00
|
|
|
.dropzone-file-item-label {
|
|
|
|
line-height: 1.2;
|
|
|
|
margin-bottom: .2rem;
|
|
|
|
}
|
2023-04-24 18:24:58 -04:00
|
|
|
.dropzone-file-item-label,
|
|
|
|
.dropzone-file-item-status {
|
|
|
|
align-items: center;
|
2023-04-26 11:41:34 -04:00
|
|
|
font-size: .8rem;
|
2023-04-24 18:24:58 -04:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
.dropzone-file-item-status[data-status] {
|
|
|
|
display: flex;
|
2023-04-25 11:41:39 -04:00
|
|
|
font-size: .6rem;
|
2023-04-24 18:24:58 -04:00
|
|
|
font-weight: 500;
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
|
|
|
.dropzone-file-item-status[data-status="success"] {
|
2023-06-13 10:52:33 -04:00
|
|
|
color: var(--color-positive);
|
2023-04-24 18:24:58 -04:00
|
|
|
}
|
|
|
|
.dropzone-file-item-status[data-status="error"] {
|
2023-06-13 10:52:33 -04:00
|
|
|
color: var(--color-negative);
|
2023-04-24 18:24:58 -04:00
|
|
|
}
|
|
|
|
.dropzone-file-item-status[data-status] + .dropzone-file-item-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-05-26 09:30:59 -04:00
|
|
|
.image-manager-body {
|
|
|
|
min-height: 70vh;
|
|
|
|
}
|
|
|
|
.image-manager-filter-bar {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 5;
|
2023-05-29 10:50:36 -04:00
|
|
|
@include lightDark(background-color, rgba(255, 255, 255, 0.85), rgba(80, 80, 80, 0.85));
|
2023-05-26 09:30:59 -04:00
|
|
|
}
|
|
|
|
.image-manager-filter-bar-bg {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: .15;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2023-05-27 11:58:10 -04:00
|
|
|
|
2023-05-26 09:30:59 -04:00
|
|
|
.image-manager-filters {
|
|
|
|
box-shadow: $bs-med;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom: 0 !important;
|
2023-05-29 10:50:36 -04:00
|
|
|
@include whenDark {
|
|
|
|
border: 1px solid #000 !important;
|
|
|
|
}
|
2023-05-26 09:30:59 -04:00
|
|
|
button {
|
|
|
|
line-height: 0;
|
2023-05-29 10:50:36 -04:00
|
|
|
@include lightDark(background-color, #FFF, #333);
|
2023-05-26 09:30:59 -04:00
|
|
|
}
|
|
|
|
svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-24 12:07:32 -04:00
|
|
|
.image-manager-list {
|
|
|
|
padding: 3px;
|
|
|
|
display: grid;
|
2023-09-30 07:43:51 -04:00
|
|
|
grid-template-columns: repeat( auto-fill, minmax(max(140px, 17%), 1fr) );
|
2023-05-24 12:07:32 -04:00
|
|
|
gap: 3px;
|
2023-05-26 09:30:59 -04:00
|
|
|
z-index: 3;
|
|
|
|
> div {
|
|
|
|
aspect-ratio: 1;
|
|
|
|
}
|
2023-05-24 12:07:32 -04:00
|
|
|
}
|
|
|
|
|
2016-02-07 05:14:11 -05:00
|
|
|
.image-manager-list .image {
|
2015-08-15 19:18:22 -04:00
|
|
|
display: block;
|
2016-02-07 05:14:11 -05:00
|
|
|
position: relative;
|
2015-08-15 19:18:22 -04:00
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
2023-05-24 12:07:32 -04:00
|
|
|
width: 100%;
|
|
|
|
text-align: start;
|
|
|
|
padding: 0;
|
2015-08-15 19:18:22 -04:00
|
|
|
cursor: pointer;
|
2023-05-24 12:07:32 -04:00
|
|
|
aspect-ratio: 1;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(border-color, #ddd, #000);
|
2023-05-24 12:07:32 -04:00
|
|
|
transition: all linear 80ms;
|
2016-02-07 05:14:11 -05:00
|
|
|
overflow: hidden;
|
2015-08-15 19:18:22 -04:00
|
|
|
&.selected {
|
2023-05-24 12:07:32 -04:00
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
outline: currentColor 3px solid;
|
|
|
|
border-radius: 3px;
|
|
|
|
transform: scale3d(0.95, 0.95, 0.95);
|
2016-02-07 05:14:11 -05:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
2023-05-24 12:07:32 -04:00
|
|
|
object-fit: cover;
|
|
|
|
height: auto;
|
2016-02-07 05:14:11 -05:00
|
|
|
}
|
|
|
|
.image-meta {
|
2023-05-24 12:07:32 -04:00
|
|
|
opacity: 0;
|
2016-02-07 05:14:11 -05:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
color: #EEE;
|
2023-05-24 12:07:32 -04:00
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
2016-02-07 05:14:11 -05:00
|
|
|
font-size: 10px;
|
|
|
|
padding: 3px 4px;
|
2023-05-24 12:07:32 -04:00
|
|
|
pointer-events: none;
|
|
|
|
transition: opacity ease-in-out 80ms;
|
2016-02-07 05:14:11 -05:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2023-05-24 12:07:32 -04:00
|
|
|
&.selected .image-meta,
|
|
|
|
&:hover .image-meta,
|
|
|
|
&:focus .image-meta {
|
|
|
|
opacity: 1;
|
2016-02-07 05:14:11 -05:00
|
|
|
}
|
|
|
|
@include smaller-than($m) {
|
|
|
|
.image-meta {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-08-15 19:18:22 -04:00
|
|
|
}
|
|
|
|
}
|
2015-08-12 18:42:42 -04:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
.image-manager .load-more {
|
2015-08-09 09:52:15 -04:00
|
|
|
text-align: center;
|
2015-08-15 19:18:22 -04:00
|
|
|
padding: $-s $-m;
|
|
|
|
clear: both;
|
2023-04-26 09:23:28 -04:00
|
|
|
.loading-container {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-08-09 09:52:15 -04:00
|
|
|
}
|
2015-08-12 18:42:42 -04:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
.image-manager .loading-container {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-10-01 08:05:18 -04:00
|
|
|
.image-manager-list .image-manager-list-warning {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
aspect-ratio: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-manager-warning {
|
|
|
|
@include lightDark(background, #FFF, #333);
|
|
|
|
color: var(--color-warning);
|
|
|
|
font-weight: bold;
|
|
|
|
border-inline: 3px solid var(--color-warning);
|
|
|
|
}
|
|
|
|
|
2015-08-12 18:42:42 -04:00
|
|
|
.image-manager-sidebar {
|
|
|
|
width: 300px;
|
2023-05-27 11:58:10 -04:00
|
|
|
margin: 0 auto;
|
2016-08-30 15:05:59 -04:00
|
|
|
overflow-y: auto;
|
2018-03-18 09:14:11 -04:00
|
|
|
overflow-x: hidden;
|
2020-04-05 08:07:19 -04:00
|
|
|
border-inline-start: 1px solid #DDD;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(border-color, #ddd, #000);
|
2018-05-13 07:07:38 -04:00
|
|
|
.inner {
|
2020-07-24 19:20:58 -04:00
|
|
|
min-height: auto;
|
2018-05-13 07:07:38 -04:00
|
|
|
padding: $-m;
|
|
|
|
}
|
2023-04-25 11:41:39 -04:00
|
|
|
.image-manager-viewer img {
|
2018-05-13 07:07:38 -04:00
|
|
|
max-width: 100%;
|
2018-05-19 13:44:40 -04:00
|
|
|
max-height: 180px;
|
2018-05-13 07:07:38 -04:00
|
|
|
display: block;
|
|
|
|
margin: 0 auto $-m auto;
|
2018-05-19 13:44:40 -04:00
|
|
|
box-shadow: 0 1px 21px 1px rgba(76, 76, 76, 0.3);
|
|
|
|
}
|
|
|
|
.image-manager-viewer {
|
|
|
|
height: 196px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-05-13 07:07:38 -04:00
|
|
|
}
|
2015-08-13 02:44:10 -04:00
|
|
|
}
|
2023-05-27 11:58:10 -04:00
|
|
|
@include smaller-than($m) {
|
|
|
|
.image-manager-sidebar {
|
|
|
|
border-inline-start: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-12-30 14:57:17 -05:00
|
|
|
|
2015-08-12 18:42:42 -04:00
|
|
|
.image-manager-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
2023-05-26 09:30:59 -04:00
|
|
|
overflow-y: scroll;
|
2016-04-03 09:59:54 -04:00
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.full-tab {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-08-09 09:52:15 -04:00
|
|
|
}
|
|
|
|
|
2023-05-26 09:30:59 -04:00
|
|
|
.tab-container.bordered [role="tablist"] button[role="tab"] {
|
2023-05-29 10:50:36 -04:00
|
|
|
border-inline-end: 1px solid #DDD;
|
|
|
|
@include lightDark(border-inline-end-color, #DDD, #000);
|
2023-04-26 09:23:28 -04:00
|
|
|
&:last-child {
|
2023-05-29 10:50:36 -04:00
|
|
|
border-inline-end: none;
|
2023-04-26 09:23:28 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-28 07:50:51 -05:00
|
|
|
.tab-container [role="tablist"] {
|
2023-01-28 06:50:46 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: end;
|
|
|
|
justify-items: start;
|
2020-04-05 08:07:19 -04:00
|
|
|
text-align: start;
|
2016-10-23 12:55:48 -04:00
|
|
|
border-bottom: 1px solid #DDD;
|
2020-04-11 10:48:08 -04:00
|
|
|
@include lightDark(border-color, #ddd, #444);
|
2016-10-23 12:55:48 -04:00
|
|
|
margin-bottom: $-m;
|
2016-12-24 10:21:19 -05:00
|
|
|
}
|
|
|
|
|
2023-05-26 09:30:59 -04:00
|
|
|
.tab-container [role="tablist"] button[role="tab"] {
|
2023-01-28 07:50:51 -05:00
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
@include lightDark(color, rgba(0, 0, 0, .5), rgba(255, 255, 255, .5));
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom: 2px solid transparent;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
&[aria-selected="true"] {
|
2023-01-28 11:06:11 -05:00
|
|
|
color: var(--color-link) !important;
|
|
|
|
border-bottom-color: var(--color-link) !important;
|
2023-05-29 10:50:36 -04:00
|
|
|
outline: 0 !important;
|
2023-01-28 07:50:51 -05:00
|
|
|
}
|
|
|
|
&:hover, &:focus {
|
|
|
|
@include lightDark(color, rgba(0, 0, 0, .8), rgba(255, 255, 255, .8));
|
|
|
|
@include lightDark(border-bottom-color, rgba(0, 0, 0, .2), rgba(255, 255, 255, .2));
|
2019-08-25 07:40:04 -04:00
|
|
|
}
|
2023-05-29 10:50:36 -04:00
|
|
|
&:focus {
|
|
|
|
outline: 1px dotted var(--color-primary);
|
|
|
|
outline-offset: -2px;
|
|
|
|
}
|
2023-05-26 09:30:59 -04:00
|
|
|
}
|
2023-01-28 07:50:51 -05:00
|
|
|
.tab-container [role="tablist"].controls-card {
|
2023-01-28 06:50:46 -05:00
|
|
|
margin-bottom: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
padding: 0 $-xs;
|
|
|
|
}
|
2019-08-25 07:40:04 -04:00
|
|
|
|
2016-12-24 10:21:19 -05:00
|
|
|
.image-picker .none {
|
|
|
|
display: none;
|
2017-07-01 08:23:46 -04:00
|
|
|
}
|
|
|
|
|
2020-06-27 18:56:01 -04:00
|
|
|
.code-editor .CodeMirror {
|
2022-06-20 12:11:34 -04:00
|
|
|
height: auto;
|
|
|
|
min-height: 50vh;
|
|
|
|
border-bottom: 0;
|
2017-07-01 10:50:28 -04:00
|
|
|
}
|
|
|
|
|
2020-06-27 18:56:01 -04:00
|
|
|
.code-editor .lang-options {
|
2022-06-20 08:42:12 -04:00
|
|
|
overflow-y: scroll;
|
2022-06-20 12:11:34 -04:00
|
|
|
flex-basis: 200px;
|
|
|
|
flex-grow: 1;
|
2022-06-20 08:42:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.code-editor .lang-options button {
|
|
|
|
display: block;
|
|
|
|
padding: $-xs $-m;
|
2022-06-20 18:06:54 -04:00
|
|
|
border-bottom: 1px solid;
|
|
|
|
@include lightDark(color, #333, #AAA);
|
|
|
|
@include lightDark(border-bottom-color, #EEE, #000);
|
|
|
|
cursor: pointer;
|
2022-06-20 08:42:12 -04:00
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2023-06-14 07:53:48 -04:00
|
|
|
font-family: var(--font-code);
|
2022-06-20 08:42:12 -04:00
|
|
|
font-size: 0.7rem;
|
2022-07-25 14:13:25 -04:00
|
|
|
padding-left: 24px + $-xs;
|
2022-06-20 12:11:34 -04:00
|
|
|
&:hover, &.active {
|
2022-06-20 08:42:12 -04:00
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
color: var(--color-primary);
|
2017-07-01 10:50:28 -04:00
|
|
|
}
|
2017-09-09 12:06:30 -04:00
|
|
|
}
|
|
|
|
|
2022-07-24 16:15:43 -04:00
|
|
|
.code-editor button.lang-option-favorite-toggle {
|
|
|
|
position: absolute;
|
2022-07-25 08:10:27 -04:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2022-07-24 16:15:43 -04:00
|
|
|
width: 28px;
|
|
|
|
font-size: 1rem;
|
|
|
|
border: 0;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 2px;
|
|
|
|
z-index: 2;
|
|
|
|
height: 100%;
|
|
|
|
text-align: center;
|
2022-07-25 08:10:27 -04:00
|
|
|
color: var(--color-primary);
|
2022-07-24 16:15:43 -04:00
|
|
|
svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-25 08:10:27 -04:00
|
|
|
.code-editor button[data-favourite="true"] ~ .action-favourite,
|
|
|
|
.code-editor button[data-favourite="false"] ~ .action-unfavourite {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-07-25 14:13:25 -04:00
|
|
|
.code-editor .action-favourite {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.code-editor button:hover ~ .action-favourite {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2022-06-20 08:42:12 -04:00
|
|
|
.code-editor label {
|
|
|
|
background-color: var(--color-primary-light);
|
|
|
|
width: 100%;
|
|
|
|
color: var(--color-primary);
|
2022-07-25 14:13:25 -04:00
|
|
|
padding: $-xxs $-s;
|
2022-06-20 12:11:34 -04:00
|
|
|
margin-bottom: 0;
|
2022-06-20 08:42:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.code-editor-language-list {
|
2022-06-20 12:11:34 -04:00
|
|
|
position: relative;
|
2022-06-20 12:16:28 -04:00
|
|
|
width: 160px;
|
2022-06-20 12:11:34 -04:00
|
|
|
z-index: 2;
|
|
|
|
align-items: stretch;
|
2022-06-20 08:42:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.code-editor-language-list input {
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #DDD;
|
2022-07-25 14:13:25 -04:00
|
|
|
padding: $-xs $-s;
|
|
|
|
height: auto;
|
2022-06-20 08:42:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.code-editor-main {
|
|
|
|
flex: 1;
|
2022-06-20 12:11:34 -04:00
|
|
|
min-width: 0;
|
2023-04-17 08:24:29 -04:00
|
|
|
.cm-editor {
|
2022-06-20 12:11:34 -04:00
|
|
|
margin-bottom: 0;
|
|
|
|
z-index: 1;
|
2018-01-28 09:19:54 -05:00
|
|
|
max-width: 100%;
|
2022-06-20 12:11:34 -04:00
|
|
|
width: 100%;
|
2018-01-28 09:19:54 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-25 14:13:25 -04:00
|
|
|
.code-editor-body-wrap {
|
|
|
|
height: 80vh;
|
|
|
|
}
|
|
|
|
|
2022-06-20 18:12:07 -04:00
|
|
|
@include smaller-than($s) {
|
|
|
|
.code-editor .lang-options {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.code-editor-body-wrap {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.code-editor-language-list, .code-editor-language-list input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-09 06:12:39 -04:00
|
|
|
.comments-container {
|
|
|
|
padding-inline: $-xl;
|
|
|
|
@include smaller-than($m) {
|
|
|
|
padding-inline: $-xs;
|
|
|
|
}
|
|
|
|
}
|
2017-09-09 12:06:30 -04:00
|
|
|
.comment-box {
|
2019-04-13 05:50:24 -04:00
|
|
|
border-radius: 4px;
|
2020-04-11 10:48:08 -04:00
|
|
|
border: 1px solid #DDD;
|
|
|
|
@include lightDark(border-color, #ddd, #000);
|
|
|
|
@include lightDark(background-color, #FFF, #222);
|
2017-09-09 12:06:30 -04:00
|
|
|
.content {
|
|
|
|
font-size: 0.666em;
|
2023-06-28 08:41:14 -04:00
|
|
|
padding: $-xs $-s;
|
2017-12-28 12:02:24 -05:00
|
|
|
p, ul, ol {
|
2017-09-10 11:14:04 -04:00
|
|
|
font-size: $fs-m;
|
|
|
|
margin: .5em 0;
|
|
|
|
}
|
2017-09-09 12:06:30 -04:00
|
|
|
}
|
2019-04-13 05:50:24 -04:00
|
|
|
.actions {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity ease-in-out 120ms;
|
|
|
|
}
|
2019-08-24 13:26:28 -04:00
|
|
|
&:hover .actions, &:focus-within .actions {
|
2019-04-13 05:50:24 -04:00
|
|
|
opacity: 1;
|
2017-09-09 12:06:30 -04:00
|
|
|
}
|
2023-06-08 10:03:38 -04:00
|
|
|
.actions button:focus {
|
|
|
|
outline: 1px dotted var(--color-primary);
|
|
|
|
}
|
2023-06-09 12:36:30 -04:00
|
|
|
@include smaller-than($m) {
|
|
|
|
.actions {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-09-09 12:06:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment-box .header {
|
2023-06-09 12:36:30 -04:00
|
|
|
border-bottom: 1px solid #DDD;
|
2023-06-28 08:41:14 -04:00
|
|
|
padding: $-xs $-s;
|
2023-06-09 12:36:30 -04:00
|
|
|
@include lightDark(border-color, #DDD, #000);
|
|
|
|
a {
|
|
|
|
color: inherit;
|
2017-09-09 12:06:30 -04:00
|
|
|
}
|
|
|
|
.text-muted {
|
|
|
|
color: #999;
|
|
|
|
}
|
2023-06-16 08:08:04 -04:00
|
|
|
.meta a, .meta span {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-06-09 12:36:30 -04:00
|
|
|
.right-meta .text-muted {
|
|
|
|
opacity: .8;
|
|
|
|
}
|
2018-03-18 09:14:11 -04:00
|
|
|
}
|
2018-03-30 09:09:51 -04:00
|
|
|
|
2023-06-07 08:24:49 -04:00
|
|
|
.comment-thread-indicator {
|
|
|
|
border-inline-start: 3px dotted #DDD;
|
|
|
|
@include lightDark(border-color, #DDD, #444);
|
|
|
|
margin-inline-start: $-xs;
|
|
|
|
width: $-l;
|
2023-06-08 10:03:38 -04:00
|
|
|
height: calc(100% - $-m);
|
2023-06-07 08:24:49 -04:00
|
|
|
}
|
|
|
|
|
2023-06-09 06:12:39 -04:00
|
|
|
.comment-branch .comment-branch .comment-branch .comment-branch .comment-thread-indicator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-06-09 12:36:30 -04:00
|
|
|
.comment-reply {
|
|
|
|
display: none;
|
2023-06-28 08:41:14 -04:00
|
|
|
margin: 0 !important;
|
|
|
|
margin-bottom: -$-xxs !important;
|
2023-06-09 12:36:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment-branch .comment-branch .comment-branch .comment-branch .comment-reply {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-06-16 08:08:04 -04:00
|
|
|
.comment-container-compact .comment-box {
|
|
|
|
.meta {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
.header {
|
|
|
|
padding: $-xs;
|
|
|
|
}
|
|
|
|
.right-meta {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
padding: $-xs $-s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.comment-container-compact .comment-thread-indicator {
|
|
|
|
width: $-m;
|
|
|
|
}
|
|
|
|
|
2018-03-30 09:09:51 -04:00
|
|
|
#tag-manager .drag-card {
|
|
|
|
max-width: 500px;
|
2019-04-13 07:07:27 -04:00
|
|
|
}
|
|
|
|
|
2019-08-11 15:04:43 -04:00
|
|
|
.template-item {
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
&:hover, .template-item-actions button:hover {
|
|
|
|
background-color: #F2F2F2;
|
|
|
|
}
|
|
|
|
.template-item-actions {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2022-09-06 16:30:28 -04:00
|
|
|
inset-inline-end: 0;
|
2019-08-11 15:04:43 -04:00
|
|
|
width: 50px;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-11-28 07:38:30 -05:00
|
|
|
border-inline-start: 1px solid;
|
|
|
|
@include lightDark(border-color, #ddd, #000);
|
2019-08-11 15:04:43 -04:00
|
|
|
}
|
|
|
|
.template-item-actions button {
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 1;
|
2022-11-28 07:38:30 -05:00
|
|
|
@include lightDark(background-color, #FFF, #222);
|
2019-08-11 15:04:43 -04:00
|
|
|
border: 0;
|
2022-11-28 07:38:30 -05:00
|
|
|
border-top: 1px solid;
|
|
|
|
@include lightDark(border-color, #DDD, #000);
|
2019-08-11 15:04:43 -04:00
|
|
|
}
|
2022-09-06 16:30:28 -04:00
|
|
|
.template-item-actions button svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-08-11 15:04:43 -04:00
|
|
|
.template-item-actions button:first-child {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2020-12-31 12:25:20 -05:00
|
|
|
}
|
|
|
|
|
2022-05-14 11:05:29 -04:00
|
|
|
|
|
|
|
.dropdown-search {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.dropdown-search-toggle-breadcrumb {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 4px;
|
|
|
|
line-height: normal;
|
|
|
|
padding: $-xs;
|
|
|
|
&:hover {
|
|
|
|
border-color: #DDD;
|
|
|
|
}
|
|
|
|
.svg-icon {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dropdown-search-toggle-select {
|
|
|
|
display: flex;
|
|
|
|
gap: $-s;
|
|
|
|
line-height: normal;
|
|
|
|
.svg-icon {
|
2022-10-11 10:41:21 -04:00
|
|
|
height: 26px;
|
|
|
|
width: 26px;
|
2022-05-14 11:05:29 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.avatar {
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
.avatar + span {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.dropdown-search-toggle-caret {
|
|
|
|
font-size: 1.15rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.dropdown-search-toggle-select-label {
|
|
|
|
min-width: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.dropdown-search-toggle-select-caret {
|
|
|
|
line-height: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-top: -2px;
|
2022-10-11 10:41:21 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-05-14 11:05:29 -04:00
|
|
|
}
|
|
|
|
|
2020-12-31 12:25:20 -05:00
|
|
|
.dropdown-search-dropdown {
|
|
|
|
box-shadow: $bs-med;
|
|
|
|
overflow: hidden;
|
|
|
|
min-height: 100px;
|
|
|
|
width: 240px;
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 80;
|
2022-05-14 09:19:54 -04:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
margin-top: $-m;
|
2020-12-31 12:25:20 -05:00
|
|
|
@include rtl {
|
|
|
|
right: auto;
|
|
|
|
left: -$-m;
|
|
|
|
}
|
|
|
|
.dropdown-search-search .svg-icon {
|
|
|
|
position: absolute;
|
|
|
|
left: $-s;
|
|
|
|
@include rtl {
|
|
|
|
right: $-s;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
top: 11px;
|
|
|
|
fill: #888;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.dropdown-search-list {
|
|
|
|
max-height: 400px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
text-align: start;
|
|
|
|
}
|
|
|
|
.dropdown-search-item {
|
|
|
|
padding: $-s $-m;
|
|
|
|
&:hover,&:focus {
|
|
|
|
background-color: #F2F2F2;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2022-05-14 08:11:48 -04:00
|
|
|
input, input:focus {
|
2020-12-31 12:25:20 -05:00
|
|
|
padding-inline-start: $-xl;
|
|
|
|
border-radius: 0;
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
}
|
2022-05-14 08:11:48 -04:00
|
|
|
input:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2020-12-31 12:25:20 -05:00
|
|
|
}
|
|
|
|
|
2024-02-20 13:03:32 -05:00
|
|
|
@include smaller-than($l) {
|
2020-12-31 12:25:20 -05:00
|
|
|
.dropdown-search-dropdown {
|
2024-02-20 13:03:32 -05:00
|
|
|
inset-inline: $-m auto;
|
2020-12-31 12:25:20 -05:00
|
|
|
}
|
|
|
|
.dropdown-search-dropdown .dropdown-search-list {
|
|
|
|
max-height: 240px;
|
|
|
|
}
|
2022-10-29 10:23:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.item-list {
|
|
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
.item-list-row {
|
|
|
|
border: 1.5px solid;
|
|
|
|
@include lightDark(border-color, #E2E2E2, #444);
|
|
|
|
border-bottom-width: 0;
|
|
|
|
label {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
@include lightDark(background-color, #F6F6F6, #333);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.item-list-row:first-child {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
.item-list-row:last-child {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
border-bottom-width: 1.5px;
|
|
|
|
}
|
|
|
|
.item-list-row:first-child:last-child {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
.item-list-row-toggle-all {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.item-list-row:hover .item-list-row-toggle-all {
|
|
|
|
visibility: visible;
|
2022-10-30 08:02:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.status-indicator-active, .status-indicator-inactive {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.status-indicator-active {
|
2023-06-13 10:52:33 -04:00
|
|
|
background-color: var(--color-positive);
|
2022-10-30 08:02:06 -04:00
|
|
|
}
|
|
|
|
.status-indicator-inactive {
|
2023-06-13 10:52:33 -04:00
|
|
|
background-color: var(--color-negative);
|
2022-11-04 11:20:19 -04:00
|
|
|
}
|
|
|
|
|
2022-11-05 09:57:22 -04:00
|
|
|
.shortcut-container {
|
|
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
|
|
pointer-events: none;
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
.shortcut-linkage {
|
|
|
|
position: fixed;
|
|
|
|
box-shadow: 0 0 4px 0 #FFF;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2022-11-04 11:20:19 -04:00
|
|
|
.shortcut-hint {
|
|
|
|
position: fixed;
|
|
|
|
padding: $-xxs $-xxs;
|
|
|
|
font-size: .85rem;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
background-color: #eee;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid #b4b4b4;
|
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
|
|
|
|
color: #333;
|
2022-11-14 18:19:02 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Back to top link
|
|
|
|
$btt-size: 40px;
|
|
|
|
.back-to-top {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
position: fixed;
|
|
|
|
bottom: $-m;
|
|
|
|
right: $-l;
|
|
|
|
padding: 5px 7px;
|
|
|
|
cursor: pointer;
|
|
|
|
color: #FFF;
|
|
|
|
fill: #FFF;
|
|
|
|
svg {
|
|
|
|
width: math.div($btt-size, 1.5);
|
|
|
|
height: math.div($btt-size, 1.5);
|
|
|
|
margin-inline-end: 4px;
|
|
|
|
}
|
|
|
|
width: $btt-size;
|
|
|
|
height: $btt-size;
|
|
|
|
border-radius: $btt-size;
|
|
|
|
transition: all ease-in-out 180ms;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 999;
|
|
|
|
overflow: hidden;
|
|
|
|
&:hover {
|
|
|
|
width: $btt-size*3.4;
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
.inner {
|
|
|
|
width: $btt-size*3.4;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 2;
|
|
|
|
}
|
2023-02-17 10:05:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sortable scroll boxes
|
|
|
|
.scroll-box {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2023-02-17 10:53:24 -05:00
|
|
|
max-height: 280px;
|
2023-02-17 10:05:28 -05:00
|
|
|
overflow-y: scroll;
|
|
|
|
border: 1px solid;
|
|
|
|
@include lightDark(border-color, #DDD, #000);
|
|
|
|
border-radius: 3px;
|
|
|
|
min-height: 20px;
|
|
|
|
@include lightDark(background-color, #EEE, #000);
|
|
|
|
}
|
|
|
|
.scroll-box-item {
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-top: 1px solid;
|
|
|
|
@include lightDark(border-color, #DDD, #000);
|
|
|
|
margin-top: -1px;
|
|
|
|
@include lightDark(background-color, #FFF, #222);
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
padding: 1px;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
@include lightDark(background-color, #f8f8f8, #333);
|
|
|
|
}
|
|
|
|
.handle {
|
|
|
|
color: #AAA;
|
|
|
|
cursor: grab;
|
|
|
|
}
|
2023-02-17 11:18:24 -05:00
|
|
|
button {
|
|
|
|
opacity: .6;
|
|
|
|
}
|
2023-02-17 10:05:28 -05:00
|
|
|
.handle svg {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
> * {
|
|
|
|
padding: $-xs $-m;
|
|
|
|
}
|
|
|
|
.handle + * {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
&:hover .handle {
|
|
|
|
@include lightDark(color, #444, #FFF);
|
|
|
|
}
|
2023-02-17 11:18:24 -05:00
|
|
|
&:hover button {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-02-17 10:05:28 -05:00
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input.scroll-box-search, .scroll-box-header-item {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
border: 1px solid;
|
|
|
|
@include lightDark(border-color, #DDD, #000);
|
|
|
|
@include lightDark(background-color, #FFF, #222);
|
|
|
|
margin-bottom: -1px;
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
line-height: 1.4;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll-box-search + .scroll-box,
|
|
|
|
.scroll-box-header-item + .scroll-box {
|
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll-box[refs="shelf-sort@shelf-book-list"] [data-action="add"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-02-17 10:53:24 -05:00
|
|
|
.scroll-box[refs="shelf-sort@all-book-list"] [data-action="remove"],
|
|
|
|
.scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_up"],
|
|
|
|
.scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_down"],
|
|
|
|
{
|
2023-02-17 10:05:28 -05:00
|
|
|
display: none;
|
2018-03-30 09:09:51 -04:00
|
|
|
}
|