Skip to content

Commit 2958ec5

Browse files
committed
fix(sass): add missing imports, syntax fixes
1 parent b610c97 commit 2958ec5

37 files changed

+78
-23
lines changed

src/app/pages/charts/discrete-bar-chart/discrete-bar-chart.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.discrete-bar-chart__container {
3+
:host {
44
display: flex;
55
flex-wrap: wrap;
66
justify-content: space-around;

src/app/pages/charts/line-plus-bar-chart/line-plus-bar-chart.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.line-plus-bar-chart__container {
3+
:host {
44
svg,
55
svg .nv-linePlusBar {
66
height: 250px;

src/app/pages/charts/stacked-bar-chart/stacked-bar-chart.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.stacked-bar-chart__container {
3+
:host {
44
svg,
55
svg .nv-linePlusBar {
66
height: 250px;

src/app/pages/components/components.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.ui-components {
1+
:host {
22
.mdl-card {
33
height: 100%;
44
}

src/app/pages/dashboard/cotoneaster-card/cotoneaster-card.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import '~theme/helpers';
1+
@import '~theme/styles';
22

3-
.cotoneaster {
3+
:host {
44
.mdl-card__supporting-text {
55
@include typo-card-supporting-text;
66

src/app/pages/dashboard/robot-card/robot-card.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.robot {
3+
:host {
44
.mdl-card {
55
height: 450px;
66
}

src/app/pages/dashboard/table-card/table-card.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.projects-table {
3+
:host {
44
thead th {
55
color: rgba($color-white, 0.9);
66
}

src/app/pages/dashboard/trending/trending.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.trending {
3+
:host {
44
.mdl-card__supporting-text {
55
width: 100%;
66
padding: 8px 0;
@@ -21,15 +21,15 @@
2121
font-size: $trending-arrow-size;
2222
}
2323

24-
&__arrow-up {
24+
.trending__arrow-up {
2525
color: $trending-arrow-up-color;
2626
}
2727

28-
&__arrow-down {
28+
.trending__arrow-down {
2929
color: $trending-arrow-down-color;
3030
}
3131

32-
&__percent {
32+
.trending__percent {
3333
text-align: right;
3434
width: 40px;
3535
}

src/app/pages/dashboard/weather/weather.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.weather {
3+
:host {
44
.mdl-card__supporting-text {
55
color: $card-text-color;
66
background: url('#{$image-path}/weather_bck.png') center center no-repeat;

src/app/pages/ui/buttons/buttons.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.ui-buttons {
1+
:host {
22
h6 {
33
margin-top: 8px;
44
margin-bottom: 0;

src/app/pages/ui/cards/cards.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.ui-cards {
3+
:host {
44
.mdl-card {
55
height: 100%;
66

src/app/pages/ui/colors/colors.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.ui-colors {
3+
:host {
44
h3 {
55
text-align: center;
66
opacity: 0.2;
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
.ui-form-components {
1+
:host {
22
form {
33
.mdl-cell {
44
margin-left: 16px;
55
}
6-
}
76

8-
.mdl-card__supporting-text {
9-
padding-bottom: 70px;
7+
.mdl-card__supporting-text {
8+
padding-bottom: 70px;
9+
}
1010
}
11+
1112
}

src/app/pages/ui/icons/icons.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.ui-icons {
3+
:host {
44
.ui-icons-title {
55
font-size: 20px;
66
font-family: "Roboto", "Helvetica", "Arial", sans-serif;

src/app/pages/ui/tables/tables.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.ui-tables {
1+
:host {
22
.mdl-card,
33
.mdl-card__supporting-text {
44
overflow-x: auto;

src/app/pages/ui/typography/typography.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '~theme/helpers';
22

3-
.ui-typography {
3+
:host {
44
font-family: "Roboto", sans-serif;
55

66
p {

src/theme/scss/badge.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.badge--colored-green {
24
@include colored-badge($color-green);
35
}

src/theme/scss/button.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-button {
24
font-weight: $button-font-weigth;
35
padding-top: 1px;

src/theme/scss/card.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-card__title {
24
background-color: $card-title-background-color;
35
}

src/theme/scss/chip.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-chip {
24
color: $color-black;
35

src/theme/scss/data-table.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-data-table {
24
@include typo-data-table;
35

src/theme/scss/form.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
form {
24
&.form--basic {
35
.mdl-textfield__label {

src/theme/scss/helper.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.pull-right {
24
float: right;
35
}

src/theme/scss/label.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.label {
24
background-color: rgba(255, 255, 255, 0.1);
35
color: rgba(255, 255, 255, 1);

src/theme/scss/list.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-list {
24
margin: 0;
35

src/theme/scss/material-angular-select.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
material-angular-select {
24
.material-angular-select {
35
width: 100%;

src/theme/scss/menu.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-menu {
24
// width: $dropdown-menu-width;
35

src/theme/scss/progress.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-progress {
24
min-width: 100px;
35
width: auto;

src/theme/scss/scroll.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.scroller__bar {
24
opacity: 0.2;
35
position: absolute;

src/theme/scss/slider.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-slider__container {
24
margin: 0 -20px;
35
}

src/theme/scss/table.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-data-table {
24
&.sorting-table {
35
.sorting {

src/theme/scss/textfield.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-textfield {
24
width: auto;
35

src/theme/scss/tooltip.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.mdl-tooltip {
24
padding: $table-tooltip-vertical-padding $table-tooltip-horizontal-padding;
35
border: none;

src/theme/styles.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@import './scss/badge';
88
@import './scss/slider';
99
@import './scss/menu';
10+
@import './scss/card';
1011
@import './scss/button';
1112
@import './scss/textfield';
1213
@import './scss/data-table';
@@ -16,7 +17,20 @@
1617
@import './scss/scroll';
1718
@import './scss/helper';
1819
@import './scss/table';
20+
@import './scss/progress';
21+
@import './scss/tooltip';
1922
@import './widgets/link';
2023
@import './widgets/chart-legend';
2124
@import './widgets/form';
2225
@import './widgets/input-group';
26+
@import './components/line-chart/line-chart.component';
27+
@import './components/card/card.component';
28+
@import './components/page-top/page-top.component';
29+
@import './components/pagination/pagination.component';
30+
@import './components/pie-chart/pie-chart.component';
31+
@import './components/progress/progress.component';
32+
@import './components/right-sidebar/sidebar/sidebar.component';
33+
@import './components/right-sidebar/right-sidebar.component';
34+
@import '/components/sidebar/sidebar.component';
35+
@import '/components/toggle/toggle.component';
36+
@import '/directives/tooltip/tooltip.component';

src/theme/widgets/chart-legend.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.legend {
24
.legend__item {
35
@include typo-chart-legend;

src/theme/widgets/form.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
.form {
24
.mdl-grid {
35
padding: 0;

src/theme/widgets/link.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '~theme/helpers';
2+
13
a {
24
@include typo-default;
35

0 commit comments

Comments
 (0)