mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Align header paddings (#15981)
This commit is contained in:
parent
5193f2c6a4
commit
3d6743ae3e
@ -65,7 +65,7 @@ class HassErrorScreen extends LitElement {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
height: var(--header-height);
|
height: var(--header-height);
|
||||||
padding: 4px;
|
padding: 8px 12px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-color: var(--app-header-background-color);
|
background-color: var(--app-header-background-color);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -73,6 +73,11 @@ class HassErrorScreen extends LitElement {
|
|||||||
border-bottom: var(--app-header-border-bottom, none);
|
border-bottom: var(--app-header-border-bottom, none);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
ha-icon-button-arrow-prev {
|
ha-icon-button-arrow-prev {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@ class HassLoadingScreen extends LitElement {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
height: var(--header-height);
|
height: var(--header-height);
|
||||||
padding: 4px;
|
padding: 8px 12px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-color: var(--app-header-background-color);
|
background-color: var(--app-header-background-color);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -68,6 +68,11 @@ class HassLoadingScreen extends LitElement {
|
|||||||
border-bottom: var(--app-header-border-bottom, none);
|
border-bottom: var(--app-header-border-bottom, none);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
ha-menu-button,
|
ha-menu-button,
|
||||||
ha-icon-button-arrow-prev {
|
ha-icon-button-arrow-prev {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
@ -111,7 +111,7 @@ class HassSubpage extends LitElement {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
height: var(--header-height);
|
height: var(--header-height);
|
||||||
padding: 4px;
|
padding: 8px 12px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background-color: var(--app-header-background-color);
|
background-color: var(--app-header-background-color);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -119,6 +119,11 @@ class HassSubpage extends LitElement {
|
|||||||
border-bottom: var(--app-header-border-bottom, none);
|
border-bottom: var(--app-header-border-bottom, none);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.toolbar a {
|
.toolbar a {
|
||||||
color: var(--sidebar-text-color);
|
color: var(--sidebar-text-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -323,7 +323,6 @@ export class HaTabsSubpageDataTable extends LitElement {
|
|||||||
--text-field-overflow: initial;
|
--text-field-overflow: initial;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
margin-right: -8px;
|
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
.active-filters {
|
.active-filters {
|
||||||
|
@ -235,9 +235,14 @@ class HassTabsSubpage extends LitElement {
|
|||||||
background-color: var(--sidebar-background-color);
|
background-color: var(--sidebar-background-color);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
border-bottom: 1px solid var(--divider-color);
|
border-bottom: 1px solid var(--divider-color);
|
||||||
padding: 4px;
|
padding: 8px 12px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.toolbar a {
|
.toolbar a {
|
||||||
color: var(--sidebar-text-color);
|
color: var(--sidebar-text-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -891,7 +891,6 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
--text-field-overflow: initial;
|
--text-field-overflow: initial;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
margin-right: -8px;
|
|
||||||
color: var(--primary-text-color);
|
color: var(--primary-text-color);
|
||||||
}
|
}
|
||||||
.active-filters {
|
.active-filters {
|
||||||
|
@ -108,10 +108,15 @@ class PanelDeveloperTools extends LitElement {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 4px;
|
padding: 8px 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.main-title {
|
.main-title {
|
||||||
margin: 0 0 0 24px;
|
margin: 0 0 0 24px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
@ -976,10 +976,15 @@ class HUIRoot extends LitElement {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
padding: 0 4px;
|
padding: 0px 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 599px) {
|
||||||
|
.toolbar {
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.main-title {
|
.main-title {
|
||||||
margin: 0 0 0 24px;
|
margin: 0 0 0 24px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user