1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Bootstrap 5 template tweaks.

This commit is contained in:
Cameron
2022-04-06 14:21:35 -07:00
parent 214fcea1cd
commit 16354b3da0
10 changed files with 40 additions and 41 deletions

View File

@@ -63,6 +63,7 @@ ul.social-buttons li a {
}
}
/*
.list-group-item.active a {
z-index: 2;
@@ -70,6 +71,7 @@ ul.social-buttons li a {
background-color: #007bff;
border-color: #007bff;
}
*/
/* fix for caret bootstrap user nav */
.profile-photo-small {
@@ -89,7 +91,7 @@ ul.social-buttons li a {
@media (min-width: 768px) {
#login-template {
max-width: 500px;
max-width: 800px;
margin-right: auto;
margin-left: auto;
}
@@ -100,14 +102,7 @@ ul.social-buttons li a {
margin-bottom: initial;
}
/* */
.jumbotron {
/* margin-top: 60px;*/
padding: 2rem 1rem;
/* margin-bottom: 2rem;*/
/* background-color: #e9ecef;*/
/* border-radius: .3rem;*/
}
#carousel-hero.carousel {
position: relative;

View File

@@ -39,7 +39,7 @@ if(!defined('e107_INIT'))
{
e107::css('theme', THEME_STYLE);
e107::css('theme', 'style.css'); // always load style.css last.
e107::css('inline', '#carousel-hero.carousel { top: 30px; margin-bottom: 60px; }');
e107::css('inline', '#carousel-hero.carousel { margin-bottom: 80px; }');
}
/**
@@ -114,7 +114,7 @@ if(!defined('e107_INIT'))
{
case 'wmessage':
echo '<div class="jumbotron"><div class="container text-center">';
echo '<div class="p-5"><div class="container text-center">';
if(!empty($caption))
{
echo '<h1 class="display-4">'.$caption.'</h1>';
@@ -180,7 +180,7 @@ if(!defined('e107_INIT'))
case 'splash':
echo '<div class="container justify-content-center text-center my-5" id="'.$mode.'">
<div class="row align-items-center">
<div class="row align-items-center">
<div class="card card-signin col-md-6 offset-md-3 " id="login-template"><div class="card-body">';
if(!empty($caption))

View File

@@ -10,7 +10,7 @@
<plugin name='rss_menu' url='core' />
<plugin name='social' url='core' />
<plugin name='tinymce4' url='core' />
<plugin name='gsitemap' url='core' />
<plugin name='tagcloud' url='core' />
</plugins>
<keywords>
<word>bootstrap</word>
@@ -26,7 +26,6 @@
<library name="animate.css" scope="front" />
</libraries>
<stylesheets>
<css file="style.css" name="Basic" thumbnail='preview_frontend.png' scope='front' />
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/journal/bootstrap.min.css" name="Journal" thumbnail='images/journal.png' scope='front' exclude='bootstrap' />
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/lumen/bootstrap.min.css" name="Lumen" thumbnail='images/lumen.png' scope='front' exclude='bootstrap' />
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/lux/bootstrap.min.css" name="Lux" thumbnail='images/lux.png' scope='front' exclude='bootstrap' />
@@ -34,6 +33,7 @@
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/quartz/bootstrap.min.css" default="true" name="Quartz" thumbnail='images/quartz.png' scope='front' exclude='bootstrap' />
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/slate/bootstrap.min.css" name="Slate" thumbnail='images/slate.png' scope='front' exclude='bootstrap' />
<css file="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.3/superhero/bootstrap.min.css" name="Superhero" thumbnail='images/superhero.png' scope='front' exclude='bootstrap' />
<css file="style.css" name="Legacy" thumbnail='preview_frontend.png' scope='front' />
</stylesheets>
<screenshots>
<image>preview_frontend.png</image>