Skip to content

Commit

Permalink
Merge pull request openshift#2223 from ggreer/design-cleanup
Browse files Browse the repository at this point in the history
Design Cleanup
  • Loading branch information
ggreer authored Apr 16, 2018
2 parents 9cff87c + 5af6724 commit 133045d
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 8 deletions.
3 changes: 3 additions & 0 deletions frontend/public/components/RBAC/_rbac.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@
margin-top: 30px;
}
.help-text {
color: $color-text-secondary;
font-weight: 400;
position: relative;
top: -3px;
left: 20px;
}
.checkbox-label {
margin-bottom: 5px;
font-weight: 400;
}

.rbac-minor {
Expand Down
4 changes: 2 additions & 2 deletions frontend/public/components/RBAC/edit-rule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ const EditRule = connect(state => state.k8s.get('RESOURCES') || {}, {getResource
<div className="co-m-pane__body">
<div className="row">
<div className="col-xs-12">
<p>
<p className="text-secondary">
Each role is made up of a set of rules, which defines the type of access and resources that are allowed to be manipulated.
</p>
</div>
Expand Down Expand Up @@ -399,7 +399,7 @@ const EditRule = connect(state => state.k8s.get('RESOURCES') || {}, {getResource
<p>
<label>API Groups:</label>
</p>
<p>Restrict this role to a subset of API URLs that don&rsquo;t correspond to objects.</p>
<p className="text-secondary">Restrict this role to a subset of API URLs that don&rsquo;t correspond to objects.</p>

<div>
<input type="text" value={APIGroups} className="form-control text-input" onChange={e => this.setApiGroups(e.target.value)} placeholder="Comma separated list of the api groups for the selected resources." />
Expand Down
11 changes: 7 additions & 4 deletions frontend/public/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@

.co-m-table-grid {
line-height: 1;
&__sort-arrow {
margin-left: 10px;
color: $color-grey-medium;
&__head {
color: $color-text-secondary;
text-transform: uppercase;
}
&__sort-link--unsorted {
color: $color-grey-medium;
color: $color-text-secondary;
}
&__sort-arrow {
margin-left: 10px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/public/components/events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ class EventStream extends SafetyFirst {
<div className="row">
<div className="col-xs-12"><p></p>
<div className="co-sysevent-stream">
<div className="co-sysevent-stream__totals">
<div className="co-sysevent-stream__totals text-muted">
{ messageCount }
</div>

Expand Down
1 change: 1 addition & 0 deletions frontend/public/components/factory/_modal-wrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
&__heading {
margin-bottom: 4px;
text-transform: uppercase;
color: $color-text-secondary;
}

&__btn {
Expand Down
3 changes: 2 additions & 1 deletion frontend/public/style/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ dl {

dt {
text-transform: uppercase;
font-weight: 300;
font-weight: 400;
color: $color-text-secondary;
font-size: 12px; }

dd {
Expand Down
8 changes: 8 additions & 0 deletions frontend/public/style/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
.co-table-container {
overflow: auto;
margin-bottom: 30px;
table {
thead {
th {
color: $color-text-secondary;
font-weight: 400;
}
}
}
}

.co-m-pane__details {
Expand Down
4 changes: 4 additions & 0 deletions frontend/public/style/_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ h2,
font-weight: normal;
}

.text-secondary {
color: $color-text-secondary;
}

small {
font-size: 12px;
}
Expand Down
1 change: 1 addition & 0 deletions frontend/public/style/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ $color-border-brown: #947663;
$color-grey-when-selected: #e5e5e5;

$color-text-muted: $co-gray;
$color-text-secondary: $color-grey-medium;

//OpenShift color variables
$color-os-nav-title: #d1d1d1;
Expand Down

0 comments on commit 133045d

Please sign in to comment.