Skip to content

Commit

Permalink
refactor(core/amazon): remove unused CSS rules (#7732)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
anotherchrisberry and mergify[bot] committed Jan 6, 2020
1 parent 6548872 commit abf39e7
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 503 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,6 @@
flex-wrap: wrap;
}
}
.wizard-pod-rule {
.wizard-pod-rule-conditions {
display: inline-block;
}
.wizard-pod-rule-action {
display: inline-block;
}
}

.listener-rule {
.handle {
Expand All @@ -112,7 +104,7 @@
label {
white-space: nowrap;
}
a.help-field {
.help-field {
> span {
top: 4px;
padding: 0 2px;
Expand Down
15 changes: 0 additions & 15 deletions app/scripts/modules/canary/canary.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ div.canary-score {
}
}

.canary-container {
padding-bottom: 10px;
display: flex;
flex-direction: row;
}

.score-large.score {
height: 48px;
}
Expand All @@ -91,12 +85,3 @@ div.canary-score {
min-width: 48px;
display: inline-block;
}

.canary-column {
flex: 0 0 auto;
margin-left: 10px;
}

.canary-column:not(:last-child) {
margin-right: 15px;
}
10 changes: 0 additions & 10 deletions app/scripts/modules/core/src/application/application.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@
.pull-right;
}

.link-inverse {
color: var(--color-accessory-light);
&:active,
&:focus,
&:hover {
color: var(--color-accessory);
text-decoration: none;
}
}

.filter-tags {
padding: 5px 15px 0;
.filter-tag {
Expand Down
1 change: 0 additions & 1 deletion app/scripts/modules/core/src/application/applications.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import (reference) '~core/presentation/less/imports/commonImports.less';

applications,
.applications {
flex: 1 1 auto;
display: flex;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { cloneDeep } from 'lodash';
import { ApplicationWriter } from 'core/application/service/ApplicationWriter';
import { Application } from 'core/application/application.model';

import './configSectionFooter.component.less';

export interface IConfigSectionFooterViewState {
originalConfig: any;
originalStringVal: string;
Expand Down
3 changes: 0 additions & 3 deletions app/scripts/modules/core/src/application/newapplication.less

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,4 @@ chaos-monkey-config {
.first-header {
margin-top: 0;
}

help-field {
.small {
font-size: 100%;
}
}
}
42 changes: 1 addition & 41 deletions app/scripts/modules/core/src/cluster/rollups.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
background-color: var(--color-alabaster);
margin: 0;
padding: 10px 0;

&.heading-sticky {
box-shadow: 0 8px 6px -6px var(--color-concrete);
}
}

.heading-sticky {
> h4 {
box-shadow: 0 8px 6px -6px var(--color-concrete);
}
}
}

Expand All @@ -52,8 +42,7 @@
}

.glyphicon-th,
.glyphicon-th-large,
.icon-server-group {
.glyphicon-th-large {
color: var(--color-success);
}

Expand Down Expand Up @@ -443,12 +432,6 @@ running-tasks-tag {
background-color: var(--color-alabaster);
}

.heading-sticky {
> h6 {
background-color: var(--color-alabaster);
}
}

.rollup-pod-server-group {
.server-group-title {
background-color: rgba(255, 255, 255, 0.9);
Expand Down Expand Up @@ -546,10 +529,6 @@ running-tasks-tag {
opacity: 0.4;
}

.icon-server-group {
color: var(--color-dovegray);
}

&:hover {
.section-title,
.health-counts,
Expand All @@ -559,21 +538,6 @@ running-tasks-tag {
}
}
}

.load-balancer-server-group {
.instances {
padding: 0;
}
}

&.instances-only {
padding: 10px;
}

.build-title {
font-size: 110%;
padding: 10px 10px 8px 10px;
}
}

.instances {
Expand Down Expand Up @@ -609,8 +573,4 @@ running-tasks-tag {
}
}
}

.heading-sticky {
box-shadow: 0 8px 6px -6px var(--color-concrete);
}
}
2 changes: 0 additions & 2 deletions app/scripts/modules/core/src/function/FunctionPod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { Application } from 'core/application/application.model';
import { IFunctionGroup } from 'core/domain';
import Function from './Function';

import './functionPod.less';

export interface IFunctionPodProps {
grouping: IFunctionGroup;
application: Application;
Expand Down
40 changes: 0 additions & 40 deletions app/scripts/modules/core/src/function/functionPod.less

This file was deleted.

6 changes: 0 additions & 6 deletions app/scripts/modules/core/src/healthCounts/healthCounts.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,3 @@ health-counts {
}
}
}

.securityGroup-counts {
.count {
margin-left: 5px;
}
}
3 changes: 0 additions & 3 deletions app/scripts/modules/core/src/instance/instanceSelection.less
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ v-2-instance-archetype-selector {
padding-top: 0;
padding-bottom: 0;
}
.panel-body {
padding-top: 0;
}
&:hover,
&:focus,
&.active {
Expand Down
6 changes: 0 additions & 6 deletions app/scripts/modules/core/src/modal/modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
}
}

.modal-squared {
.modal-content {
border-radius: 0;
}
}

.modal-header {
background-color: var(--color-alabaster);
h3 {
Expand Down
32 changes: 0 additions & 32 deletions app/scripts/modules/core/src/navigation/navigation.less
Original file line number Diff line number Diff line change
Expand Up @@ -73,32 +73,6 @@
}
}
}
.sort-filter {
.form-inline,
.form-horizontal {
border-bottom: 1px solid var(--color-seashell);
padding: 0 10px 10px 10px;
label {
font-weight: normal;
margin-bottom: 0;
}
.checkbox {
min-height: 20px;
padding-top: 0;
}
}
.form-inline {
@media (min-width: 768px) {
label {
margin-left: 10px;
}
input,
select {
margin-left: 10px;
}
}
}
}
.content {
padding: 0 0 10px;
@media (min-width: 708px) and (max-width: 992px) {
Expand All @@ -108,12 +82,6 @@
}
}

@media (min-width: @screen-lg-min) {
.pull-right-lg {
float: right;
}
}

.nav.navbar-nav {
.remove-border-top:hover,
.remove-border-top:active {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
.slack-channel-form-control {
.slack-channel-annotation {
position: absolute;
top: 5px;
left: 25px;
color: var(--color-concrete);
}

.form-control {
padding-left: 22px;
}
}
.notification-details {
.checkbox {
width: 100%;
Expand Down
Loading

0 comments on commit abf39e7

Please sign in to comment.