Skip to content

Commit 6ed5c08

Browse files
committed
Tweaks to style
1. Bottom margin on checkbox (prevent scrolling when it's the last element) 2. Icon buttons behavior outside of list
1 parent 4af1dc4 commit 6ed5c08

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

angular-lib/src/angular/ui/styles/cloudapp.scss

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ body[class*=cloudapp-theme]
4444
background-color: #d5d5d5;
4545
}
4646
.mat-checkbox {
47-
margin-top: 3px;
47+
margin: 3px 0 12px;
4848
}
4949
.mat-card-header-text {
5050
margin-left: 0;
@@ -67,20 +67,24 @@ body[class*=cloudapp-theme]
6767
padding-bottom: 5px;
6868
height: unset;
6969
}
70+
/* Buttons */
71+
i.eca-button,
72+
i.cloudapp-button {
73+
cursor: pointer;
74+
padding: 7px;
75+
border-radius: 50%;
76+
&:hover {
77+
background-color: #E5E5E5;
78+
}
79+
&:first-of-type {
80+
margin-left: auto;
81+
}
82+
}
7083
/* List buttons */
7184
.mat-list-item {
7285
i.eca-button,
7386
i.cloudapp-button {
7487
visibility: hidden;
75-
cursor: pointer;
76-
padding: 7px;
77-
border-radius: 50%;
78-
&:hover {
79-
background-color: #E5E5E5;
80-
}
81-
&:first-of-type {
82-
margin-left: auto;
83-
}
8488
}
8589
&:hover i.eca-button,
8690
&:hover i.cloudapp-button {

0 commit comments

Comments
 (0)