Files
tildes/tildes/scss/modules/_post-buttons.scss
Deimos 9ab8ad56b4 Add license and copyright info to all source files
This follows the REUSE practices to add license and copyright info to
all source files: https://reuse.software/practices/2.0/

In addition, LICENSE.md was switched to a plaintext LICENSE file, to
support the tag-value header as recommended.

Note that files that are closer to configuration than code did not have
headers added. This includes all Salt files, Alembic files, and Python
files such as most __init__.py files that only import other files, since
those are similar to header files which are not considered
copyrightable.
2018-09-04 19:22:11 -06:00

42 lines
767 B
SCSS

// Copyright (c) 2018 Tildes contributors <code@tildes.net>
// SPDX-License-Identifier: AGPL-3.0-or-later
.post-buttons {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
margin: 0;
padding: 0.2rem;
// The buttons don't need to be spaced widely on a desktop
@media (min-width: $size-md) {
justify-content: left;
}
// Combined with flex-wrap: wrap, this should put any form on its own line
form {
min-width: 100%;
}
}
.post-button {
@include min-touch-size;
display: flex;
padding: 0.2rem 0.4rem;
justify-content: center;
align-items: center;
font-weight: bold;
font-size: 0.6rem;
line-height: 0.6rem;
cursor: pointer;
}
.post-button-used {
text-decoration: underline;
}