516 lines
12 KiB
CSS
516 lines
12 KiB
CSS
<?php
|
|
/*
|
|
Licence : AGPL
|
|
Created on : 17.01.2025
|
|
Author : Kristi H. @kmh@friendica.world> feb @feb@loma.ml>
|
|
*/
|
|
?>
|
|
|
|
:root {
|
|
--global-font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif, Noto Color Emoji;
|
|
--nav-bg: <?php echo $nav_bg; ?>;
|
|
--link-color: <?php echo $link_color; ?>;
|
|
--nav-icon-color: <?php echo $nav_icon_color; ?>;
|
|
--background-color: <?php echo $background_color; ?>;
|
|
--contentbg-transp: <?php echo $contentbg_transp; ?>;
|
|
--font-color: <?php echo $font_color; ?>;
|
|
--font-color-darker: <?php echo $font_color_darker; ?>;
|
|
--background-image: <?php echo $background_image; ?>;
|
|
--menu-background-hover-color: <?php echo $menu_background_hover_color; ?>;
|
|
--border-color: <?php echo $border_color; ?>;
|
|
}
|
|
|
|
body {
|
|
background-color: #f2f4f7 !important;
|
|
font-size: 15px !important;
|
|
padding-top: 125px !important;
|
|
}
|
|
|
|
#topbar-first .nav > li > a, #topbar-first .nav > li > button, nav.navbar .nav > li > a, nav.navbar .nav > li > button {
|
|
color: var(--font-color) !important;
|
|
}
|
|
|
|
#topbar-first, nav.navbar {
|
|
background-color: #fff !important;
|
|
top: 0;
|
|
z-index: 1030;
|
|
color: #65686c !important;
|
|
}
|
|
|
|
#topbar-first .topbar-nav .nav-segment {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#topbar-first .nav > li > a:hover:not(.selected) {
|
|
background-color: var(--menu-background-hover-color) !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.fa-lg {
|
|
font-size: 24px !important;
|
|
}
|
|
|
|
#topbar-first .nav > li > a:hover,
|
|
#topbar-first .nav > li > a:focus,
|
|
#topbar-first .nav > li > button:not(#main-menu):hover,
|
|
#topbar-first .nav > li > button:not(#main-menu):focus,
|
|
nav.navbar .nav > li > a:hover,
|
|
nav.navbar .nav > li > a:focus,
|
|
nav.navbar .nav > li > button:hover,
|
|
nav.navbar .nav > li > button:focus {
|
|
background-color: var(--menu-background-hover-color) !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
#topbar-first .nav > li > a.selected {
|
|
border-bottom: 3px solid var(--link-color) !important;
|
|
color: var(--link-color) !important;
|
|
}
|
|
|
|
#topbar-first .nav > li > a.selected:hover,
|
|
#topbar-first .nav > li > #main-menu:hover,
|
|
#topbar-first .nav > li > #main-menu:focus {
|
|
background-color: transparent !important;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.topbar {
|
|
position: fixed;
|
|
display: block;
|
|
height: 50px;
|
|
width: 100%;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
ul.tabs li {
|
|
font-size: 15px !important;
|
|
margin-left: 10px !important;
|
|
}
|
|
|
|
ul.tabs li a {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
ul.tabs li:hover:not(.active) {
|
|
border-bottom-width: 0px !important;
|
|
}
|
|
|
|
ul.tabs li:hover:not(.active) a {
|
|
background-color: var(--menu-background-hover-color) !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
header #banner {
|
|
left: 0 !important;
|
|
right: auto !important;
|
|
}
|
|
|
|
header #banner #logo-img,
|
|
.navbar-brand #logo-img {
|
|
background-color: var(--link-color) !important;
|
|
height: 38px !important;
|
|
width: 38px !important;
|
|
}
|
|
|
|
.topbar ul.nav {
|
|
left: 50% !important;
|
|
margin-left: -25% !important;
|
|
position: relative;
|
|
}
|
|
|
|
#topbar-first .nav > .account img {
|
|
border-radius: 100% !important;
|
|
box-shadow: 0 0 1px rgba(255,255,255,.1) !important;
|
|
height: 40px !important;
|
|
width: 40px !important;
|
|
}
|
|
|
|
#search-box {
|
|
position: fixed !important;
|
|
left: 100px;
|
|
}
|
|
|
|
#topbar-first #search-box .form-search {
|
|
height: 40px !important;
|
|
font-size: 15px;
|
|
background-position: unset;
|
|
}
|
|
|
|
#search-box form > div {
|
|
background-color: #f2f4f7;
|
|
border-radius: 50px;
|
|
}
|
|
|
|
#search-box form > div::before {
|
|
content: '\f002';
|
|
font-family: ForkAwesome;
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 8px;
|
|
}
|
|
|
|
#search-box .form-control.form-search {
|
|
border-radius: 50px !important;
|
|
background: transparent !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
#search-box .form-control::placeholder {
|
|
color: #666 !important;
|
|
}
|
|
|
|
#topbar-first #search-box .btn {
|
|
font-size: 0px !important;
|
|
height: 32px;
|
|
width: 32px;
|
|
top: 2px !important;
|
|
background-color: white !important;
|
|
}
|
|
|
|
#topbar-first #search-box .btn::before {
|
|
content: '\f061';
|
|
font-family: ForkAwesome;
|
|
font-size: 15px;
|
|
color: #666;
|
|
}
|
|
|
|
#nav-user-menu {
|
|
background-color: #fff !important;
|
|
}
|
|
|
|
.nav-pills .dropdown-menu li a, .nav-pills .dropdown-menu li .btn-link, .nav-tabs .dropdown-menu li a, .nav-tabs .dropdown-menu li .btn-link, .account .dropdown-menu li a, .account .dropdown-menu li .btn-link, .contact-photo-wrapper .dropdown-menu li a, .contact-photo-wrapper .dropdown-menu li .btn-link {
|
|
color: var(--font-color) !important;
|
|
border-color: white !important;
|
|
}
|
|
|
|
.nav-pills .dropdown-menu li > a:hover,
|
|
.nav-tabs .dropdown-menu li > a:hover,
|
|
.account .dropdown-menu li > a:hover,
|
|
.contact-photo-wrapper .dropdown-menu li > a:hover,
|
|
.nav-pills .dropdown-menu li.selected a,
|
|
.nav-tabs .dropdown-menu li.selected a,
|
|
.account .dropdown-menu li.selected a,
|
|
.contact-photo-wrapper .dropdown-menu li.selected a {
|
|
color: var(--font-color-darker) !important;
|
|
background: #f2f2f2 !important;
|
|
}
|
|
|
|
.nav-pills .dropdown-menu li.divider, .nav-tabs .dropdown-menu li.divider, .account .dropdown-menu li.divider, .contact-photo-wrapper .dropdown-menu li.divider {
|
|
background-color: var(--nav-bg) !important;
|
|
}
|
|
|
|
#topbar-second {
|
|
height: 60px !important;
|
|
top: 50px;
|
|
background-color: #fff;
|
|
z-index: 1029;
|
|
background-image: none;
|
|
-webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 1px 10px rgba(255, 255, 255, 0.1);
|
|
border-bottom: 1px solid #e1e1e1;
|
|
}
|
|
|
|
header #banner #logo-img, .navbar-brand #logo-img {
|
|
background-color: #0866FF !important;
|
|
height: 40px !important;
|
|
width: 40px !important;
|
|
}
|
|
|
|
#topbar-first .nav > li > a.selected {
|
|
border-bottom: 3px solid #0866FF !important;
|
|
color: #0866FF !important;
|
|
}
|
|
|
|
.btn.btn-primary:hover,
|
|
.btn.btn-primary:focus {
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
#dropdownMenuTools {
|
|
height: 40px;
|
|
width: 40px;
|
|
background-color: rgba(128,128,128,.1) !important;
|
|
border-radius: 100% !important;
|
|
margin-top: 5px !important;
|
|
margin-right: 10px !important;
|
|
}
|
|
|
|
#dropdownMenuTools:hover,
|
|
#dropdownMenuTools:focus {
|
|
background-color: rgba(0,0,0,.1) !important;
|
|
}
|
|
|
|
#jotOpen {
|
|
border-radius: 8px !important;
|
|
color: #0866ff !important;
|
|
background-color: #0866FF !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
#jotOpen:hover, #jotOpen:focus {
|
|
box-shadow: inset 0 0 100px rgba(0,0,0,.1) !important;
|
|
}
|
|
|
|
#jotOpen::before {
|
|
content: 'New Post';
|
|
font-size: 15px;
|
|
margin-right: 10px;
|
|
line-height: 32px;
|
|
position: relative;
|
|
display: inline;
|
|
top: -4px;
|
|
}
|
|
|
|
#jotOpen .fa-pencil-square-o {
|
|
font-size: 32px !important;
|
|
position: relative;
|
|
top: 4px;
|
|
}
|
|
|
|
#topbar-second #nav-short-info {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
Element {
|
|
display: block;
|
|
}
|
|
#back-to-top {
|
|
display: none;
|
|
cursor: pointer;
|
|
color: #d6d7d6;
|
|
position: fixed;
|
|
z-index: 49;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
opacity: 1;
|
|
font-size: 2.9em;
|
|
padding: 0 12px 0 12px;
|
|
border-radius: 10px;
|
|
background-color: #7d7d7d;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
aside .widget,
|
|
.nav-container .widget {
|
|
background-color: var(--background-color) !important;
|
|
-webkit-box-shadow: none !important;
|
|
-moz-box-shadow: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.tread-wrapper {
|
|
box-shadow: 0 0px 1px rgba(0,0,0,.5) !important;
|
|
border-radius: 10px !important;
|
|
}
|
|
|
|
.wall-item-container .media {
|
|
background-color: var(--nav-bg) !important;
|
|
border-radius: 10px !important;
|
|
}
|
|
|
|
.wall-item-container {
|
|
border-top: 1px solid rgb(238, 238, 238);
|
|
}
|
|
|
|
.contact-photo,
|
|
.contact-photo-xs {
|
|
border-radius: 100% !important;
|
|
border: 1px solid var(--border-color) !important;
|
|
}
|
|
|
|
.hover-card-pic img.thumbnail {
|
|
border-radius: 100% !important;
|
|
}
|
|
|
|
#vcard-short-photo-wrapper img, #nav-short-info .contact-wrapper img {
|
|
border-radius: 50px;
|
|
}
|
|
|
|
p.wall-item-announce,
|
|
.media .time, .media .shared-time,
|
|
.media .delivery, .media .location,
|
|
.media .location a {
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.type-link, .type-video {
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
background-color: rgb(240, 242, 245) !important;
|
|
border: 1px solid rgb(208,211,215) !important;
|
|
}
|
|
|
|
.type-link h4, .type-link blockquote, .type-link sup,
|
|
.type-video h4, .type-video blockquote, .type-video sup {
|
|
padding-left: 10px !important;
|
|
padding-right: 10px !important;
|
|
}
|
|
|
|
#profile-photo-wrapper {
|
|
overflow: visible !important;
|
|
padding: 5px;
|
|
background-color: var(--nav-bg);
|
|
border-radius: 100%;
|
|
}
|
|
|
|
aside .vcard img.u-photo, aside img.vcard-photo {
|
|
border-radius: 100% !important;
|
|
box-shadow: 0 0 1px rgba(0,0,0,.3);
|
|
border: 3px solid white;
|
|
}
|
|
|
|
aside .widget h3.p-name {
|
|
font-size: 32px !important;
|
|
text-align: center;
|
|
word-break: break-word;
|
|
}
|
|
|
|
aside .vcard .p-addr {
|
|
font-weight: 600;
|
|
text-align: center;
|
|
white-space: break-spaces !important;
|
|
}
|
|
|
|
aside .widget li.selected {
|
|
background-color: var(--menu-background-hover-color) !important;
|
|
border-color: transparent !important;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
aside .widget li.selected a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
aside .widget li:hover {
|
|
background-color: var(--nav-bg) !important;
|
|
border-color: transparent !important;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
#widget-contacts {
|
|
background-color: var(--nav-bg) !important;
|
|
border-radius: 8px !important;
|
|
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2) !important;
|
|
}
|
|
|
|
.contact-block-img {
|
|
height: 100px !important;
|
|
width: 100px !important;
|
|
border-radius: 8px !important;
|
|
box-shadow: 0 0 1px rgba(0, 0, 0, .2);
|
|
margin: 5px;
|
|
}
|
|
|
|
.comment-fake-form {
|
|
border: none !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.comment-fake-form textarea {
|
|
border-radius: 50px !important;
|
|
}
|
|
|
|
.wall-item-actions button {
|
|
font-size: 20px !important;
|
|
color: var(--font-color) !important;
|
|
}
|
|
|
|
.wall-item-actions button:hover {
|
|
color: var(--link-color) !important;
|
|
}
|
|
|
|
.wall-item-actions .checkbox {
|
|
padding-top: 6px !important;
|
|
}
|
|
|
|
.comment .media-body {
|
|
padding: 10px;
|
|
background-color: var(--background-color);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.wall-item-actions-row .wall-item-emoji {
|
|
font-size: 18px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.navicon {
|
|
font-size: 20px;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
|
|
.img-allocated-max-width {
|
|
margin: 20px auto;
|
|
}
|
|
|
|
@media screen and (max-width: 1280px) {
|
|
#search-box {
|
|
width: 18% !important;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 991px){
|
|
#search-box {
|
|
left: 15%;
|
|
}
|
|
#jotOpen::before {
|
|
content: '';
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px){
|
|
#topbar-first .navbar-toggle[data-target="#search-mobile"]{
|
|
position: fixed !important;
|
|
left: 15%;
|
|
}
|
|
#search-mobile {
|
|
top: 110px !important;
|
|
}
|
|
}
|
|
|
|
/* Modal Styles */
|
|
.modal {
|
|
background-color: rgba(242, 244, 247, 0.5); /* Hintergrundfarbe des Modals mit 50% Transparenz */
|
|
color: #65686C; /* Textfarbe im Modal */
|
|
border: 1px solid #eee; /* Rahmenfarbe des Modals */
|
|
border-radius: 10px; /* Abgerundete Ecken */
|
|
}
|
|
|
|
.modal-header {
|
|
background-color: #f2f4f7; /* Hintergrundfarbe des Modal-Headers */
|
|
color: #65686C; /* Textfarbe im Modal-Header */
|
|
border-bottom: 1px solid #eee; /* Untere Rahmenfarbe des Modal-Headers */
|
|
border-top-left-radius: 10px; /* Abgerundete obere linke Ecke */
|
|
border-top-right-radius: 10px; /* Abgerundete obere rechte Ecke */
|
|
}
|
|
|
|
.modal-footer {
|
|
background-color: #f2f4f7; /* Hintergrundfarbe des Modal-Footers */
|
|
color: #65686C; /* Textfarbe im Modal-Footer */
|
|
border-top: 1px solid #eee; /* Obere Rahmenfarbe des Modal-Footers */
|
|
border-bottom-left-radius: 10px; /* Abgerundete untere linke Ecke */
|
|
border-bottom-right-radius: 10px; /* Abgerundete untere rechte Ecke */
|
|
}
|
|
|
|
/* Composer Styles */
|
|
.composer {
|
|
background-color: #f2f4f7; /* Hintergrundfarbe des Composers */
|
|
color: #65686C; /* Textfarbe im Composer */
|
|
border: 1px solid #eee; /* Rahmenfarbe des Composers */
|
|
}
|
|
|
|
.composer-header {
|
|
background-color: #f2f4f7; /* Hintergrundfarbe des Composer-Headers */
|
|
color: #65686C; /* Textfarbe im Composer-Header */
|
|
border-bottom: 1px solid #eee; /* Untere Rahmenfarbe des Composer-Headers */
|
|
}
|
|
|
|
.composer-footer {
|
|
background-color: #f2f4f7; /* Hintergrundfarbe des Composer-Footers */
|
|
color: #65686C; /* Textfarbe im Composer-Footer */
|
|
border-top: 1px solid #eee; /* Obere Rahmenfarbe des Composer-Footers */
|
|
}
|