Skip to content

Commit a974ae6

Browse files
Less to css
1 parent 8d086a5 commit a974ae6

File tree

14 files changed

+37
-67
lines changed

14 files changed

+37
-67
lines changed

components/app-button/style.less renamed to components/app-button/style.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,25 @@
22
display: inline-block;
33
border-radius: 50px;
44
padding: 12px;
5-
background-color: @button-bg;
6-
color: @button-fg;
7-
5+
background-color: #2980b9;
6+
color: #ffffff;
87
transition-property: background-color;
98
transition-duration: .3s;
109
transition-timing-function: ease-out;
1110
}
1211

1312
.app-button:hover {
14-
background-color: lighten(@button-bg, 10%);
13+
background-color: #409ad5;
1514
}
1615

1716
/* Variants */
1817
.app-button-secondary {
19-
background-color: @button-secondary-bg;
20-
color: @button-secondary-fg;
18+
background-color: #999999;
19+
color: #ffffff;
2120
}
2221

2322
.app-button-secondary:hover {
24-
background-color: lighten(@button-secondary-bg, 10%);
23+
background-color: #b3b3b3;
2524
}
2625

2726
/* Sizes */
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
.app-button.app-checkbox {
2-
background-color: @button-secondary-bg;
3-
color: @button-secondary-fg;
2+
background-color: #999999;
3+
color: #ffffff;
44
}
55

66
.app-button.app-checkbox.checked {
7-
background-color: @button-bg;
8-
color: @button-fg;
7+
background-color: #2980b9;
8+
color: #ffffff;
99
}
1010

1111
.app-checkbox-icon {
12-
background-image: url(./images/unchecked.svg);
12+
background-image: url(images/unchecked.svg);
1313
background-size: contain;
1414
width: 18px;
1515
height: 18px;
@@ -20,6 +20,6 @@
2020
}
2121

2222
.app-checkbox.checked .app-checkbox-icon {
23-
background-image: url(./images/checked.svg);
23+
background-image: url(images/checked.svg);
2424
opacity: 1.0;
2525
}

components/app-notification/style.less renamed to components/app-notification/style.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
@notification-bg: #2ecc71;
2-
@notification-border-color: darken(@notification-bg, 20%);
3-
41
.app-notification {
52
opacity: 0;
63
transition-property: max-height, opacity;
74
transition-duration: .3s;
85
transition-timing-function: ease-out;
96
max-height: 0px;
107
margin-top: 8px;
11-
background-color: @notification-bg;
8+
background-color: #2ecc71;
129
color: white;
1310
width: 100%;
14-
border: 2px solid @notification-border-color;
11+
border: 2px solid #1b7943;
1512
padding-left: 1em;
1613
padding-right: 1em;
1714
line-height: 40px;

components/app-notifications/index.marko

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
style.less {
1+
style {
22
.app-notifications {
33
position: fixed;
44
top: 0px;

components/app-number-spinner/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
}
4141

4242
.number-spinner.positive input {
43-
background: rgb(86, 239, 165);
43+
background: #56efa5;
4444
}
4545

4646
.number-spinner.negative input {
47-
background: rgb(235, 182, 176);
47+
background: #ebb6b0;
4848
}

components/app-overlay/style.less renamed to components/app-overlay/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
padding-top: 2em;
5252
}
5353

54-
5554
.app-overlay > .app-overlay-container .app-overlay > .app-overlay-container {
5655
height: 100%;
5756
}

components/app-progress-bar/style.less

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
.app-progress-bar a.progress-step {
77
display: inline-block;
8-
background-color: @button-secondary-bg;
9-
color: @button-secondary-fg;
8+
background-color: #999999;
9+
color: #ffffff;
1010
padding-left: 28px;
1111
padding-right: 8px;
1212
height: 2em;
@@ -20,8 +20,8 @@
2020
}
2121

2222
.app-progress-bar .progress-step.active a.progress-step {
23-
background-color: @button-bg;
24-
color: @button-fg;
23+
background-color: #2980b9;
24+
color: #ffffff;
2525
}
2626

2727
div.progress-step-end {
@@ -41,11 +41,10 @@ svg.progress-step-end {
4141
height: 100%;
4242
}
4343

44-
4544
polygon.progress-step-end {
46-
fill: @button-secondary-bg;
45+
fill: #999999;
4746
}
4847

4948
.app-progress-bar .progress-step.active polygon.progress-step-end {
50-
fill: @button-bg;
49+
fill: #2980b9;
5150
}

components/app-sections/style.less renamed to components/app-sections/style.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
.app-sections {
2-
3-
}
41
.tableOfContents {
52
position: fixed;
63
right: 15px;
74
top: 15px;
85
background-color: #f7f7f9;
9-
box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
6+
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
107
padding: 1em;
118
}
129

components/app-tabs/style.less renamed to components/app-tabs/style.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.app-tabs .tab {
2-
3-
}
4-
51
.app-tabs ul.tab-nav {
62
padding-left: 0;
73
list-style: none;
@@ -14,7 +10,7 @@
1410
.app-tabs ul.tab-nav > li > a {
1511
margin-right: 2px;
1612
line-height: 1.42857143;
17-
border: 1px solid @button-secondary-bg;
13+
border: 1px solid #999999;
1814
margin-left: 10px;
1915
border-radius: 4px 4px 0 0;
2016
padding-left: 1em;
@@ -23,8 +19,8 @@
2319
padding-top: 0.5em;
2420
display: inline-block;
2521
margin-bottom: -1px;
26-
background-color: @button-secondary-bg;
27-
color: @button-secondary-fg;
22+
background-color: #999999;
23+
color: #ffffff;
2824
}
2925

3026
.app-tabs ul.tab-nav > li:first-child > a {
@@ -39,12 +35,11 @@
3935

4036
.app-tabs .tab-panes {
4137
clear: both;
42-
4338
}
4439

4540
.app-tabs .tab-pane {
4641
display: none;
47-
border: 1px solid @button-secondary-bg;
42+
border: 1px solid #999999;
4843
padding: 1em;
4944
}
5045

global-style/browser.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"dependencies": [
3-
"less-import: variables.less",
4-
"style.less"
3+
"style.css"
54
]
65
}

global-style/style.less renamed to global-style/style.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
body {
2-
font-family: @font-family;
3-
color: @font-color;
2+
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
3+
color: #333333;
44
padding: 0;
55
margin: 0;
66
}
@@ -38,7 +38,7 @@ img {
3838
textarea,
3939
input {
4040
font-size: 14px;
41-
font-family: @font-family;
41+
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
4242
}
4343

4444
select {
@@ -69,11 +69,11 @@ h1, h2, h3 {
6969

7070
h1 {
7171
font-size: 1.5em;
72-
color: @dark-color;
72+
color: #123851;
73+
}
7374

74-
a {
75-
color: @dark-color;
76-
}
75+
h1 a {
76+
color: #123851;
7777
}
7878

7979
h2 {
@@ -102,7 +102,7 @@ button {
102102
}
103103

104104
a {
105-
color: @link-color;
105+
color: #2980b9;
106106
text-decoration: none;
107107
}
108108

global-style/variables.less

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)