mirror of
https://github.com/tabler/tabler.git
synced 2026-08-14 07:12:22 +04:00
page header fixes
This commit is contained in:
@@ -7,8 +7,9 @@
|
|||||||
{% assign actions = page.page-header-actions | default: layout.page-header-actions %}
|
{% assign actions = page.page-header-actions | default: layout.page-header-actions %}
|
||||||
{% assign pretitle = page.page-header-pretitle | default: layout.page-header-pretitle %}
|
{% assign pretitle = page.page-header-pretitle | default: layout.page-header-pretitle %}
|
||||||
{% assign class = page.page-header-class | default: layout.page-header-class %}
|
{% assign class = page.page-header-class | default: layout.page-header-class %}
|
||||||
|
{% assign icon = page.page-header-icon | default: layout.page-header-icon %}
|
||||||
|
|
||||||
{% include layout/page-header.html title=page-header description=description actions=actions pretitle=pretitle class=class %}
|
{% include layout/page-header.html title=page-header description=description actions=actions pretitle=pretitle icon=icon class=class %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="page-title">
|
<h2 class="page-title">
|
||||||
|
{% if include.icon %}
|
||||||
|
{% include ui/icon.html icon=include.icon %}
|
||||||
|
{% endif %}
|
||||||
{{ include.title }}
|
{{ include.title }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,5 @@ layout-navbar-hide-brand: true
|
|||||||
layout-navbar-hide-menu: true
|
layout-navbar-hide-menu: true
|
||||||
layout-navbar-class: "d-none d-lg-flex"
|
layout-navbar-class: "d-none d-lg-flex"
|
||||||
layout-navbar-condensed: true
|
layout-navbar-condensed: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -3,7 +3,5 @@ page-header: Condensed dark layout
|
|||||||
menu: layout.condensed-dark
|
menu: layout.condensed-dark
|
||||||
layout-navbar-condensed: true
|
layout-navbar-condensed: true
|
||||||
layout-navbar-dark: true
|
layout-navbar-dark: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -2,7 +2,5 @@
|
|||||||
page-header: Condensed layout
|
page-header: Condensed layout
|
||||||
menu: layout.condensed
|
menu: layout.condensed
|
||||||
layout-navbar-condensed: true
|
layout-navbar-condensed: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -2,7 +2,5 @@
|
|||||||
page-header: Dark mode
|
page-header: Dark mode
|
||||||
menu: layout.dark-mode
|
menu: layout.dark-mode
|
||||||
layout-dark: true
|
layout-dark: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
|
|||||||
@@ -5,7 +5,5 @@ layout-fluid: true
|
|||||||
layout-sidebar: true
|
layout-sidebar: true
|
||||||
layout-sidebar-dark: true
|
layout-sidebar-dark: true
|
||||||
layout-hide-topbar: true
|
layout-hide-topbar: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
|
|||||||
@@ -2,7 +2,5 @@
|
|||||||
page-header: Fluid layout
|
page-header: Fluid layout
|
||||||
menu: layout.fluid
|
menu: layout.fluid
|
||||||
layout-fluid: true
|
layout-fluid: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
|
|||||||
@@ -2,6 +2,5 @@
|
|||||||
page-header: Horizontal layout
|
page-header: Horizontal layout
|
||||||
menu: layout.horizontal
|
menu: layout.horizontal
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
||||||
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -2,7 +2,5 @@
|
|||||||
page-header: Navbar dark
|
page-header: Navbar dark
|
||||||
menu: layout.navbar-dark
|
menu: layout.navbar-dark
|
||||||
layout-navbar-dark: true
|
layout-navbar-dark: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -5,7 +5,5 @@ layout-navbar-overlap: true
|
|||||||
layout-navbar-condensed: true
|
layout-navbar-condensed: true
|
||||||
layout-navbar-dark: true
|
layout-navbar-dark: true
|
||||||
page-header-class: text-white
|
page-header-class: text-white
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
page-header: RTL mode
|
||||||
menu: home
|
menu: home
|
||||||
rtl: true
|
rtl: true
|
||||||
layout: homepage
|
|
||||||
title: RTL mode
|
title: RTL mode
|
||||||
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
|
|||||||
@@ -4,7 +4,5 @@ menu: layout.vertical-right
|
|||||||
layout-sidebar: true
|
layout-sidebar: true
|
||||||
layout-sidebar-right: true
|
layout-sidebar-right: true
|
||||||
layout-hide-topbar: true
|
layout-hide-topbar: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -4,7 +4,5 @@ menu: layout.vertical
|
|||||||
layout-sidebar: true
|
layout-sidebar: true
|
||||||
layout-sidebar-dark: true
|
layout-sidebar-dark: true
|
||||||
layout-hide-topbar: true
|
layout-hide-topbar: true
|
||||||
libs: jquery, apexcharts, peity, jqvmap, jqvmap-world
|
layout: homepage
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include layout/homepage.html %}
|
|
||||||
@@ -77,7 +77,7 @@ $light: #f5f7fb !default;
|
|||||||
$dark: #354052 !default;
|
$dark: #354052 !default;
|
||||||
|
|
||||||
$body-bg: $light !default;
|
$body-bg: $light !default;
|
||||||
$body-color: #252f3f !default;
|
$body-color: $dark !default;
|
||||||
|
|
||||||
$color-contrast-dark: $dark !default;
|
$color-contrast-dark: $dark !default;
|
||||||
$color-contrast-light: $light !default;
|
$color-contrast-light: $light !default;
|
||||||
|
|||||||
@@ -43,4 +43,12 @@
|
|||||||
line-height: $h2-line-height;
|
line-height: $h2-line-height;
|
||||||
font-weight: $font-weight-medium;
|
font-weight: $font-weight-medium;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
margin-inline-end: .25rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: inherit;
|
color: $body-color;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
border-color: $border-color-dark-transparent;
|
border-color: $border-color-dark-transparent;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: inherit;
|
color: $body-color;
|
||||||
border-color: $text-muted-light;
|
border-color: $text-muted-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,8 +24,8 @@
|
|||||||
svg {
|
svg {
|
||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
margin: 0 .5rem 0;
|
margin: 0 .25rem 0;
|
||||||
margin-inline-start: -.25rem;
|
margin-inline-start: -.5rem;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,13 +33,13 @@
|
|||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
margin: 0 .5rem 0;
|
margin: 0 .25rem 0;
|
||||||
margin-inline-start: -.25rem;
|
margin-inline-start: -.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-right {
|
.icon-right {
|
||||||
margin: 0 .5rem 0;
|
margin: 0 .25rem 0;
|
||||||
margin-inline-end: -.25rem;
|
margin-inline-end: -.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
|
|||||||
Reference in New Issue
Block a user