mirror of
https://github.com/gapmiss/substack-clipper.git
synced 2026-07-22 07:48:24 +00:00
220 lines
4.3 KiB
CSS
220 lines
4.3 KiB
CSS
.substack-clipper-modal .setting-item {
|
|
border: none;
|
|
padding: var(--size-4-2) 0;
|
|
}
|
|
|
|
.substack-clipper-modal input[type="text"] {
|
|
width: 100%;
|
|
}
|
|
|
|
.substack-clipper-truncate-input {
|
|
width: 60px;
|
|
}
|
|
|
|
.substack-clipper-history-view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
padding: var(--size-4-3);
|
|
gap: var(--size-4-2);
|
|
}
|
|
|
|
.substack-clipper-history-search-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-1);
|
|
min-height: 32px;
|
|
padding: 0 var(--size-4-2);
|
|
background: var(--background-secondary);
|
|
border: var(--input-border-width) solid var(--background-modifier-border);
|
|
border-radius: var(--radius-m);
|
|
}
|
|
|
|
.substack-clipper-history-search-container:focus-within {
|
|
box-shadow: inset 0 0 0 1px var(--background-modifier-border-focus);
|
|
}
|
|
|
|
.substack-clipper-history-search-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
color: var(--text-faint);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.substack-clipper-history-search-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.substack-clipper-history-search {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: var(--size-4-1) 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
outline: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
color: var(--text-normal);
|
|
font-size: var(--font-ui-medium);
|
|
}
|
|
|
|
.substack-clipper-history-search:hover,
|
|
.substack-clipper-history-search:focus,
|
|
.substack-clipper-history-search:focus-visible {
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.substack-clipper-history-view .substack-clipper-history-search-container input[type="text"] {
|
|
border: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.substack-clipper-history-search::placeholder {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.substack-clipper-history-search-clear {
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: var(--text-faint);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
height: 20px;
|
|
width: 20px;
|
|
margin: auto;
|
|
padding: 0;
|
|
}
|
|
|
|
.substack-clipper-history-search-clear:hover {
|
|
color: var(--text-muted);
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.substack-clipper-history-search-clear.is-visible {
|
|
display: flex;
|
|
}
|
|
|
|
.substack-clipper-history-search-clear svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.substack-clipper-history-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
|
|
.substack-clipper-history-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-2);
|
|
padding: var(--size-4-1) var(--size-4-3);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
background: var(--background-secondary);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.substack-clipper-history-count {
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.substack-clipper-history-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--size-4-2);
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
min-height: 44px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.substack-clipper-history-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.substack-clipper-history-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: var(--size-4-1);
|
|
}
|
|
|
|
.substack-clipper-history-title {
|
|
font-weight: var(--font-semibold);
|
|
}
|
|
|
|
.substack-clipper-history-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--size-4-1) var(--size-4-2);
|
|
}
|
|
|
|
.substack-clipper-history-userline {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-1);
|
|
}
|
|
|
|
.substack-clipper-history-username {
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.substack-clipper-history-badge {
|
|
font-size: 11px;
|
|
color: var(--text-on-accent);
|
|
background: var(--interactive-accent);
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 5px;
|
|
border-radius: 10px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.substack-clipper-history-date {
|
|
color: var(--text-faint);
|
|
font-size: var(--font-ui-smaller);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.substack-clipper-history-actions {
|
|
display: flex;
|
|
gap: 0;
|
|
flex-shrink: 0;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.substack-clipper-history-empty {
|
|
padding: var(--size-4-4);
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.substack-clipper-history-view.is-disabled {
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.substack-clipper-history-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
padding-top: var(--size-4-2);
|
|
}
|