pyfedi/app/static/styles.scss

221 lines
3.3 KiB
SCSS
Raw Normal View History

2023-08-22 21:24:11 +12:00
/* */
@import "scss/colours";
@import "scss/mixins";
@import "scss/typography";
@import "scss/controls";
body {
font-size: 0.9rem;
background-color: #fbfdfe;
color: #495057;
}
nav.navbar {
background-color: #fff!important;
border-bottom: 1px solid rgba(0, 40, 100, 0.12);
min-height: 60px;
}
2023-10-28 21:33:40 +13:00
.navbar-brand {
img {
margin-right: 20px;
}
}
.navbar-light .navbar-nav .nav-link {
color: rgba(0,0,0,.8);
outline-style: none;
}
.navbar-light .navbar-toggler-icon {
background-image: url(https://www.chorebuster.net/images/menu.svg);
}
.dropdown.active {
background-color: $primary-colour;
}
.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: $primary-colour;
}
}
.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;
@include breakpoint(tablet) {
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 $light-grey;
border-radius: 5px;
background-color: white;
padding-top: 8px;
padding-bottom: 12px;
}
.community_icon {
width: 30px;
height: auto;
}
.community_icon_big {
width: 120px;
height: auto;
}
.bump_up {
position: absolute;
top: 104px;
left: 26px;
}
.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 $light-grey;
border-radius: 5px;
padding: 0 20px;
}
.coolfieldset.collapsed{
border:0;
border-top:1px solid $grey;
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 {
color: $grey;
font-size: 73%;
a {
color: $dark-grey;
}
2023-11-09 22:44:09 +13:00
}
.comment_author {
a {
font-weight: bold;
}
}
.low_score {
.hide_button, .comment_author {
a {
font-weight: normal;
color: $dark-grey;
}
}
2023-11-12 20:54:11 +13:00
}
.communities_table tr td {
vertical-align: middle;
padding-top: 6px;
&:first-child {
padding-top: 8px;
}
}
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;
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-11-12 20:54:11 +13:00
@media (prefers-color-scheme: dark) {
body {
background-color: $dark-grey;
}
nav.navbar {
background-color: #eee!important;
}
.main_pane, .card {
background-color: #eee;
}
2023-10-15 21:13:32 +13:00
}