mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
`.flex` is `display: flex; height: 100%`, which is right for a pane column and wrong for an anchor that is ONE ITEM of a row: it stretched to the row's height and pulled the box away from its words. The storage rows and the Backup include row now place their items - centred, only as tall as they need - whether the item is a label around a native checkbox or the material one that replaced it. Thanks to Alishara and xet7 !
241 lines
5.6 KiB
CSS
241 lines
5.6 KiB
CSS
.move-attachment-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.attachments-content .move-compact-section,
|
|
.setting-content .content-body .main-body .form-group .compact-block {
|
|
margin: 16px 0;
|
|
padding: 12px;
|
|
border: 1px solid #d0d7de;
|
|
border-radius: 6px;
|
|
background: #fff8e1;
|
|
max-width: 650px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.attachments-content .move-compact-section p,
|
|
.setting-content .content-body .main-body .form-group .compact-block p {
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.attachments-content .move-compact-section h4,
|
|
.setting-content .content-body .main-body h4 {
|
|
margin: 0 0 6px;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.attachments-content .compact-result-list,
|
|
.setting-content .content-body .main-body .compact-result-list {
|
|
margin: 6px 0 0;
|
|
padding-inline-start: 20px;
|
|
font-size: 0.85em;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.attachments-content .move-progress-section {
|
|
margin: 12px 0 16px;
|
|
padding: 12px;
|
|
border: 1px solid #d0d7de;
|
|
border-radius: 6px;
|
|
background: #f6f8fa;
|
|
}
|
|
|
|
.attachments-content .move-progress-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.attachments-content .move-progress-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.attachments-content .move-progress-counter {
|
|
font-weight: 600;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.attachments-content .move-progress-filename {
|
|
font-size: 0.85em;
|
|
color: #57606a;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.attachments-content .move-progress-bar-track {
|
|
background: #dde1e4;
|
|
border-radius: 4px;
|
|
height: 8px;
|
|
overflow: hidden;
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.attachments-content .move-progress-bar-fill {
|
|
background: #1976d2;
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
transition: width 0.4s ease;
|
|
min-width: 2px;
|
|
}
|
|
|
|
.attachments-content .move-progress-bar-indeterminate {
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
background: linear-gradient(90deg, transparent 0%, #1976d2 40%, #42a5f5 60%, transparent 100%);
|
|
background-size: 200% 100%;
|
|
animation: move-progress-slide 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes move-progress-slide {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
.attachments-content .move-progress-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.attachments-content .move-storage-form {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.attachments-content .move-storage-selects {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.attachments-content .move-storage-form .form-group {
|
|
margin: 0;
|
|
}
|
|
|
|
.attachments-content .move-storage-form .form-group label {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.attachments-content .move-attachment-buttons button,
|
|
.attachments-content .board-attachments td button {
|
|
background-color: #1976d2;
|
|
border: 1px solid #1565c0;
|
|
color: #fff;
|
|
}
|
|
|
|
.attachments-content .move-attachment-buttons button:hover,
|
|
.attachments-content .board-attachments td button:hover {
|
|
background-color: #1565c0;
|
|
color: #fff;
|
|
}
|
|
|
|
.attachments-content hr {
|
|
height: 0px;
|
|
border: 1px solid #000;
|
|
}
|
|
|
|
|
|
.setting-content .content-body .main-body .storage-rw-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
margin-bottom: 12px;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.setting-content .content-body .main-body .storage-rw-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* The box and its label are one clickable item (#6465: `a.flex > .materialCheckBox
|
|
+ span`, the markup the rest of WeKan uses). `.flex` alone would stretch it to
|
|
the row's full height and pull the box off its words. */
|
|
.setting-content .content-body .main-body .storage-rw-item a.flex,
|
|
.setting-content .content-body .main-body .storage-rw-row a.flex {
|
|
align-items: center;
|
|
height: auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* The checkbox itself is the Admin Panel's one checkbox look (settingBody.css):
|
|
visible, square, with WeKan's own green tick - not the browser's rendering, which
|
|
on Ubuntu drew a big orange box that matched nothing else and ignored the theme.
|
|
Only the row's own spacing belongs here. */
|
|
|
|
.setting-content .content-body .main-body .storage-rw-row label {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.setting-content .content-body .main-body .storage-rw-row input[type="checkbox"]:disabled + label {
|
|
cursor: default;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.setting-content .content-body .main-body .gridfs-stats-table {
|
|
border-collapse: collapse;
|
|
margin-top: 12px;
|
|
width: auto !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.setting-content .content-body .main-body .gridfs-stats-table th,
|
|
.setting-content .content-body .main-body .gridfs-stats-table td {
|
|
border: 1px solid #d0d7de;
|
|
padding: 6px 8px;
|
|
text-align: start;
|
|
white-space: nowrap;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
/* Cloud storage (S3 / Azure / GCS): example value shown below each input. */
|
|
.attachments-content .cloud-input-example {
|
|
display: block;
|
|
color: #888;
|
|
font-size: 0.82em;
|
|
font-family: monospace;
|
|
word-break: break-all;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
/* Cloud storage: where-to-find-this-value path shown below the example. */
|
|
.attachments-content .cloud-input-path {
|
|
display: block;
|
|
color: #6a737d;
|
|
font-size: 0.82em;
|
|
line-height: 1.4;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Cloud storage: translated label shown under the (English) label. */
|
|
.attachments-content .cloud-input-label-tr {
|
|
display: block;
|
|
color: #57606a;
|
|
font-size: 0.9em;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
/* Cloud storage: description text (English literal and translated). */
|
|
.attachments-content .cloud-input-desc {
|
|
display: block;
|
|
color: #6a737d;
|
|
font-size: 0.82em;
|
|
line-height: 1.4;
|
|
margin-top: 2px;
|
|
}
|