mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 22:15:15 +00:00
Fresh 0.16
- Correctly add the Flat schema and audience app.
This commit is contained in:
parent
b48109643e
commit
b335beb9c6
3 changed files with 65 additions and 0 deletions
6
view/theme/fresh/app/audience.apd
Normal file
6
view/theme/fresh/app/audience.apd
Normal 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
|
23
view/theme/fresh/schema/Flat.css
Normal file
23
view/theme/fresh/schema/Flat.css
Normal 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;
|
||||
}
|
36
view/theme/fresh/schema/Flat.php
Normal file
36
view/theme/fresh/schema/Flat.php
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?php
|
||||
|
||||
if (! $border)
|
||||
$border = "1px solid #eaeaea";
|
||||
if (! $radius)
|
||||
$radius = "none";
|
||||
if (! $shadow)
|
||||
$shadow = "none";
|
||||
|
||||
// $banner_color = get_pconfig($uid, 'fresh', 'banner_color');
|
||||
// $narrow_navbar = get_pconfig($uid, 'fresh', 'narrow_navbar');
|
||||
// $link_color = get_pconfig($uid, 'fresh', 'link_color');
|
||||
// $link_hover = get_pconfig($uid, 'fresh', 'link_hover');
|
||||
// $schema = get_pconfig($uid, 'fresh', 'schema');
|
||||
// $bgcolor = get_pconfig($uid, 'fresh', 'background_color');
|
||||
// $overlaybg = get_pconfig($uid, 'fresh', 'overlay_background_color');
|
||||
// $subtle_shade = get_pconfig($uid, 'fresh', 'subtle_shade');
|
||||
// $mid_shade = get_pconfig($uid, 'fresh', 'mid_shade');
|
||||
// $contrast_shade = get_pconfig($uid, 'fresh', 'contrast_shade');
|
||||
// $background_image = get_pconfig($uid, 'fresh', 'background_image');
|
||||
// $font_size = get_pconfig($uid, 'fresh', 'font_size');
|
||||
// $font_color = get_pconfig($uid, 'fresh', 'font_color');
|
||||
// $font_contrast_color = get_pconfig($uid, 'fresh', 'font_contrast_color');
|
||||
// $primary = get_pconfig($uid, 'fresh', 'primary');
|
||||
// $secondary = get_pconfig($uid, 'fresh', 'secondary');
|
||||
// $action = get_pconfig($uid, 'fresh', 'action');
|
||||
// $success = get_pconfig($uid, 'fresh', 'success');
|
||||
// $warning = get_pconfig($uid, 'fresh', 'warning');
|
||||
// $danger = get_pconfig($uid, 'fresh', 'danger');
|
||||
// $border = get_pconfig($uid, 'fresh', 'border');
|
||||
// $radius = get_pconfig($uid, 'fresh', 'radius');
|
||||
// $shadow = get_pconfig($uid, 'fresh', 'photo_shadow');
|
||||
// $converse_width = get_pconfig($uid, 'fresh', 'converse_width');
|
||||
// $top_photo = get_pconfig($uid, 'fresh', 'top_photo');
|
||||
// $reply_photo = get_pconfig($uid, 'fresh', 'reply_photo');
|
||||
|
Loading…
Reference in a new issue