提交 fd0c4682 编写于 作者: C codecalm

tmp pages, top search

上级 02e05055
......@@ -19,3 +19,5 @@ tmp/
/resources/
/svg-tmp/
/components/
/dist
/demo
{
"name": "tabler-ui",
"name": "tabler",
"version": "v1.0.0-alpha",
"version_short": "v1.0.0-alpha",
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
......@@ -65,6 +65,8 @@
"js/**/*.{js,map}",
"scss/**/*.scss"
],
"style": "dist/css/tabler.css",
"sass": "scss/tabler.scss",
"main": "dist/js/tabler.js",
"homepage": "https://tabler.io",
"devDependencies": {
......
<div class="navbar-search d-none d-lg-block">
<form action="" method="get">
<input type="text" name="q" class="form-control bg-light" placeholder="Search...">
<input type="text" name="q" class="form-control form-control-light" placeholder="Search...">
</form>
</div>
......@@ -5,8 +5,6 @@
{% include_cached layout/navbar-logo.html class="mr-4" %}
{% endif %}
{% include_cached layout/navbar-search.html %}
<ul class="nav navbar-menu align-items-center ml-auto">
<li class="nav-item d-none d-lg-flex mr-3">
<a href="{{ site.github_url }}" class="btn btn-sm btn-success" target="_blank">Source code</a>
......
......@@ -2,6 +2,8 @@
<div class="navbar navbar-expand-lg {% if include.dark %}navbar-dark{% else %}navbar-light{% endif %}">
<div class="container{% if include.fluid %}-fluid{% endif %}">
{% include layout/menu.html top=true %}
{% include_cached layout/navbar-search.html %}
</div>
</div>
</header>
Jekyll::Hooks.register :site, :post_read do |site|
if Jekyll.env == 'production'
site.pages.delete_if do |page|
if page.data['tmp']
true
end
end
end
end
\ No newline at end of file
---
tmp: true
---
temporary page
\ No newline at end of file
---
tmp: true
---
<div class="row">
......
......@@ -8,8 +8,6 @@ $font-family-serif: "Georgia", "Times New Roman", times, serif !default;
$icon-fonts: () !default;
// COLORS
$full-black: rgba(0, 0, 0, 1) !default;
$full-white: rgba(255, 255, 255, 1) !default;
$light-black: rgba(0, 0, 0, .4) !default;
$light-white: rgba(255, 255, 255, .4) !default;
$min-black: rgba(135, 150, 165, .032) !default;
......@@ -78,16 +76,6 @@ $social-colors: (
"tabler": #206bc4
) !default;
$status-colors: (
"primary": $blue,
"secondary": $gray-600,
"success": $green,
"info": $cyan,
"warning": $yellow,
"danger": $red,
"dark": $dark,
) !default;
$colors: (
"blue": $blue,
"azure": $azure,
......@@ -116,7 +104,6 @@ $avatar-sizes: (
//Fonts
$font-size-base: 1rem !default;
$font-weight-base: 400 !default;
$line-height-base: 1.5 !default;
$body-letter-spacing: null !default;
......
......@@ -239,8 +239,8 @@ Sidebar
position: fixed;
z-index: $zindex-fixed;
padding: 0;
background: $white;
box-shadow: inset -1px 0 $border-color-alpha;
background: $sidenav-bg;
box-shadow: inset -1px 0 $sidenav-border-color;
top: 0;
bottom: 0;
display: flex;
......@@ -362,7 +362,7 @@ Sidebar menu
Sidebar dark
*/
.sidebar-dark {
background: $dark;
background: $sidenav-dark-bg;
color: $text-muted;
box-shadow: none;
......
......@@ -10,14 +10,6 @@ textarea {
margin-bottom: .5rem;
}
.mb-2 {
display: block;
&.row {
display: flex;
}
}
.form-control {
vertical-align: middle;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册