Skip to content

Commit

Permalink
fix(sass): fix map selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
insalespacecat committed Sep 13, 2020
1 parent 8ac2088 commit 0bbef05
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion src/app/layouts/blank-layout/blank-layout.component.scss
Expand Up @@ -5,7 +5,7 @@ app-blank-layout .mdl-layout .mdl-layout__content {
display: flex;
}

.mdl-layout{
.mdl-layout {
.mdl-layout__content {
display: flex;
padding: 16px;
Expand Down
4 changes: 0 additions & 4 deletions src/app/pages/dashboard2/dashboard2.component.html
Expand Up @@ -26,9 +26,5 @@ <h2 class="mdl-card__title-text">Country Statistics</h2>
</div>
</base-right-sidebar-content>

<base-right-sidebar [title]="'Filters'">
<app-filters></app-filters>
</base-right-sidebar>

</base-right-sidebar-layout>

4 changes: 3 additions & 1 deletion src/app/pages/dashboard2/dashboard2.component.scss
@@ -1,4 +1,4 @@
app-dashboard-2 {
:host {
app-map-advanced {
margin: 0 !important;

Expand All @@ -11,11 +11,13 @@ app-dashboard-2 {
}
}

/*
base-right-sidebar {
.mdl-card__title-text {
text-transform: uppercase;
font-size: 14px;
line-height: 16px;
}
}
*/
}
48 changes: 25 additions & 23 deletions src/app/pages/maps/map-advanced/map-advanced.component.scss
@@ -1,6 +1,6 @@
@import '~theme/helpers';

.map-advanced {
:host ::ng-deep {
min-height: 630px;
position: relative;
margin: 1rem;
Expand All @@ -18,34 +18,36 @@
}
}
}
}

.window-info {
z-index: 1000;
position: absolute;
opacity: 1;
user-select: none;
width: 200px;
.window-info {
z-index: 1000;
position: absolute;
opacity: 1;
user-select: none;
width: 200px;

.mdl-card__title {
background-color: $card-title-background-color;
padding: 12px 16px;
.mdl-card__title {
background-color: $card-title-background-color;
padding: 12px 16px;

.mdl-card__title-text {
font-size: 16px;
.mdl-card__title-text {
font-size: 16px;
}
}
}

.mdl-card__supporting-text {
font-size: 14px;
padding: 12px 16px;
line-height: 30px;
width: auto;
.mdl-card__supporting-text {
font-size: 14px;
padding: 12px 16px;
line-height: 30px;
width: auto;

& > div {
display: flex;
align-items: baseline;
justify-content: space-between;
& > div {
display: flex;
align-items: baseline;
justify-content: space-between;
}
}
}

}

2 changes: 1 addition & 1 deletion src/app/pages/maps/map/map.component.scss
@@ -1,6 +1,6 @@
@import '~theme/helpers';

.map {
:host ::ng-deep {
min-height: 630px;
position: relative;

Expand Down

0 comments on commit 0bbef05

Please sign in to comment.