2021-11-17 23:53:43 +05:30
|
|
|
@import "open-color/open-color";
|
|
|
|
|
|
|
|
.excalidraw {
|
2023-05-04 19:33:31 +02:00
|
|
|
.library-menu-items-container {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2022-10-18 06:59:14 +02:00
|
|
|
}
|
|
|
|
|
2021-11-17 23:53:43 +05:30
|
|
|
.layer-ui__library {
|
|
|
|
display: flex;
|
2022-10-18 06:59:14 +02:00
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
flex: 1 1 auto;
|
2021-11-17 23:53:43 +05:30
|
|
|
}
|
|
|
|
|
2022-11-01 17:29:58 +01:00
|
|
|
.library-actions-counter {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary-light);
|
|
|
|
font-weight: bold;
|
2022-10-18 06:59:14 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-11-01 17:29:58 +01:00
|
|
|
justify-content: center;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -0.25rem;
|
|
|
|
right: -0.25rem;
|
|
|
|
font-size: 0.625rem;
|
|
|
|
pointer-events: none;
|
2022-10-18 06:59:14 +02:00
|
|
|
}
|
|
|
|
|
2021-11-17 23:53:43 +05:30
|
|
|
.layer-ui__library-message {
|
2022-11-01 17:29:58 +01:00
|
|
|
padding: 2rem;
|
2022-04-20 14:40:03 +02:00
|
|
|
min-width: 200px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2022-11-01 17:29:58 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: center;
|
|
|
|
|
2022-04-20 14:40:03 +02:00
|
|
|
span {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2021-11-17 23:53:43 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.publish-library-success {
|
|
|
|
.Dialog__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-close.ToolIcon_type_button {
|
|
|
|
background-color: $oc-blue-6;
|
|
|
|
align-self: flex-end;
|
|
|
|
&:hover {
|
|
|
|
background-color: $oc-blue-8;
|
|
|
|
}
|
|
|
|
.ToolIcon__icon {
|
|
|
|
width: auto;
|
|
|
|
font-size: 1rem;
|
|
|
|
color: $oc-white;
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-21 20:03:23 +05:00
|
|
|
|
2023-05-04 19:33:31 +02:00
|
|
|
.library-menu-control-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
gap: 0.625rem;
|
|
|
|
}
|
|
|
|
|
2022-06-21 20:03:23 +05:00
|
|
|
.library-menu-browse-button {
|
2023-05-04 19:33:31 +02:00
|
|
|
flex: 1;
|
2022-11-01 17:29:58 +01:00
|
|
|
|
2023-05-04 19:33:31 +02:00
|
|
|
height: var(--lg-button-size);
|
2022-11-01 17:29:58 +01:00
|
|
|
|
2022-06-21 20:03:23 +05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
border-radius: var(--border-radius-lg);
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: $oc-white;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-decoration: none !important;
|
2022-11-01 17:29:58 +01:00
|
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
2022-06-21 20:03:23 +05:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary-darker);
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: var(--color-primary-darkest);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-01 17:29:58 +01:00
|
|
|
&.theme--dark {
|
|
|
|
.library-menu-browse-button {
|
|
|
|
color: var(--color-gray-100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-04 19:33:31 +02:00
|
|
|
&.excalidraw--mobile .library-menu-browse-button {
|
|
|
|
height: var(--default-button-size);
|
2022-06-21 20:03:23 +05:00
|
|
|
}
|
2023-01-05 22:04:23 +05:30
|
|
|
|
2023-05-04 19:33:31 +02:00
|
|
|
.layer-ui__library .dropdown-menu {
|
|
|
|
width: auto;
|
|
|
|
top: initial;
|
|
|
|
right: 0;
|
|
|
|
left: initial;
|
|
|
|
bottom: 100%;
|
|
|
|
margin-bottom: 0.625rem;
|
2023-01-05 22:04:23 +05:30
|
|
|
|
2023-05-04 19:33:31 +02:00
|
|
|
.dropdown-menu-container {
|
2023-01-05 22:04:23 +05:30
|
|
|
width: 196px;
|
|
|
|
box-shadow: var(--library-dropdown-shadow);
|
|
|
|
border-radius: var(--border-radius-lg);
|
|
|
|
padding: 0.25rem 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 23:53:43 +05:30
|
|
|
}
|