diff options
Diffstat (limited to 'view/theme')
-rw-r--r-- | view/theme/redbasic/css/style.css | 54 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 8 | ||||
-rw-r--r-- | view/theme/redbasic/php/theme_init.php | 3 |
3 files changed, 32 insertions, 33 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0fc158108..ec8ce42b3 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -781,7 +781,7 @@ nav .acpopup { .shared_header img { border-radius: var(--bs-border-radius); - margin-right: .75rem; + margin-right: .5rem; } .tag1 { @@ -844,28 +844,27 @@ margin-right: 50px; .generic-icons, a .generic-icons { - font-size: 1rem; - margin-right: 0.5rem; + font-size: 1.2rem; } .generic-icons-right { - font-size: 1rem; + font-size: 1.2rem; margin-left: 0.5rem; } .generic-icons-nav { - font-size: 1rem; - margin-right: 7px; + font-size: 1.2rem; + margin-right: 0.5rem; } .admin-icons { - font-size: 1.2em; - margin-right: 7px; + font-size: 1.2rem; + margin-right: 0.5rem; } .drop-icons, a .drop-icons { - font-size: 1rem; + font-size: 1.2rem; text-decoration: none; cursor: pointer; } @@ -895,25 +894,6 @@ a .drop-icons:hover { list-style-type: none; } -table { - border-spacing: 2px; - max-width: 100%; -} - -th,td { - padding: 3px; -} - -#channels > tbody > tr > td, #users > tbody > tr > td { - max-width: 19.4em; - overflow: hidden; -} - -/* mail */ - -img.mail-conv-sender-photo { - border-radius: var(--bs-border-radius); -} /* jot */ @@ -929,6 +909,11 @@ img.mail-conv-sender-photo { font-weight: bold; } +.jot-icons, +.comment-icon { + font-size: 1.2rem; +} + #profile-jot-wrapper { background-color: var(--bs-body-bg); border: 1px solid var(--bs-border-color); @@ -1007,6 +992,19 @@ img.mail-conv-sender-photo { border-top: 1px dashed #adadad; } + +.hide-comments-icon, +.divgrow-showmore-icon { + font-size: $font_size; +} + +.divgrow-showmore-label, +.hide-comments-label { + text-transform: uppercase; + font-size: 0.7rem; +} + + .wall-item-comment-wrapper { padding: 7px 10px; background-color: var(--bs-tertiary-bg); diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 0f2617cc0..76d6c0854 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -29,11 +29,11 @@ $(document).ready(function() { } if (redbasic_dark_mode == 1) { - $('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o'); + $('#theme-switch-icon').removeClass('bi-moon').addClass('bi-sun'); $('[data-bs-theme="light"]').attr('data-bs-theme', 'dark'); } if (redbasic_dark_mode == 0) { - $('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o'); + $('#theme-switch-icon').removeClass('bi-sun').addClass('bi-moon'); $('[data-bs-theme="dark"]:not(nav)').attr('data-bs-theme', 'light'); } @@ -84,12 +84,12 @@ $(document).ready(function() { $('[data-bs-theme="dark"]').attr('data-bs-theme', 'light'); } localStorage.setItem('redbasic_dark_mode', 0); - $('#theme-switch-icon').removeClass('fa-sun-o').addClass('fa-moon-o'); + $('#theme-switch-icon').removeClass('bi-sun').addClass('bi-moon'); } else { $('[data-bs-theme="light"]').attr('data-bs-theme', 'dark'); localStorage.setItem('redbasic_dark_mode', 1); - $('#theme-switch-icon').removeClass('fa-moon-o').addClass('fa-sun-o'); + $('#theme-switch-icon').removeClass('bi-moon').addClass('bi-sun'); } $('meta[name=theme-color]').attr('content', $('nav').css('background-color')); localStorage.setItem('redbasic_theme_color', $('nav').css('background-color')); diff --git a/view/theme/redbasic/php/theme_init.php b/view/theme/redbasic/php/theme_init.php index cffe22de6..c26621068 100644 --- a/view/theme/redbasic/php/theme_init.php +++ b/view/theme/redbasic/php/theme_init.php @@ -3,7 +3,8 @@ use Zotlabs\Lib\Config; require_once('view/php/theme_init.php'); -head_add_css('/library/fork-awesome/css/fork-awesome.min.css'); +head_add_css('/vendor/twbs/bootstrap-icons/font/bootstrap-icons.min.css'); + head_add_css('/library/bootstrap-tagsinput/bootstrap-tagsinput.css'); head_add_css('/library/bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css'); |