overleaf/services/web/frontend/stylesheets/app/editor/figure-modal.less
Miguel Serrano ac48d81987 Merge pull request #17373 from overleaf/jpa-figure-modal-options
[web] hide figure modal import options as configured server side

GitOrigin-RevId: f8907a33d413fcac238b00328eaba14d64f2f31b
2024-03-06 17:27:32 +00:00

145 lines
2.3 KiB
Text

.figure-modal-label {
font-weight: normal;
line-height: 100%;
}
.figure-modal-form tr,
.figure-modal-form td {
vertical-align: top;
}
.figure-modal-footer {
display: flex;
justify-content: space-between;
}
.figure-modal-help-buttons,
.figure-modal-actions {
flex: 1 1 auto;
}
.figure-modal-help-buttons {
text-align: left;
}
.figure-modal-help-link,
.figure-modal-help-link:hover,
.figure-modal-help-link:focus,
.figure-modal-help-link:active {
color: @neutral-90;
text-decoration: none;
}
.figure-modal-help-link {
padding-left: 0;
}
.figure-modal-switcher-input {
display: flex;
}
.figure-modal-checkbox-input,
.figure-modal-switcher-input {
margin-top: 16px;
}
.figure-modal-checkbox-input input[type='checkbox'] {
vertical-align: top;
margin-right: 12px;
accent-color: @ol-green;
}
.figure-modal-switcher-input {
display: flex;
justify-content: space-between;
vertical-align: middle;
}
.figure-modal-input-field {
width: 100%;
}
.file-container {
width: 100%;
height: 120px;
padding: 22px 24px;
border: 1px dashed #eaeaea;
background-color: #fafafa;
justify-content: space-between;
border-radius: 8px;
}
.file-container-file {
display: flex;
border: 1px solid @neutral-20;
border-radius: 8px;
background-color: white;
height: 100%;
padding: 16px 18px;
}
.file-info {
margin-left: 18px;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-around;
}
.file-name {
font-weight: bold;
}
.file-icon {
font-size: 20px;
line-height: 40px;
}
.file-action {
cursor: pointer;
}
.figure-modal-source-button-grid {
display: grid;
justify-content: space-between;
gap: 8px;
grid-template-columns: 1fr 1fr;
margin: 0 auto;
&:not(:first-of-type) {
margin-top: 8px;
}
}
.figure-modal-source-button {
display: flex;
flex: 1 1 0;
align-items: center;
box-shadow: 0px 2px 4px 0px #1e253029;
line-height: 44px;
background-color: white;
border-radius: 4px;
border: none;
padding: 0 8px;
&-title {
flex: 1 1 auto;
text-align: left;
}
}
.figure-modal-source-button-icon {
flex: 0 0 auto;
&.source-icon {
margin-right: 6px;
}
}
.figure-modal-input-label:not(:first-child),
.figure-modal .select-wrapper:not(:first-child) {
margin-top: 16px;
}
.figure-modal-upload .uppy-Dashboard-AddFiles-list {
display: none;
}