A lot of things.
This commit is contained in:
160
resources/css/components/drafts.css
Normal file
160
resources/css/components/drafts.css
Normal file
@@ -0,0 +1,160 @@
|
||||
.drafts-count {
|
||||
font-size: 0.85rem;
|
||||
color: var(--text2);
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.drafts-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 15px;
|
||||
padding: 80px 20px;
|
||||
background-color: var(--bg2);
|
||||
border: 1px dashed var(--border);
|
||||
text-align: center;
|
||||
color: var(--text2);
|
||||
|
||||
h3 {
|
||||
font-size: 1.1rem;
|
||||
color: var(--text);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.drafts-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.drafts-item {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
background-color: var(--bg2);
|
||||
border: 1px solid var(--border);
|
||||
border-left: 3px solid var(--rhpz-orange);
|
||||
padding: 20px;
|
||||
transition: border-color 0.15s;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--rhpz-orange);
|
||||
}
|
||||
}
|
||||
|
||||
.drafts-cover {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
flex-shrink: 0;
|
||||
background-color: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.drafts-cover-placeholder {
|
||||
color: var(--border);
|
||||
}
|
||||
|
||||
.drafts-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.drafts-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.drafts-title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
margin-bottom: 6px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.drafts-meta {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.drafts-dates {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
text-align: right;
|
||||
font-size: 0.78rem;
|
||||
color: var(--text2);
|
||||
flex-shrink: 0;
|
||||
|
||||
span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.drafts-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.drafts-progress-bar {
|
||||
flex: 1;
|
||||
height: 4px;
|
||||
background-color: var(--bg4);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.drafts-progress-fill {
|
||||
height: 100%;
|
||||
background-color: var(--rhpz-orange);
|
||||
transition: width 0.3s ease;
|
||||
|
||||
.complete {
|
||||
background-color: var(--success);
|
||||
}
|
||||
}
|
||||
.drafts-progress-label {
|
||||
font-size: 0.75rem;
|
||||
color: var(--text2);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.drafts-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
.btn {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user