language toggle is full-width
variable for sidebar width header styling in tree context menu
This commit is contained in:
@@ -101,16 +101,25 @@ export class UmbSectionSidebarContextMenuElement extends UmbLitElement {
|
||||
}
|
||||
#action-modal {
|
||||
position: absolute;
|
||||
left: 300px;
|
||||
left: var(--umb-section-sidebar-layout-width);
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
width: 300px;
|
||||
width: var(--umb-section-sidebar-layout-width);
|
||||
border: none;
|
||||
border-left: 1px solid var(--uui-color-border);
|
||||
border-right: 1px solid var(--uui-color-border);
|
||||
background-color: var(--uui-color-surface);
|
||||
}
|
||||
|
||||
#action-modal h3 {
|
||||
padding: var(--uui-size-4) var(--uui-size-8);
|
||||
margin: 0;
|
||||
min-height: var(--umb-header-layout-height);
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ export class UmbSectionSidebarElement extends UmbLitElement {
|
||||
UUITextStyles,
|
||||
css`
|
||||
:host {
|
||||
flex: 0 0 300px;
|
||||
flex: 0 0 var(--umb-section-sidebar-layout-width);
|
||||
background-color: var(--uui-color-surface);
|
||||
height: 100%;
|
||||
border-right: 1px solid var(--uui-color-border);
|
||||
|
||||
@@ -78,16 +78,25 @@ export class UmbTreeContextMenuServiceElement extends UmbLitElement {
|
||||
}
|
||||
#action-modal {
|
||||
position: absolute;
|
||||
left: 300px;
|
||||
left: var(--umb-section-sidebar-layout-width);
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
width: 300px;
|
||||
width: var(--umb-section-sidebar-layout-width);
|
||||
border: none;
|
||||
border-left: 1px solid var(--uui-color-border);
|
||||
border-right: 1px solid var(--uui-color-border);
|
||||
background-color: var(--uui-color-surface);
|
||||
}
|
||||
|
||||
#action-modal h3 {
|
||||
padding: var(--uui-size-4) var(--uui-size-8);
|
||||
margin: 0;
|
||||
min-height: var(--umb-header-layout-height);
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -120,12 +120,11 @@ export class UmbAppLanguageSelectElement extends UmbLitElement {
|
||||
}
|
||||
|
||||
#toggle {
|
||||
display: block;
|
||||
width: 100%;
|
||||
width: var(--umb-section-sidebar-layout-width);
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
height: 70px;
|
||||
height: var(--umb-header-layout-height);
|
||||
padding: 0 var(--uui-size-8);
|
||||
border-bottom: 1px solid var(--uui-color-border);
|
||||
font-size: 14px;
|
||||
@@ -138,6 +137,10 @@ export class UmbAppLanguageSelectElement extends UmbLitElement {
|
||||
#toggle:hover {
|
||||
background-color: var(--uui-color-surface-emphasis);
|
||||
}
|
||||
|
||||
[open] uui-symbol-expand {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
--uui-color-positive: #1c874c;
|
||||
--umb-footer-layout-height: 54px;
|
||||
--umb-header-layout-height: 70px;
|
||||
--umb-section-sidebar-layout-width: 300px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user