mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
tmp pages, top search
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -19,3 +19,5 @@ tmp/
|
||||
/resources/
|
||||
/svg-tmp/
|
||||
/components/
|
||||
/dist
|
||||
/demo
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"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": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<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>
|
||||
|
||||
9
pages/_plugins/jekyll-tmp.rb
Normal file
9
pages/_plugins/jekyll-tmp.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
5
pages/tmp-forms.html
Normal file
5
pages/tmp-forms.html
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
tmp: true
|
||||
---
|
||||
|
||||
temporary page
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user