Files
notifications-admin/app/assets/stylesheets/components/tick-cross.scss
Chris Hill-Scott 0092c8bb33 Change manage team layout to fit extra option
We’ve moved from three to four permissions. Four permissions don’t fit
in the exiting horizontal layout.

This commit makes the permissions stack vertically instead.

This approach has some downsides:
- makes the permissions less easy to scan vertically
- makes them take up a lot more space (and at lives services, most of
  them have somewhere around 15 team members)

But I think for now it’s better than any horizontal alternative that I
tried.
2017-08-17 17:53:12 +01:00

69 lines
1.0 KiB
SCSS

%tick-cross {
@include core-19;
display: inline-block;
background-size: 19px 19px;
background-repeat: no-repeat;
background-position: 0 6px;
padding: 6px 0 5px 25px;
@include ie-lte(8) {
background-position: 0 3px;
}
}
.tick-cross {
&-tick {
@extend %tick-cross;
background-image: file-url('tick.png');
@include ie-lte(8) {
background-image: file-url('tick-16px.png');
}
}
&-cross {
@extend %tick-cross;
color: $secondary-text-colour;
background-image: file-url('cross-grey.png');
box-shadow: inset 20px 0 0 0 rgba(255, 255, 255, 0.6);
@include ie-lte(8) {
background-image: file-url('cross-grey-16px.png');
}
}
&-list {
@extend %grid-row;
margin-top: 5px;
position: relative;
&-permissions {
@include grid-column(3/4);
li {
display: block;
margin-right: 0.5em;
}
}
&-edit-link {
text-align: right;
position: absolute;
top: -1.6em;
right: -135px;
}
}
}