Updated hardcoded colors to LESS variables

This commit is contained in:
Ken Hoes
2016-05-03 12:55:13 -04:00
committed by Leigh Johnson
parent 6bbc6024e7
commit 81fec1b7a2
17 changed files with 40 additions and 33 deletions

View File

@@ -80,7 +80,7 @@
.AddPermissions-directions { .AddPermissions-directions {
margin-top: 10px; margin-top: 10px;
margin-bottom: 20px; margin-bottom: 20px;
color: #848992; color: @default-interface-txt;
display: flex; display: flex;
align-items: center; align-items: center;
} }

View File

@@ -44,21 +44,21 @@
.BreadCrumb-list { .BreadCrumb-list {
padding: 0px 20px; padding: 0px 20px;
list-style: none; list-style: none;
background-color: #FFFFFF; background-color: @default-bg;
border-radius: 4px; border-radius: 4px;
line-height: 40px; line-height: 40px;
} }
.BreadCrumb-item { .BreadCrumb-item {
display: inline-block; display: inline-block;
color: #B7B7B7; color: @default-data-txt;
text-transform: uppercase; text-transform: uppercase;
} }
.BreadCrumb-item + .BreadCrumb-item:before { .BreadCrumb-item + .BreadCrumb-item:before {
content: "/"; content: "/";
padding: 0 5px; padding: 0 5px;
color: #B7B7B7; color: @default-data-txt;
} }
@breadcrumb-breakpoint: 900px; @breadcrumb-breakpoint: 900px;

View File

@@ -1,4 +1,5 @@
/** @define Dashboard */ /** @define Dashboard */
@import "awx/ui/client/src/shared/branding/colors.default.less";
.Dashboard { .Dashboard {
display: flex; display: flex;
@@ -22,7 +23,7 @@
border-radius: 5px; border-radius: 5px;
margin-top: 20px; margin-top: 20px;
width: 50%; width: 50%;
background-color: #ffffff; background-color: @default-bg;
max-width: ~"calc(50% - 10px)"; max-width: ~"calc(50% - 10px)";
position: relative; position: relative;
} }

View File

@@ -146,7 +146,7 @@
.DashboardList-actionButton--edit:hover { .DashboardList-actionButton--edit:hover {
background-color: #1678c4; background-color: #1678c4;
color: #ffffff; color: @default-bg;
border: 1px solid #1678c4; border: 1px solid #1678c4;
} }

View File

@@ -1,10 +1,10 @@
/** @define DashboardCounts */ /** @define DashboardCounts */
@import "awx/ui/client/src/shared/branding/colors.default.less"; @import "../../shared/branding/colors.default.less";
.Footer { .Footer {
height: 40px; height: 40px;
background-color: @default-no-items-bord; background-color: @default-no-items-bord;
color: #848992; color: @default-interface-txt;
width: 100%; width: 100%;
z-index: 1040; z-index: 1040;
position: absolute; position: absolute;
@@ -32,11 +32,11 @@
} }
.Footer-link:hover{ .Footer-link:hover{
color: #ffffff; color: @default-bg;
} }
.Footer-link{ .Footer-link{
color: #848992; color: @default-interface-txt;
} }
.Footer-copyright.is-loggedOut, .Footer-copyright.is-loggedOut,

View File

@@ -62,10 +62,10 @@
.MainMenu-socketImage { .MainMenu-socketImage {
font-size: 18px; font-size: 18px;
text-shadow: text-shadow:
-1px -1px 0 #fff, -1px -1px 0 @default-bg,
1px -1px 0 #fff, 1px -1px 0 @default-bg,
-1px 1px 0 #fff, -1px 1px 0 @default-bg,
1px 1px 0 #fff; 1px 1px 0 @default-bg;
z-index: 1042; z-index: 1042;
} }

View File

@@ -1,4 +1,5 @@
/** @define MgmtCards */ /** @define MgmtCards */
@import '../shared/branding/colors.default.less';
.MgmtCards { .MgmtCards {
display: flex; display: flex;
@@ -6,10 +7,10 @@
} }
.MgmtCards-card { .MgmtCards-card {
background-color: #fff; background-color: @default-bg;
padding: 20px; padding: 20px;
border-radius: 5px; border-radius: 5px;
border: 1px solid #e8e8e8; border: 1px solid @default-border;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: baseline; align-items: baseline;
@@ -33,7 +34,7 @@
text-transform: uppercase; text-transform: uppercase;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
color: #848992; color: @default-interface-txt;
margin-bottom: 25px; margin-bottom: 25px;
white-space: nowrap; white-space: nowrap;
} }

View File

@@ -1,3 +1,5 @@
@import "awx/ui/client/src/shared/branding/colors.default.less";
.NotificationsForm-typeSelect{ .NotificationsForm-typeSelect{
flex: none; flex: none;
} }
@@ -8,7 +10,7 @@
.alert-success{ .alert-success{
background-color: #3cb878; background-color: #3cb878;
color: #fff; color: @default-bg;
} }
.Toast-successIcon{ .Toast-successIcon{

View File

@@ -1,4 +1,5 @@
/** @define OrgCards */ /** @define OrgCards */
@import '../shared/branding/colors.default.less';
.OrgCards { .OrgCards {
display: flex; display: flex;
@@ -6,11 +7,11 @@
} }
.OrgCards-card { .OrgCards-card {
background-color: #fff; background-color: @default-bg;
padding: 20px; padding: 20px;
padding-bottom: 0px; padding-bottom: 0px;
border-radius: 5px; border-radius: 5px;
border: 1px solid #e8e8e8; border: 1px solid @default-border;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: baseline; align-items: baseline;
@@ -34,7 +35,7 @@
text-transform: uppercase; text-transform: uppercase;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
color: #848992; color: @default-interface-txt;
margin-bottom: 25px; margin-bottom: 25px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;

View File

@@ -26,7 +26,7 @@
.ScheduleToggle.is-on { .ScheduleToggle.is-on {
border-color: #1678c4; border-color: #1678c4;
background-color: #fff; background-color: @default-bg;
} }
.ScheduleToggle-switch.is-on { .ScheduleToggle-switch.is-on {

View File

@@ -20,7 +20,7 @@
.SetupItem-title{ .SetupItem-title{
font-size: 14px; font-size: 14px;
color: #848992; color: @default-interface-txt;
text-align: center; text-align: center;
margin-bottom: 15px; margin-bottom: 15px;
font-weight: 600; font-weight: 600;
@@ -29,7 +29,7 @@
.SetupItem-description{ .SetupItem-description{
font-size: 12px; font-size: 12px;
color: #848992; color: @default-interface-txt;
text-align: center; text-align: center;
} }

View File

@@ -1,7 +1,8 @@
/** @define DownloadStandardOut */ /** @define DownloadStandardOut */
@import "awx/ui/client/src/shared/branding/colors.default.less";
.DownloadStandardOut { .DownloadStandardOut {
color: #fff !important; color: @default-bg !important;
} }
.DownloadStandardOut--onStandardOutPage { .DownloadStandardOut--onStandardOutPage {
@@ -16,7 +17,7 @@
} }
.DownloadStandardOut-icon { .DownloadStandardOut-icon {
color: #fff; color: @default-bg;
} }
.DownloadStandardOut-icon--withText { .DownloadStandardOut-icon--withText {

View File

@@ -61,7 +61,7 @@
} }
.SmartStatus-tooltip--running{ .SmartStatus-tooltip--running{
color: #b7b7b7; color: @default-data-txt;
padding-left: 5px; padding-left: 5px;
padding-right: 0px; padding-right: 0px;
text-shadow: text-shadow:

View File

@@ -81,7 +81,7 @@
font-size: 16px; font-size: 16px;
height: 30px; height: 30px;
min-width: 30px; min-width: 30px;
color: #b7b7b7; color: @default-data-txt;
background-color: inherit; background-color: inherit;
border: none; border: none;
border-radius: 50%; border-radius: 50%;

View File

@@ -1,4 +1,5 @@
/** @define DatePicker */ /** @define DatePicker */
@import "awx/ui/client/src/shared/branding/colors.default.less";
.DatePicker { .DatePicker {
flex: 1 0 auto; flex: 1 0 auto;
@@ -11,11 +12,11 @@
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
border: 1px solid #ccc; border: 1px solid #ccc;
border-right: 0; border-right: 0;
background-color: #fff; background-color: @default-bg;
} }
&-icon:hover { &-icon:hover {
background-color: #e8e8e8; background-color: @default-border;
} }
&-icon:focus, &-icon:focus,

View File

@@ -10,7 +10,7 @@
padding: .5em 0; padding: .5em 0;
align-items: center; align-items: center;
transition: background-color 100ms, border-color 100ms; transition: background-color 100ms, border-color 100ms;
border: solid 1px #fff; border: solid 1px @default-bg;
&:nth-child(even) { &:nth-child(even) {
background-color: @default-no-items-bord; background-color: @default-no-items-bord;
@@ -137,7 +137,7 @@
//margin-bottom: 0.5rem; //margin-bottom: 0.5rem;
background-color: @default-err; background-color: @default-err;
border: none; border: none;
color: #FFFFFF; color: @default-bg;
&:hover { &:hover {
background-color: @default-err; background-color: @default-err;

View File

@@ -40,7 +40,7 @@
z-index: 2; z-index: 2;
background-color: @default-icon; background-color: @default-icon;
color: #fff; color: @default-bg;
border-color: @default-icon; border-color: @default-icon;
&:active, &:focus { &:active, &:focus {