Merge pull request 'fresh-0.16' (#143) from KnTHost/streams:fresh-0.16 into dev

Reviewed-on: https://codeberg.org/streams/streams/pulls/143
This commit is contained in:
(streams) 2024-02-03 20:54:59 +00:00
commit b62b7f4a34
13 changed files with 88 additions and 4 deletions

View file

@ -1,6 +1,6 @@
name: Fresh
description: 'A Fresh new look for Streams.'
version: 'Version: 0.14'
version: 'Version: 0.16'
credits: 'Development provided by: <a href="https://www.knthost.com/streams">K&T Host - (www.knthost.com)</a>'
author: 'K&T Host'
maintainer:

1
view/theme/fresh/app/app_order Executable file → Normal file
View file

@ -5,6 +5,7 @@ Photos
Files
Directory
Events
Audience
Access Lists
Settings
Site Admin

View file

@ -0,0 +1,6 @@
version: 1.1
url: $baseurl/audience
requires: local_channel
name: Audience
photo: icon:address-book-o
categories: nav_featured_app, social

0
view/theme/fresh/app/channel.apd Executable file → Normal file
View file

0
view/theme/fresh/app/connections.apd Executable file → Normal file
View file

0
view/theme/fresh/app/directory.apd Executable file → Normal file
View file

0
view/theme/fresh/app/nav_order Executable file → Normal file
View file

0
view/theme/fresh/app/photos.apd Executable file → Normal file
View file

0
view/theme/fresh/app/storage.apd Executable file → Normal file
View file

0
view/theme/fresh/app/stream.apd Executable file → Normal file
View file

View file

@ -1,4 +1,5 @@
/* universal layout */
html {
font-size: $font_size;
}
@ -290,7 +291,7 @@ nav .acpopup {
color: $link_color;
font-size: 0.9rem;
border-radius: $radius;
border-color: $border_color;
border: $border;
box-shadow: $shadow;
--bs-dropdown-link-active-bg: $secondary;
}
@ -300,7 +301,14 @@ nav .acpopup {
}
.wall-item-lock .dropdown-menu {
min-width: 20rem;
padding: 5px;
padding: 10px;
}
.wall-item-lock .dropdown-menu .dropdown-item {
padding: 0;
}
.wall-item-lock .dropdown-menu .dropdown-item:hover {
background: none;
color: $link_color;
}
.menu-img-1, .menu-img-2, .menu-img-3 {
margin-right: 5px;
@ -813,6 +821,12 @@ i.fa-chevron-down,
i.fa-chevron-up {
font-size: 1.4rem;
}
.wall-item-lock .fa {
color: $link_color;
}
.wall-item-lock .fa:hover {
color: $link_hover;
}
.wall-item-tools-left .dropdown-item {
width: max-content;
}
@ -1262,6 +1276,29 @@ img.mail-conv-sender-photo {
}
/* misc items */
.spinner.s, .spinner.m, .spinner.l {
width: 48px;
height: 48px;
border-radius: 50%;
display: inline-block;
border-top: 3px solid $primary;
border-right: 3px solid transparent;
box-sizing: border-box;
animation: rotation 1s linear infinite;
border-bottom: none;
border-left: none;
position: initial;
margin-left: 48%
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
}
.acl-button-hide, .acl-button-show {
float: right;
}
@ -1466,7 +1503,7 @@ img.mail-conv-sender-photo {
--bs-warning-rgb: $warning;
--bs-danger-rgb: $danger;
--bs-light-rgb: $subtle_shade;
--bs-dark-rgb: $contrast_sahde;
--bs-dark-rgb: $contrast_shade;
--bs-font-monospace: "Liberation Mono","Courier New",monospace;
--bs-body-font-size: 0.9rem;
--bs-body-color: $font_color;
@ -1510,4 +1547,13 @@ img.mail-conv-sender-photo {
--bs-danger-border-subtle: #fbeded;
--bs-light-border-subtle: #ccc;
--bs-dark-border-subtle: $contrast_shade;
--bs-btn-border-radius: $radius;
--bs-border-radius-sm: $radius;
--bs-border-radius-lg: $radius;
--bs-border-radius-xl: $radius;
--bs-border-radius-xxl: $radius;
--bs-border-radius-pill: $radius;
--bs-box-shadow: $shadow;
--bs-box-shadow-sm: $shadow;
--bs-box-shadow-lg: $shadow;
}

View file

@ -0,0 +1,23 @@
.navbar {
box-shadow: none;
}
hr {
}
input:active,
input:focus,
select:active,
select:focus,
textarea:focus,
textarea:active { /* changing the blue glow in forms */
box-shadow: $shadow !important;
}
#totp-test-form input {
margin: 0;
}
#totp-test-form input:active,
#totp-test-form input:focus {
border-radius: 0;
border: none !important;
box-shadow: none !important;
background: pink;
}

View file

@ -0,0 +1,8 @@
<?php
if (! $border)
$border = "1px solid #eaeaea";
if (! $radius)
$radius = "none";
if (! $shadow)
$shadow = "none";