Skip to content

Commit

Permalink
refactor(*): Fix all the postcss-color warnings except the hard one (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Reynolds authored Oct 21, 2017
1 parent 15e873d commit db2275b
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/cluster/rollups.less
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ running-tasks-tag {

.popover-title {
background-color: var(--color-dovegray);
color: white;
color: var(--color-white);
}

min-width: 150px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
tr.clickable {
cursor: pointer;
&:hover {
background-color: @table-bg-hover;
background-color: var(--color-alabaster);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ map-editor {

.table.no-border-top {

border-top: 2px solid white;
border-top: 2px solid var(--color-white);

.table-label {
padding: .8rem 0 0 1rem;
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/presentation/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ div.modal-header.has-sticky-headers {
}

table.table.no-lines th {
border-bottom: 1px solid @table-border-color;
border-bottom: 1px solid var(--color-seashell);
}

table.table.no-lines tr td {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
}
.glyphicon-search {
color: @link-color;
color: var(--color-text-link);
}
.spinner-section {
min-height: 30px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
&:nth-child(even) {
> div {
background-color: white;
background-color: var(--color-white);
}
}
&:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

.search-group-icon {
background-color: var(--color-primary);
border: 2px solid @body-bg;
border: 2px solid var(--color-white);
border-radius: 50%;
color: @body-bg;
color: var(--color-white);
display: inline-block;
height: 32px;
line-height: 29px;
Expand Down
4 changes: 2 additions & 2 deletions app/scripts/modules/core/src/search/widgets/filterlist.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

.filter-list {

background-color: @dropdown-bg;
background-color: var(--color-white);
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0, 0, 0, .175));
Expand Down Expand Up @@ -57,7 +57,7 @@
}

&.filter--blur {
background-color: @body-bg;
background-color: var(--color-white);
}

&:hover {
Expand Down
12 changes: 6 additions & 6 deletions app/scripts/modules/core/src/search/widgets/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
padding: 10px 16px;
font-size: 18px;
line-height: 1.3333333;
color: @gray;
background: @body-bg none;
color: var(--color-mineshaft);
background: var(--color-white) none;
border: 1px solid;
border-radius: @border-radius-base;
.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
Expand All @@ -40,14 +40,14 @@
}

.search__input-control::-moz-placeholder {
color: @input-color-placeholder;
color: var(--color-concrete);
opacity: 1;
}
.search__input-control:-ms-input-placeholder {
color: @input-color-placeholder;
color: var(--color-concrete);
}
.search__input-control::-webkit-input-placeholder {
color: @input-color-placeholder;
color: var(--color-concrete);
}

.fa.fa-times {
Expand All @@ -64,7 +64,7 @@
}

&.search__input--blur {
border-color: @btn-default-border;
border-color: var(--color-alto);
.box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075));
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/widgets/tags/taglist.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.tag__category {
background-color: var(--color-primary);
border-radius: 4px 0 0 4px;
color: white;
color: var(--color-white);
padding: 8px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
}

.table {
border-top: 2px solid white;
border-top: 2px solid var(--color-white);

.fixed-width {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kubernetes-security-context-selector {

kubernetes-capabilities-selector {
.table {
border-top: 2px solid white;
border-top: 2px solid var(--color-white);
.table-remove-button {
padding: 0 0 1rem 1rem;
}
Expand Down

0 comments on commit db2275b

Please sign in to comment.