Skip to content

Commit 2a33479

Browse files
committed
Merge pull request #64 from Daemonite/colour-update
colour update
2 parents faccff3 + 6e57486 commit 2a33479

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2033
-2847
lines changed

assets/js/datepicker.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/tile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
keyboard: true,
2525
toggle: true
2626
};
27-
Tile.TRANSITION_DURATION = 300;
27+
Tile.TRANSITION_DURATION = 150;
2828

2929
Tile.prototype = $.extend({}, $.fn.collapse.Constructor.prototype);
3030

assets/sass-project/project.scss

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@import "../sass/mixin/responsive";
66
@import "../sass/mixin/utilities";
77

8-
@import "../sass/var/variable";
8+
@import "../sass/var/variables";
99

1010
// project
1111
body {
@@ -20,11 +20,6 @@
2020
padding-top: ($header-height + $margin-sm);
2121
}
2222

23-
// colour
24-
@each $color in $palette-list {
25-
$i: index($palette-list, $color);
26-
27-
.page-#{$color} .content-heading {
28-
background-image: url(#{$css-path}/images/bg/#{$color}.jpg);
29-
}
30-
}
23+
.page-brand .content-heading {
24+
background-image: url(#{$css-path}/images/bg/brand.jpg);
25+
}

assets/sass/addons/_waves.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
$gradient: rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 60%;
3030
background-image: radial-gradient($gradient);
3131
}
32-
@each $color in $palette-list {
33-
$i: index($palette-list, $color);
34-
35-
&.waves-color-#{$color} .waves-ripple {
36-
background-color: nth($palette-color-light, $i);
37-
$gradient: rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 0.1) 0, rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 1) 100%;
38-
background-image: radial-gradient($gradient);
39-
}
40-
}
4132
}
4233

4334
.waves-notransition {

assets/sass/addons/font-awesome/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
$fa-border-color: $black-bg !default;
1+
$fa-border-color: $black-divider !default;
22
$fa-css-prefix: fa !default;
33
$fa-font-path: "#{$css-path}/fonts" !default;
44
$fa-font-size-base: $font-size !default;
5-
$fa-inverse: $white !default;
5+
$fa-inverse: $white-text-solid !default;
66
$fa-li-width: (30em / 14) !default;
77
$fa-version: "4.3.0" !default;
88

assets/sass/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@import "mixin/responsive";
66
@import "mixin/utilities";
77

8-
@import "var/variable";
8+
@import "var/variables";
99

1010
// css
1111
@import "base/reset";

assets/sass/base/_reset.scss

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @import url(http://fonts.googleapis.com/css?family=Roboto:300,300italic,400,400italic,700,700italic);
2-
31
*,
42
*:after,
53
*:before {
@@ -27,9 +25,9 @@
2725
}
2826

2927
body {
30-
background-color: $white-bg-light;
28+
background-color: $white;
3129
background-image: none;
32-
color: $black-text;
30+
color: $black-text-solid;
3331
font-family: $font-fam;
3432
font-size: $font-size;
3533
font-weight: $font-weight-normal;
@@ -176,7 +174,7 @@
176174

177175
legend {
178176
border: 0;
179-
color: $black-text;
177+
color: $black-text-solid;
180178
display: block;
181179
font-size: $font-size-h3;
182180
font-weight: $font-weight-normal;
@@ -214,7 +212,8 @@
214212
}
215213

216214
abbr {
217-
border-bottom: 1px dotted $black-hint;
215+
border-bottom: 1px dotted $black-divider-solid;
216+
border-bottom-color: $black-divider;
218217
cursor: help;
219218
}
220219

@@ -241,15 +240,6 @@
241240
padding-right: ($grid-gutter * 2);
242241
padding-left: ($grid-gutter * 2);
243242
position: relative;
244-
&:before {
245-
border-right: 1px solid $brand-color-light;
246-
content: "";
247-
display: block;
248-
position: absolute;
249-
top: 0;
250-
bottom: 0;
251-
left: 0;
252-
}
253243
}
254244

255245
dd,
@@ -341,7 +331,8 @@
341331
hr,
342332
.hr {
343333
border: 0;
344-
border-top: 1px solid $black-hint;
334+
border-top: 1px solid $black-divider-solid;
335+
border-top-color: $black-divider;
345336
box-sizing: content-box;
346337
display: block;
347338
height: 0;

assets/sass/components/_avatar.scss

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.avatar {
2-
background-color: $black-bg;
2+
background-color: $black-divider;
33
border-radius: 50%;
44
color: $black-text;
55
display: block;
@@ -49,15 +49,15 @@
4949
}
5050

5151
// colour
52-
@each $color in $palette-list {
53-
$i: index($palette-list, $color);
52+
@each $color in $palette-list-class {
53+
$i: index($palette-list-class, $color);
5454

5555
.avatar-#{$color} {
56-
background-color: nth($palette-color, $i);
57-
color: $white;
56+
background-color: nth($palette-list-color, $i);
57+
color: nth($palette-list-text, $i);
5858
&:focus,
5959
&:hover {
60-
color: $white;
60+
color: nth($palette-list-text, $i);
6161
}
6262
}
6363
}
@@ -91,7 +91,3 @@
9191
.avatar-inline {
9292
display: inline-block;
9393
}
94-
95-
.avatar-transparent {
96-
background-color: transparent;
97-
}

assets/sass/components/_breadcrumb.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
float: left;
99
+ li:before {
1010
@extend .icon;
11-
color: $black-hint;
11+
color: $black-hint-solid;
1212
content: "chevron_right";
1313
display: inline-block;
1414
line-height: $line-height;
1515
margin-left: 0.4em;
1616
}
1717
}
1818
> .active {
19-
color: $black-text;
19+
color: $black-text-solid;
2020
> a,
2121
> .a {
22-
color: $black-text;
22+
color: $black-text-solid;
2323
cursor: text;
2424
text-decoration: none;
2525
}

assets/sass/components/_button-flat.scss

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,28 @@
44
&:active,
55
&:focus,
66
&:hover {
7-
background-color: $black-bg;
8-
background-color: rgba(red($black-hint), green($black-hint), blue($black-hint), 0.18);
7+
background-color: $btn-bg-color;
98
box-shadow: none;
109
}
1110
&:active {
12-
background-color: $black-hint;
13-
background-color: rgba(red($black-hint), green($black-hint), blue($black-hint), 0.36);
11+
background-color: $btn-bg-color-hover;
1412
}
13+
&.disabled,
1514
&[disabled],
1615
fieldset[disabled] & {
17-
color: $black-text;
16+
background-color: transparent !important;
1817
}
1918
}
2019

2120
// colour
22-
@each $color in $palette-list {
23-
$i: index($palette-list, $color);
21+
@each $color in $palette-list-class {
22+
$i: index($palette-list-class, $color);
2423

2524
.btn-flat.btn-#{$color} {
26-
color: nth($palette-color, $i);
25+
color: nth($palette-list-color, $i);
2726
&[disabled],
2827
fieldset[disabled] & {
29-
color: nth($palette-color, $i);
28+
color: nth($palette-list-light, $i);
3029
}
3130
}
3231
}

0 commit comments

Comments
 (0)