Micro theme bug fixes

This commit is contained in:
Diego Najar 2017-10-08 13:56:47 +02:00
parent 92f6cc299e
commit 39d31cd2fb
4 changed files with 28 additions and 46 deletions

View File

@ -62,14 +62,14 @@ h1.site-title {
font-size: 1.2em; font-size: 1.2em;
} }
ul.fixed-pages { ul.static-pages {
font-size: 1em; font-size: 1em;
list-style: none; list-style: none;
margin: 0; margin: 0 0 100px 0;
padding: 0; padding: 0;
} }
ul.fixed-pages a { ul.static-pages a {
color: #777; color: #777;
} }

View File

@ -1447,9 +1447,6 @@ img {
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
@ -3146,9 +3143,6 @@ output {
border-radius: 4px; border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
} }
.form-control:focus { .form-control:focus {
border-color: #e32929; border-color: #e32929;
@ -3977,9 +3971,6 @@ input[type="button"].btn-block {
.fade { .fade {
opacity: 0; opacity: 0;
-webkit-transition: opacity 0.15s linear;
-o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
} }
.fade.in { .fade.in {
opacity: 1; opacity: 1;
@ -4004,12 +3995,6 @@ tbody.collapse.in {
position: relative; position: relative;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
-webkit-transition-property: height, visibility;
transition-property: height, visibility;
-webkit-transition-duration: 0.35s;
transition-duration: 0.35s;
-webkit-transition-timing-function: ease;
transition-timing-function: ease;
} }
.caret { .caret {
@ -5491,9 +5476,6 @@ a.badge:hover, a.badge:focus {
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
-webkit-transition: border 0.2s ease-in-out;
-o-transition: border 0.2s ease-in-out;
transition: border 0.2s ease-in-out;
} }
.thumbnail > img, .thumbnail > img,
.thumbnail a > img { .thumbnail a > img {
@ -5632,9 +5614,6 @@ a.thumbnail.active {
background-color: #e32929; background-color: #e32929;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
-o-transition: width 0.6s ease;
transition: width 0.6s ease;
} }
.progress-striped .progress-bar, .progress-striped .progress-bar,
@ -7328,11 +7307,6 @@ body {
color: #868f90; color: #868f90;
} }
a {
-webkit-transition: 0.5s;
-o-transition: 0.5s;
transition: 0.5s;
}
a:hover, a:active, a:focus { a:hover, a:active, a:focus {
outline: none; outline: none;
} }

View File

@ -9,34 +9,42 @@
<body> <body>
<div id="fh5co-main"> <div id="fh5co-main">
<div id="fh5co-content">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-3">
<div class="row">
<div class="col-md-2">
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
</div>
<div id="fh5co-content"> <div class="col-md-6">
<div class="container"> <?php include(THEME_DIR_PHP.'home.php') ?>
<div class="row">
<div class="col-md-8 col-md-offset-3">
<div class="row">
<div class="col-md-2">
<?php include(THEME_DIR_PHP.'sidebar.php') ?>
</div>
<div class="col-md-6">
<?php include(THEME_DIR_PHP.'home.php') ?>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
<footer id="fh5co-footer"> <footer id="fh5co-footer">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1 text-center"> <div class="col-md-10 col-md-offset-1 text-center">
<p><?php echo $Site->footer() ?><br>Powered by <a href="https://www.bludit.com" target="_blank">BLUDIT</a></p> <p>
<?php echo $Site->footer() ?>
<br>
Powered by <a href="https://www.bludit.com" target="_blank">BLUDIT</a>
<?php
if (pluginEnabled('RSS')) {
echo ' - <a href="'.Theme::rssUrl().'" target="_blank">RSS</a>';
}
if (pluginEnabled('Sitemap')) {
echo ' - <a href="'.Theme::sitemapUrl().'" target="_blank">Sitemap</a>';
}
?>
</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
</a> </a>
</h1> </h1>
<ul class="fixed-pages"> <ul class="static-pages">
<?php <?php
$staticPages = $dbPages->getStaticDB(); $staticPages = $dbPages->getStaticDB();
$staticPagesKeyList = array_keys($staticPages); $staticPagesKeyList = array_keys($staticPages);