Skip to content
Snippets Groups Projects
Commit 897056c0 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-449 OZG-2312 Styling der Menu Items ohne ::ng-deep

parent a678afcf
No related branches found
No related tags found
No related merge requests found
@import '../navigation-item.theme.scss';
\ No newline at end of file
@import '../navigation-item.theme.scss';
\ No newline at end of file
@use '~@angular/material' as mat;
@import "variables";
@import "~include-media/dist/include-media";
a {
display: flex;
justify-content: flex-start;
align-items: center;
text-decoration: none;
height: 32px;
width: 240px;
padding: 0 24px;
margin: 2px 0;
border-radius: 0 16px 16px 0;
transition:
margin-left 0.3s ease-in-out,
padding-left 0.3s ease-in-out,
border-radius 0.3s ease-in-out,
width 0.3s ease-in-out;
transition-delay: 0.2s;
outline: 0;
white-space: nowrap;
h1,
span {
margin: 0 0 0 20px;
transition: opacity 0.5s;
transition-delay: 0.3s;
font-size: inherit;
color: inherit;
font-weight: inherit;
padding: 0;
}
}
:host-context(.small) {
a {
border-radius: 16px;
margin-left: 20px;
padding-left: 4px;
transition-delay: 0s;
width: 32px;
&.active {
background-color: mat.get-color-from-palette($primaryPalette, 50);
}
}
span {
opacity: 0;
transition-delay: 0s;
}
}
@include media('<desktop') {
a {
border-radius: 16px;
margin-left: 20px;
padding-left: 4px;
transition-delay: 0s;
width: 32px;
&.active {
background-color: mat.get-color-from-palette($primaryPalette, 50);
}
}
span {
opacity: 0;
transition-delay: 0s;
}
}
...@@ -33,77 +33,4 @@ ul { ...@@ -33,77 +33,4 @@ ul {
margin: 24px 0; margin: 24px 0;
padding: 0; padding: 0;
align-items: flex-start; align-items: flex-start;
a {
display: flex;
justify-content: flex-start;
align-items: center;
text-decoration: none;
height: 32px;
width: 240px;
padding: 0 24px;
margin: 2px 0;
border-radius: 0 16px 16px 0;
transition:
margin-left 0.3s ease-in-out,
padding-left 0.3s ease-in-out,
border-radius 0.3s ease-in-out,
width 0.3s ease-in-out;
transition-delay: 0.2s;
outline: 0;
white-space: nowrap;
h1,
span {
margin: 0 0 0 20px;
transition: opacity 0.5s;
transition-delay: 0.3s;
font-size: inherit;
color: inherit;
font-weight: inherit;
padding: 0;
}
}
}
.small {
ul {
a {
border-radius: 16px;
margin-left: 20px;
padding-left: 4px;
transition-delay: 0s;
width: 32px;
&.active {
background-color: mat.get-color-from-palette($primaryPalette, 50);
}
}
span {
opacity: 0;
transition-delay: 0s;
}
}
}
@include media('<desktop') {
ul {
a {
border-radius: 16px;
margin-left: 20px;
padding-left: 4px;
transition-delay: 0s;
width: 32px;
&.active {
background-color: mat.get-color-from-palette($primaryPalette, 50);
}
}
span {
opacity: 0;
transition-delay: 0s;
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment