feat(ui): LESS Integration
Tried to add less integration but came to the problem that node.js is needed for it to work
This commit is contained in:
BIN
knockoutwhistweb/public/images/img.png
Normal file
BIN
knockoutwhistweb/public/images/img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 352 KiB |
@@ -1,5 +1,7 @@
|
|||||||
|
@color: white;
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image: url("/assets/images/background.png");
|
background-image: @background-image;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
@@ -15,7 +17,7 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#sessions a, h1, p {
|
#sessions a, h1, p {
|
||||||
color: white;
|
color: @color;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-family: Arial;
|
font-family: Arial;
|
||||||
}
|
}
|
||||||
@@ -81,10 +83,10 @@ html, body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 0%;
|
height: 0%;
|
||||||
}
|
p {
|
||||||
#nextPlayers p {
|
margin-top: 0px;
|
||||||
margin-top: 0px;
|
margin-bottom: 0px;
|
||||||
margin-bottom: 0px;
|
}
|
||||||
}
|
}
|
||||||
#invisible {
|
#invisible {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|||||||
2
knockoutwhistweb/public/stylesheets/main.less
Normal file
2
knockoutwhistweb/public/stylesheets/main.less
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@color: red;
|
||||||
|
@background-image: url("/assets/images/img.png");
|
||||||
@@ -3,4 +3,6 @@ addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8-scaffold" % "0.18.0")
|
|||||||
|
|
||||||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1")
|
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1")
|
||||||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0")
|
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0")
|
||||||
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")
|
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")
|
||||||
|
|
||||||
|
addSbtPlugin("com.github.sbt" % "sbt-less" % "2.0.1")
|
||||||
|
|||||||
Reference in New Issue
Block a user