Skip to content

Commit e36085e

Browse files
author
Wouter Steegers
committed
Convert .less to .scss
1 parent 5889054 commit e36085e

File tree

36 files changed

+27
-27
lines changed

36 files changed

+27
-27
lines changed

angular/app/pages/footer/footer.less renamed to angular/app/pages/footer/footer.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
.Footer{
44
text-align: center;
5-
background-color: @background;
6-
border-top: 1px solid @border;
5+
background-color: $background;
6+
border-top: 1px solid $border;
77
padding-top: 40px;
88
padding-bottom: 40px;
9-
color: @grey;
9+
color: $grey;
1010
font-weight: 300;
1111
}
1212

1313
.Footer-text{
1414
padding-top: 10px;
1515
opacity: 0.8;
16-
color: @grey;
16+
color: $grey;
1717
}
1818

1919
.Footer-link{
2020
text-decoration: none;
21-
color: @grey !important;
21+
color: $grey !important;
2222
font-weight: 400;
2323
}
2424

angular/app/pages/landing/landing.less renamed to angular/app/pages/landing/landing.scss

+15-15
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
.Landing-getStarted{
3939
padding: 12px 30px;
4040
font-weight: bold;
41-
color: @black !important;
41+
color: $black !important;
4242
border-radius: 4px;
4343
text-transform: box-shadow 250ms;
4444
}
@@ -55,7 +55,7 @@
5555

5656
.Landing-ampersand{
5757
font-size: 50px;
58-
color: @brand;
58+
color: $brand;
5959
position: absolute;
6060
top: 70px;
6161
left: 0;
@@ -65,27 +65,27 @@
6565
}
6666

6767
.Landing-angular{
68-
background-color: @background;
69-
border-left: 1px solid @border;
68+
background-color: $background;
69+
border-left: 1px solid $border;
7070
}
7171

7272
.Landing-laravel,
7373
.Landing-angular{
7474
text-align: center;
75-
color: @navy;
76-
border-bottom: 1px solid @border;
75+
color: $navy;
76+
border-bottom: 1px solid $border;
7777
}
7878

7979
.Landing-laravelAngular-title{
8080
padding-top: 30px;
8181
margin-bottom: 15px;
8282
font-weight: 300;
8383
letter-spacing: -1px;
84-
color: @navy;
84+
color: $navy;
8585
}
8686

8787
.Landing-laravelAngular-subtitle{
88-
color: @black;
88+
color: $black;
8989
padding-left: 30px;
9090
padding-right: 30px;
9191
font-weight: 300;
@@ -114,11 +114,11 @@
114114
}
115115

116116
.DemoCode-comment{
117-
color: @grey;
117+
color: $grey;
118118
}
119119

120120
.DemoCode-operator{
121-
color: @grey;
121+
color: $grey;
122122
}
123123

124124
.DemoCode-string{
@@ -138,13 +138,13 @@
138138
font-weight: 300;
139139
letter-spacing: -1px;
140140
margin-bottom: 15px;
141-
color: @navy;
141+
color: $navy;
142142
}
143143

144144
.Landing-featuresMainDescription{
145145
width: 70%;
146146
margin: 0 auto 30px;
147-
color: @black;
147+
color: $black;
148148
font-weight: 300;
149149
}
150150

@@ -160,7 +160,7 @@
160160
}
161161

162162
.Landing-featuresTitle{
163-
color: @navy;
163+
color: $navy;
164164
letter-spacing: -1px;
165165
margin-top: 40px;
166166
}
@@ -170,11 +170,11 @@
170170
padding-left: 50px;
171171
padding-right: 50px;
172172
font-weight: 300;
173-
color: @black;
173+
color: $black;
174174
}
175175

176176
.Landing-featuresEntry--restful{
177-
background-color: @brand;
177+
background-color: $brand;
178178
}
179179

180180
.Landing-featuresEntry--jwt{
File renamed without changes.

angular/material/project.less

-6
This file was deleted.

angular/material/project.scss

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$brand: #00A4C6;
2+
$black: #535362;
3+
$grey: #888888;
4+
$navy: #21455B;
5+
$border: #E9F0F3;
6+
$background: #F6F9FA;
File renamed without changes.
File renamed without changes.
File renamed without changes.

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ elixir(function (mix) {
4747
.bower()
4848
.angular('./angular/')
4949
.ngHtml2Js('./angular/**/*.html')
50-
.less('./angular/**/*.less', 'public/css')
50+
.sass('./angular/**/*.scss', 'public/css')
5151
.version(assets)
5252
.livereload(buildPath + '/rev-manifest.json', {
5353
liveCSS: true

0 commit comments

Comments
 (0)