Skip to content

Commit c2657ba

Browse files
committed
Merge branch 'master' into use-heapster-inside-cluster
2 parents eb50b55 + f668a44 commit c2657ba

File tree

7 files changed

+25
-19
lines changed

7 files changed

+25
-19
lines changed

.sass-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ rules:
7777
hex-notation: 2
7878
indentation: 2
7979
leading-zero: 2
80-
nesting-depth: 2
80+
nesting-depth: 3
8181
property-sort-order: 2
8282
quotes: 2
8383
shorthand-values: 2

src/app/frontend/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ $caption-font-size-base: rem(1.2) !default;
2828
$toolbar-height-size-base: rem(6.4) !default;
2929

3030
$primary: #326de6;
31+
$secondary: #f51200;
3132
$warning: #ffa500;
3233
$delicate: #aaa;
3334
$muted: #888;
3435
$hover-primary: #1254df;
36+
$hover-secondary: #ff1c19;
3537
$body: #eee;
3638
$emphasis: #000;
3739
$content-background: #fff;

src/app/frontend/deploy/createnamespace.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
limitations under the License.
1515
-->
1616

17-
<md-dialog aria-label="Create a new namespace" layout="column" layout-padding>
18-
<md-content layout-padding>
17+
<md-dialog aria-label="Create a new namespace" layout="column">
18+
<md-dialog-content layout-padding>
1919
<h4 class="md-title" >Create a new namespace</h4>
20-
<p>The new namespace will be added to the cluster.</p>
20+
<div>The new namespace will be added to the cluster.</div>
2121
<!-- TODO(maciaszczykm): Missing detailed cluster info. -->
2222
<form name="ctrl.namespaceForm" ng-submit="ctrl.createNamespace()"
2323
novalidate>
@@ -38,5 +38,5 @@ <h4 class="md-title" >Create a new namespace</h4>
3838
<md-button ng-click="ctrl.cancel()">Cancel</md-button>
3939
</md-dialog-actions>
4040
</form>
41-
</md-content>
41+
</md-dialog-content>
4242
</md-dialog>

src/app/frontend/replicasetdetail/deletereplicaset.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
limitations under the License.
1515
-->
1616

17-
<md-dialog aria-label="Delete Replica Set" layout="column" layout-padding>
18-
<md-content layout-padding>
17+
<md-dialog aria-label="Delete Replica Set" layout="column">
18+
<md-dialog-content layout-padding>
1919
<h4 class="md-title">Delete Replica Set</h4>
20-
<p>
20+
<div>
2121
Delete replica set {{::ctrl.replicaSet}} in namespace {{::ctrl.namespace}}.<br>
2222
Pods managed by the replica set will be also deleted.
23-
</p>
23+
</div>
2424
<md-dialog-actions>
2525
<md-button class="md-primary" ng-click="ctrl.cancel()">Cancel</md-button>
2626
<md-button class="md-primary" ng-click="ctrl.remove()">Delete</md-button>
2727
</md-dialog-actions>
28-
</md-content>
28+
</md-dialog-content>
2929
</md-dialog>

src/app/frontend/replicasetdetail/replicasetdetail.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ <h1 flex class="md-title kd-replicasetdetail-app-name">
2828
</div>
2929
</div>
3030
<div flex layout="column" class="kd-replicasetdetail-sidebar-item">
31-
<span class="kd-replicasetdetail-sidebar-title kd-replicasetdetail-sidebar-info">
32-
Replica Set
33-
</span>
3431
<div layout="row" flex="nogrow">
3532
<md-button class="md-primary" ng-click="ctrl.handleDeleteReplicaSetDialog()">
3633
<md-icon class="material-icons">delete</md-icon>

src/app/frontend/replicasetdetail/updatereplicas.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
limitations under the License.
1515
-->
1616

17-
<md-dialog aria-label="Create a new namespace" layout="column" layout-padding>
18-
<md-content layout-padding>
17+
<md-dialog aria-label="Create a new namespace" layout="column">
18+
<md-dialog-content layout-padding>
1919
<h4 class="md-title">Set desired number of pods</h4>
20-
<p>Replica set {{ctrl.replicaSet}} will be updated to reflect the desired count.
21-
<br/>
20+
<div>
21+
Replica set {{ctrl.replicaSet}} will be updated to reflect the desired count.<br/>
2222
<span class="kd-updatereplicas-pod-status">
2323
Current status: {{ctrl.currentPods}}
2424
created, {{ctrl.desiredPods}} desired
2525
</span>
26-
</p>
26+
</div>
2727
<form ng-submit="ctrl.updateReplicas()">
2828
<md-input-container class="md-block">
2929
<label>Number of pods</label>
@@ -34,5 +34,5 @@ <h4 class="md-title">Set desired number of pods</h4>
3434
<md-button class="md-primary" type="submit">OK</md-button>
3535
</md-dialog-actions>
3636
</form>
37-
</md-content>
37+
</md-dialog-content>
3838
</md-dialog>

src/app/frontend/replicasetlist/replicasetlist.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@
1616

1717
.md-fab {
1818
&.kd-replicaset-deploy {
19+
background-color: $secondary;
1920
position: fixed;
2021
right: 0;
2122
top: $toolbar-height-size-base - $baseline-grid * 3.5 - $baseline-grid;
23+
24+
&:not([disabled]) {
25+
&:hover {
26+
background-color: $hover-secondary;
27+
}
28+
}
2229
}
2330
}

0 commit comments

Comments
 (0)