wallabag/app/Resources/static/themes/material/css/entries.scss

231 lines
3.5 KiB
SCSS
Raw Normal View History

/* ==========================================================================
* Entries
* ========================================================================== */
2023-05-05 19:05:57 +00:00
.mass-action-toggle {
display: inline-flex;
background-color: transparent;
border: none;
cursor: pointer;
&:focus {
background-color: transparent;
}
}
2023-05-22 19:12:29 +00:00
.mass-action {
2023-08-31 20:26:08 +00:00
margin: 20px 5px 10px 20px;
2023-05-22 19:12:29 +00:00
}
2023-05-22 19:12:29 +00:00
.mass-action-group {
display: flex;
padding: 3px;
2023-08-31 20:04:19 +00:00
align-items: center;
gap: 30px;
2023-05-22 19:12:29 +00:00
}
2023-05-22 19:12:29 +00:00
.mass-action-button {
2023-08-31 20:04:19 +00:00
height: 36px;
line-height: 36px;
padding: 0 0.7rem;
2023-05-22 19:12:29 +00:00
i {
font-size: 1rem;
}
}
2023-09-01 19:54:34 +00:00
.mass-action-button--tags {
border-radius: 2px 0 0 2px;
}
.card-stacked .entry-checkbox {
margin: 10px 15px 10px 5px;
}
.card .entry-checkbox {
position: absolute;
display: flex;
padding: 10px;
inset: 0;
justify-content: flex-end;
align-items: start;
background-color: rgb(0 172 193 / 20%);
cursor: pointer;
z-index: 10;
}
.entries .entry-checkbox-input,
2023-05-22 19:12:29 +00:00
.mass-action .entry-checkbox-input {
position: relative;
width: 20px;
min-height: 25px;
opacity: initial;
cursor: pointer;
z-index: 10;
}
2023-05-22 19:12:29 +00:00
.toggle-checkbox:not(:checked) + .mass-action,
.toggle-checkbox:not(:checked) + .mass-action-tags,
.toggle-checkbox:not(:checked) ~ .entries .entry-checkbox,
.toggle-checkbox:checked ~ .entries .card-preview {
2023-05-05 19:05:57 +00:00
display: none;
}
2023-05-22 19:12:29 +00:00
.mass-action-tags {
display: flex;
2023-08-31 20:04:19 +00:00
margin-top: 10px;
2023-05-22 19:12:29 +00:00
2023-08-31 20:04:19 +00:00
.mass-action-tags-input.mass-action-tags-input {
2023-05-22 19:12:29 +00:00
margin: 0;
2023-09-01 19:54:34 +00:00
padding: 0 5px;
height: 34px;
background: white;
border-bottom: 3px solid #c5ebef;
2023-08-31 20:04:19 +00:00
}
2023-09-01 19:54:34 +00:00
.mass-action-tags-input.mass-action-tags-input.mass-action-tags-input:focus {
border-bottom: 3px solid $blue-accent-color;
box-shadow: none;
2023-05-22 19:12:29 +00:00
}
}
2022-03-13 14:43:36 +00:00
.entries {
list-style: none;
}
2017-05-29 08:59:30 +00:00
.collection {
margin: 5px 15px 0;
padding: 0;
2017-05-29 08:59:30 +00:00
.collection-item {
padding: 7px;
height: 65px;
}
}
.results {
2017-12-04 18:34:46 +00:00
display: flex;
2023-08-31 20:26:08 +00:00
margin-bottom: 10px;
2017-12-04 18:34:46 +00:00
padding: 1rem 1rem 0;
flex-wrap: wrap;
justify-content: space-between;
2023-08-31 20:26:08 +00:00
}
2023-08-31 20:26:08 +00:00
.nb-results {
display: inline-flex;
margin-bottom: 20px;
gap: 30px;
2023-05-05 19:05:57 +00:00
}
2023-05-05 19:05:57 +00:00
.results-item {
color: #444;
}
.pagination {
ul {
2017-12-04 18:34:46 +00:00
display: flex;
margin: 0;
flex-wrap: wrap;
justify-content: space-around;
.prev.disabled,
.next.disabled {
display: none;
}
}
li {
padding: 0;
2021-04-08 13:10:05 +00:00
&:not(.active) a:hover,
&:not(.active) a:active,
&:not(.active) a:focus {
background-color: #e6e6e6;
}
&:not(:last-of-type) {
margin-right: 10px;
}
}
span,
a {
padding: 0 10px;
height: 30px;
display: block;
line-height: 30px;
}
.disabled {
margin-right: 10px;
margin-left: 10px;
}
li.active span {
padding: 0 10px;
height: 30px;
display: block;
color: #fff;
}
}
2017-12-06 21:46:24 +00:00
.footer-text {
margin: 0.7rem 0.5rem;
}
.hidden {
display: none;
}
.picker__date-display {
display: none;
}
footer {
&.page-footer {
margin-top: 10px;
padding-top: 0;
}
.row {
margin-bottom: 10px;
}
}
2023-05-22 19:12:29 +00:00
@media screen and (min-width: 993px) {
2023-08-31 20:26:08 +00:00
.results {
margin-bottom: 0;
}
.nb-results {
margin-bottom: 0;
gap: 0;
}
2023-08-31 20:04:19 +00:00
.mass-action-button {
height: 24px;
line-height: 24px;
padding: 0 0.5rem;
}
.mass-action-group {
gap: 10px;
}
.mass-action-tags {
margin-top: 0;
2023-09-01 19:54:34 +00:00
margin-left: 7px;
2023-08-31 20:04:19 +00:00
flex-wrap: initial;
}
2023-05-22 19:12:29 +00:00
.mass-action {
display: flex;
2023-08-31 20:26:08 +00:00
margin-top: 10px;
2023-05-22 19:12:29 +00:00
align-items: center;
2023-08-31 20:04:19 +00:00
2023-09-01 19:54:34 +00:00
.mass-action-tags-input.mass-action-tags-input {
height: 21px;
2023-08-31 20:04:19 +00:00
}
2023-05-22 19:12:29 +00:00
}
}