This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
cut-publik-theme/static/grandlyon-cut/_fargo.scss

96 lines
1.6 KiB
SCSS

div#user-files {
input[type="submit"] {
display: none;
}
margin: 0 auto 3ex auto;
width: 50%;
@media screen and (max-width: $common-screen-width) {
width: 75%;
td.thumbnail, th.created + th {
display: none;
}
td.title {
text-overflow: ellipsis;
max-width: 1px;
overflow: hidden;
}
}
@media screen and (max-width: $mobile-limit) {
width: auto;
margin: 0 0.5em 3ex 0.5em;
th.size, td.size {
display: none;
}
}
form#send-file {
display: none;
}
tbody tr {
cursor: auto;
&:hover td:first-child {
text-decoration: none;
}
}
div.table-container {
min-width: 0;
width: 100%;
td {
border: 1px solid #dfdfdf;
&.filename, &.created, &.thumbnail, &.title {
width: 100%;
}
&.created {
white-space: nowrap;
}
&.thumbnail img {
width: auto;
max-width: unset;
}
}
tr::before {
border: 1px solid #dfdfdf;
}
a {
font-size: 16px;
}
table {
border: 0;
tr.mime-application::before {
padding: 5px;
}
th, thead tr::before {
border: 0;
background: #d0d0d0;
}
@media screen and (max-width: 570px) {
tr::before, td.thumbnail, th.created, td.created {
display: none;
}
}
}
}
ul.pagination {
border: 0;
background: transparent;
}
}
div#fargo-oauth2-authorize, div#fargo-oauth2-confirm {
margin: 5ex auto 1ex auto;
width: 30em;
select {
width: 90%;
}
label {
display: none;
}
button {
width: 100%;
font-size: 1.4rem;
}
@media screen and (max-width: $mobile-limit) {
width: auto;
margin: 0 0.5em 3ex 0.5em;
}
}