pyfedi/app/static/styles.css

865 lines
13 KiB
CSS
Raw Normal View History

2023-08-22 21:24:11 +12:00
/* */
2023-12-27 11:00:30 +13:00
.red {
color: red;
}
.orangered {
color: orangered;
}
.pl-0 {
padding-left: 0 !important;
}
2023-12-31 12:09:20 +13:00
.pl-1 {
padding-left: 5px !important;
}
.pl-2 {
padding-left: 10px !important;
}
.pl-3 {
padding-left: 15px !important;
}
.pl-4 {
padding-left: 20px !important;
}
/* for more info about the feather font used for icons see https://at-ui.github.io/feather-font/ */
/* use https://fontdrop.info/ to get the unicode values of the featuer.ttf file */
@font-face {
font-family: "Feather";
src: url("/static/fonts/feather/feather.ttf?cb") format("truetype"), url("/static/fonts/feather/feather.woff?cb") format("woff"), url("/static/fonts/feather/feather.svg?cb#Feather") format("svg");
font-weight: normal;
font-style: normal;
}
.fe {
font-family: "Feather" !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.dropdown-item .fe {
padding-right: 5px;
}
.fe-subscription::before {
content: "\e9b9";
}
.fe-logout::before {
content: "\e988";
}
.fe-fb::before {
content: "\e95e";
}
.fe-close::before {
content: "\ea03";
}
.fe-external::before {
content: "\e95b";
}
.fe-circle::before {
content: "\e937";
}
2024-01-12 17:15:08 +13:00
.fe-home::before {
content: "\e979";
}
.fe-popular::before {
content: "\e9e6";
}
.fe-all::before {
content: "\e986";
}
.fe-activity::before {
content: "\e900";
}
.fe-copy::before {
content: "\e944";
}
.fe-edit::before {
content: "\e958";
}
.fe-plus::before {
content: "\e9b1";
}
.fe-wind::before {
content: "\ea01";
}
.fe-refresh-cw::before {
content: "\e9b9";
}
.fe-x-circle::before {
content: "\ea03";
}
.fe-printer::before {
content: "\e9b6";
}
.fe-search::before {
content: "\e9c1";
}
.fe-check::before {
content: "\e92b";
}
.fe-user::before {
content: "\e9f1";
}
.fe-heart::before {
content: "\e977";
}
.fe-message-circle::before {
content: "\e990";
}
.fe-settings::before {
content: "\e9c4";
}
.fe-calendar::before {
content: "\e927";
}
.fe-facebook::before {
content: "\e95e";
}
.fe-share::before {
content: "\e9c2";
}
.fe-chevron-up::before {
content: "\e931";
}
.fe-chevron-down::before {
content: "\e92e";
}
.fe-feather::before {
content: "\e960";
}
.fe-mobile::before {
content: "\e9d2";
}
.fe-loader::before {
content: "\e986";
}
.fe-sun::before {
content: "\e9d7";
}
2023-12-27 11:00:30 +13:00
.fe-warning::before {
content: "\e904";
}
2023-10-10 22:25:37 +13:00
.fe-arrow-up::before {
content: "\e914";
}
.fe-arrow-down::before {
content: "\e90c";
}
.fe-reply {
position: relative;
2023-11-09 21:32:29 +13:00
top: 1px;
}
.fe-reply::before {
2023-11-09 21:32:29 +13:00
content: "\e990";
}
2024-03-31 02:13:49 +01:00
.fe-layers {
position: relative;
top: 1px;
}
.fe-layers::before {
content: "\e97f";
}
.fe-report::before {
content: "\e967";
}
.fe-angles-down::before {
content: "\e932";
}
.fe-angles-up::before {
content: "\e935";
}
.fe-options::before {
content: "\e99b";
}
.fe-edit::before {
content: "\e95a";
}
.fe-delete::before {
content: "\ea03";
}
2023-12-14 21:22:46 +13:00
.fe-mea-culpa::before {
content: "\e997";
}
.fe-block::before {
content: "\ea04";
}
2023-11-30 05:27:00 +13:00
.fe-report::before {
content: "\e967";
}
2024-01-07 12:47:06 +13:00
.fe-bell, .fe-no-bell {
2024-01-06 11:01:44 +13:00
position: relative;
top: 1px;
}
2023-11-30 23:21:37 +13:00
.fe-bell::before {
content: "\e91e";
}
2024-01-07 12:47:06 +13:00
.fe-no-bell::before {
content: "\e91f";
}
.fe-sun::before {
content: "\e9d7";
}
.fe-moon::before {
content: "\e99a";
}
.fe-collapse::before {
content: "\e995";
}
.fe-expand::before {
content: "\e98e";
}
2024-01-07 12:47:06 +13:00
h1 .fe-bell, h1 .fe-no-bell {
font-size: 18px;
top: -5px;
left: 17px;
}
.fe-magnify {
position: relative;
top: 1px;
}
.fe-magnify::before {
content: "\ea08";
}
.imageVisible .fe-magnify::before {
content: "\ea09";
}
2023-12-12 18:28:49 +13:00
.fe-rss::before {
content: "\e9be";
}
2023-11-30 05:27:00 +13:00
.fe-image {
position: relative;
top: 2px;
}
.fe-image:before {
2023-11-30 05:14:22 +13:00
content: "\e97a";
}
.fe-new-account {
position: relative;
top: 1px;
}
.fe-new-account:before {
content: "\e986";
2023-11-27 22:05:35 +13:00
}
2024-03-20 10:45:26 +00:00
.fe-bot-account {
position: relative;
top: 1px;
}
.fe-bot-account:before {
content: "\e94d";
}
2023-11-30 05:27:00 +13:00
.fe-video {
position: relative;
top: 2px;
left: 1px;
}
.fe-video:before {
content: "\ea05";
}
2024-02-25 15:55:27 +13:00
.fe-audio {
position: relative;
top: 1px;
left: 0;
}
.fe-audio:before {
content: "\e9fc";
}
2023-11-30 05:27:00 +13:00
.fe-poll {
position: relative;
top: 2px;
left: 1px;
}
.fe-poll:before {
content: "\e91b";
/* possibly e985 */
}
.fe-sticky-left::before {
position: relative;
top: 2px;
content: "\e934";
}
.fe-sticky-right::before {
position: relative;
top: 2px;
content: "\e933";
}
a.no-underline {
text-decoration: none;
}
a.no-underline:hover {
text-decoration: none;
}
.small, small {
font-size: 87%;
}
fieldset legend {
font-size: inherit;
}
.form-check-input {
margin-top: 0;
}
.form-group {
display: block;
}
.form-group .text-nowrap input[type=number], .form-group .form-check-inline input[type=number], .form-group .fix-radio-align input[type=number] {
vertical-align: inherit;
}
.form-control-label {
display: block;
margin-bottom: 0.375rem;
font-weight: 600;
}
.form-control {
display: block;
width: 100%;
padding: 0.375rem 0.75rem;
font-size: 0.9375rem;
line-height: 1.6;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 40, 100, 0.12);
border-radius: 3px;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
color: #495057;
background-color: #fff;
border-color: #1991eb;
outline: 0;
box-shadow: 0 0 0 2px rgba(70, 127, 207, 0.25);
}
.btn-secondary {
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.btn-secondary:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.table-striped tbody tr .current_sort,
.table-striped thead th.current_sort {
background-color: #f0f0f2;
}
.table-striped tbody tr:nth-of-type(2n+1) .current_sort {
background-color: #d8e5ee;
}
html, body {
overscroll-behavior-x: none;
}
body {
font-size: 0.95rem;
}
2024-01-26 09:37:05 +13:00
a {
text-decoration: none;
border: solid 2px transparent;
}
#outer_container a:not(.btn):hover, footer a:not(.btn):hover {
text-decoration: underline;
}
2024-01-26 09:51:48 +13:00
#outer_container a:not(.btn):has(span.fe):hover, footer a:not(.btn):has(span.fe):hover {
/* do not have underlines on icons */
text-decoration: none;
}
2024-01-26 09:37:05 +13:00
#outer_container a:not(.btn):active, footer a:not(.btn):active {
border: dotted 2px #0A5CA0;
}
2024-01-23 19:17:05 +13:00
div.navbar {
border-bottom: 1px solid rgba(0, 40, 100, 0.12);
min-height: 60px;
2024-02-23 18:41:15 +13:00
background-color: var(--bs-body-bg);
}
2024-02-08 17:30:27 +13:00
.navbar-brand {
line-height: 46px;
}
2023-10-28 21:33:40 +13:00
.navbar-brand img {
margin-right: 20px;
}
.navbar-light .navbar-nav .nav-link {
outline-style: none;
}
2023-12-24 17:41:34 +13:00
.navbar-toggler {
border: none;
height: 48px;
}
.navbar-light .navbar-toggler-icon {
2023-12-24 17:41:34 +13:00
background-image: url(/static/images/menu.svg);
width: 35px;
height: 40px;
background-position: top;
}
.dropdown.active {
background-color: #0071CE;
}
.navbar-light .navbar-nav .active > .nav-link {
color: white;
opacity: 0.9;
}
2023-09-17 21:19:51 +12:00
.tab-content > .tab-pane {
border-right: solid 1px #dee2e6;
border-bottom: solid 1px #dee2e6;
border-left: solid 1px #dee2e6;
border-radius: 0 0 5px 5px;
padding: 10px 15px 0 15px;
}
.dropdown-menu .dropdown-item.active {
background-color: #0071CE;
}
2023-12-22 14:05:39 +13:00
#outer_container {
2024-03-01 20:32:29 +13:00
margin-top: -1px;
2023-12-22 14:05:39 +13:00
}
@media (min-width: 992px) {
#outer_container {
margin-top: 1rem;
padding-top: 0.25rem;
}
}
.card-title {
font-size: 140%;
}
2023-11-12 20:54:11 +13:00
.card-header h2 {
margin-bottom: 5px;
}
.alert-info, .alert-message, .alert-error {
color: #0c5460;
background-color: #d1ecf1;
border-color: #bee5eb;
}
@media (min-width: 992px) {
.alert-info, .alert-message, .alert-error {
padding-left: 1.8rem;
padding-right: 1.8rem;
}
}
.alert-error {
color: #722047;
background-color: #f8d7da;
}
2023-11-09 21:32:29 +13:00
.main_pane {
border: solid 1px #ddd;
border-radius: 5px;
padding-top: 8px;
padding-bottom: 12px;
}
2023-12-22 14:05:39 +13:00
.main_pane .url_thumbnail {
width: 120px;
height: auto;
}
.main_pane .url_thumbnail img {
width: 100%;
2023-12-27 19:51:07 +13:00
height: auto;
2023-12-22 14:05:39 +13:00
}
[data-bs-theme=dark] .main_pane {
border-color: #424549;
}
.community_icon {
2023-12-22 14:05:39 +13:00
width: 20vw;
height: 20vw;
max-width: 30px;
max-height: 30px;
min-width: 20px;
min-height: 20px;
vertical-align: text-top;
}
2024-01-05 16:41:50 +13:00
.list-group-item .community_icon {
vertical-align: middle;
}
.community_icon_big {
2023-12-22 14:05:39 +13:00
width: 20vw;
height: 20vw;
max-width: 120px;
max-height: 120px;
min-width: 80px;
min-height: 80px;
object-fit: cover;
}
.bump_up {
position: absolute;
2023-12-22 14:05:39 +13:00
top: 115px;
left: 26px;
}
2023-08-22 21:24:11 +12:00
.external_link_icon {
width: 12px;
height: 12px;
margin-left: 4px;
margin-bottom: 3px;
}
2023-10-15 21:13:32 +13:00
.coolfieldset, .coolfieldset.expanded {
border: 1px solid #ddd;
border-radius: 5px;
padding: 0 20px;
}
.coolfieldset.collapsed {
border: 0;
border-top: 1px solid #bbb;
border-radius: 0;
}
.coolfieldset legend {
padding-left: 13px;
font-weight: bold;
cursor: pointer;
background-color: white;
display: block;
position: relative;
top: -11px;
}
.coolfieldset legend, .coolfieldset.expanded legend {
background: whitesmoke url(/static/images/expanded.gif) no-repeat center left;
}
.coolfieldset.collapsed legend {
background: whitesmoke url(/static/images/collapsed.gif) no-repeat center left;
}
2023-10-23 22:54:11 +13:00
.domain_link {
2024-01-23 19:17:05 +13:00
color: #777;
2023-10-23 22:54:11 +13:00
font-size: 73%;
}
.domain_link a {
color: #777;
2023-11-09 22:44:09 +13:00
}
.low_score .hide_button a, .low_score .comment_author a {
font-weight: normal;
color: #777;
}
.communities_table tr td {
vertical-align: middle;
padding-top: 6px;
}
.communities_table tr td:first-child {
padding-top: 8px;
}
2024-01-26 16:19:06 +13:00
.table tbody tr th a {
font-weight: normal;
}
2023-11-27 22:05:35 +13:00
.text-right {
text-align: right;
}
2023-11-30 17:39:13 +13:00
#timeSpent {
cursor: wait;
}
.option_list {
list-style-type: none;
margin-bottom: 0;
}
.option_list li {
margin-bottom: 15px;
}
.field_hint {
margin-top: -15px;
display: block;
margin-bottom: 10px;
}
.post_options_link {
display: block;
position: absolute;
bottom: 0;
right: -2px;
width: 41px;
text-decoration: none;
}
2023-12-28 20:00:07 +13:00
.comment_actions_link {
display: block;
position: absolute;
bottom: 0;
2024-01-17 18:46:03 +13:00
right: -16px;
2023-12-28 20:00:07 +13:00
width: 41px;
text-decoration: none;
}
.alert {
width: 96%;
}
.reported {
background-color: antiquewhite;
}
2024-01-12 17:15:08 +13:00
.dropdown-header {
color: black;
}
2024-01-21 12:14:05 +13:00
.current_post {
background-color: aliceblue;
}
.current_post .replies {
background-color: var(--bs-body-bg);
}
[data-bs-theme=dark] .current_post {
background-color: #424549;
}
@media (min-width: 992px) {
.h1, h1 {
font-size: 2rem;
2024-01-06 11:31:45 +13:00
}
}
2024-01-06 11:31:45 +13:00
@media (min-width: 992px) {
.h2, h2 {
font-size: 1.8rem;
2024-01-06 11:31:45 +13:00
}
}
2024-01-06 11:31:45 +13:00
@media (min-width: 992px) {
.h3, h3 {
font-size: 1.6rem;
2024-01-06 11:31:45 +13:00
}
2023-11-12 20:54:11 +13:00
}
2024-02-17 20:05:57 +13:00
.sender_list {
border-right: solid 1px #ddd;
}
.message {
border: solid 1px #ddd;
border-radius: 5px;
padding: 8px 15px 0 15px;
}
.message.from_other_party {
float: right;
}
.message.from_me {
color: var(--bs-card-cap-color);
background-color: var(--bs-card-cap-bg);
}
2024-03-09 14:59:05 +13:00
#subtopic_nav {
position: relative;
left: -15px;
}
#subtopic_nav li a {
border: dotted 2px transparent;
}
2024-02-17 20:05:57 +13:00
/* high contrast */
@media (prefers-contrast: more) {
:root {
--bs-link-color: black;
--bs-link-color-rgb: black;
--bs-link-hover-color-rgb: #333;
}
[data-bs-theme=dark] {
--bs-body-bg: black;
--bs-link-color: white;
--bs-link-color-rgb: white;
--bs-link-hover-color-rgb: #eee;
--bs-heading-color: white;
--bs-body-color: white;
--bs-body-color-rgb: white;
}
.btn-primary {
--bs-btn-bg: black;
--bs-btn-border-color: black;
--bs-btn-hover-bg: #333;
}
[data-bs-theme=dark] .btn-primary {
--bs-btn-bg: white;
--bs-btn-border-color: white;
--bs-btn-hover-bg: white;
--bs-btn-color: black;
}
[data-bs-theme=dark] .btn-primary:hover {
--bs-btn-hover-color: black;
}
.btn-outline-secondary {
--bs-btn-color: black;
}
[data-bs-theme=dark] .btn-outline-secondary {
--bs-btn-color: white;
}
.post_list .post_teaser {
border-bottom: solid 1px black;
}
[data-bs-theme=dark] .post_list .post_teaser {
border-bottom: solid 1px white;
}
.domain_link, .domain_link a {
color: black;
}
[data-bs-theme=dark] .domain_link, [data-bs-theme=dark] .domain_link a {
color: ghostwhite;
}
.main_pane, .voting_buttons div {
border: solid 1px #333;
}
[data-bs-theme=dark] .main_pane, [data-bs-theme=dark] .voting_buttons div {
border: solid 1px #eee;
}
div.navbar {
border-bottom: solid 1px #333;
}
[data-bs-theme=dark] div.navbar {
border-bottom: solid 1px #fff;
}
.nav-link {
color: black;
}
[data-bs-theme=dark] .nav-link {
color: white;
}
.card {
--bs-card-border-color: #333;
}
[data-bs-theme=dark] .card {
--bs-card-border-color: #fff;
}
.coolfieldset.collapsed legend, .coolfieldset legend, .coolfieldset.expanded legend {
background-color: white;
}
[data-bs-theme=dark] .coolfieldset.collapsed legend, [data-bs-theme=dark] .coolfieldset legend, [data-bs-theme=dark] .coolfieldset.expanded legend {
background-color: black;
}
}
2023-08-22 21:24:11 +12:00
/*# sourceMappingURL=styles.css.map */