mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Merge pull request #766 from alphagov/visual-refactor-team-page
Visual refactor team page
This commit is contained in:
BIN
app/assets/images/cross-grey.png
Normal file
BIN
app/assets/images/cross-grey.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
46
app/assets/stylesheets/components/tick-cross.scss
Normal file
46
app/assets/stylesheets/components/tick-cross.scss
Normal file
@@ -0,0 +1,46 @@
|
||||
%tick-cross {
|
||||
@include core-16;
|
||||
display: inline-block;
|
||||
background-size: 19px 19px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
padding: 1px 0 0 25px;
|
||||
}
|
||||
|
||||
.tick-cross {
|
||||
|
||||
&-tick {
|
||||
@extend %tick-cross;
|
||||
background-image: file-url('tick.png');
|
||||
}
|
||||
|
||||
&-cross {
|
||||
@extend %tick-cross;
|
||||
background-image: file-url('cross-grey.png');
|
||||
color: $secondary-text-colour;
|
||||
}
|
||||
|
||||
&-list {
|
||||
|
||||
@extend %grid-row;
|
||||
margin-top: 5px;
|
||||
|
||||
&-permissions {
|
||||
|
||||
@include grid-column(3/4);
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-edit-link {
|
||||
@include grid-column(1/4);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -54,11 +54,13 @@ $path: '/static/images/';
|
||||
@import 'components/message';
|
||||
@import 'components/phone';
|
||||
@import 'components/research-mode';
|
||||
@import 'components/tick-cross';
|
||||
|
||||
@import 'views/job';
|
||||
@import 'views/edit-template';
|
||||
@import 'views/documenation';
|
||||
@import 'views/dashboard';
|
||||
@import 'views/users';
|
||||
|
||||
// TODO: break this up
|
||||
@import 'app';
|
||||
|
||||
16
app/assets/stylesheets/views/users.scss
Normal file
16
app/assets/stylesheets/views/users.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
.user-list {
|
||||
|
||||
@include core-16;
|
||||
|
||||
&-item {
|
||||
|
||||
padding: $gutter-half 0;
|
||||
border-top: 1px solid $border-colour;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 1px solid $border-colour;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user