gitlab-org--gitlab-foss/app/assets/stylesheets/pages/members.scss

270 lines
4 KiB
SCSS
Raw Normal View History

2016-10-04 05:32:24 -04:00
.project-members-title {
padding-bottom: 10px;
border-bottom: 1px solid $border-color;
}
.users-project-form {
.btn-success {
margin-right: 10px;
}
}
2018-05-23 16:41:32 -04:00
.member-sort-dropdown {
margin-left: $gl-padding-8;
}
2016-08-31 10:28:58 -04:00
.member {
.list-item-name {
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
float: left;
width: 50%;
}
strong {
font-weight: $gl-font-weight-bold;
}
}
2016-08-31 10:28:58 -04:00
.controls {
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2016-09-05 10:45:23 -04:00
display: -webkit-flex;
display: flex;
}
2018-04-17 13:18:41 -04:00
.dropdown-menu.dropdown-menu-right {
margin-top: -2px;
}
2016-08-31 10:28:58 -04:00
}
.form-group {
margin-bottom: 0;
@include media-breakpoint-down(sm) {
display: block;
margin-left: 5px;
}
}
.btn-remove {
width: 100%;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
width: auto;
}
}
2017-07-12 05:50:26 -04:00
&.existing-title {
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2017-07-12 05:50:26 -04:00
float: left;
}
}
}
.member-form-control {
@include media-breakpoint-down(sm) {
width: $dropdown-member-form-control-width;
margin-left: 0;
padding-bottom: 5px;
}
@include media-breakpoint-down(xs) {
margin-right: 0;
width: auto;
2016-08-31 10:28:58 -04:00
}
}
.member-access-text {
margin-left: auto;
line-height: 43px;
}
2016-09-02 04:04:28 -04:00
.member-search-form {
position: relative;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2016-09-02 04:04:28 -04:00
float: right;
}
2016-10-18 08:22:18 -04:00
.dropdown {
width: 100%;
margin-top: 5px;
.dropdown-menu-toggle {
2016-12-02 05:24:28 -05:00
vertical-align: middle;
2016-10-18 08:22:18 -04:00
width: 100%;
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2016-12-02 05:24:28 -05:00
margin-top: 0;
2016-10-18 08:22:18 -04:00
width: 155px;
}
}
2016-09-02 04:04:28 -04:00
.form-control {
width: 100%;
padding-right: 35px;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-up(sm) {
2017-01-03 17:20:11 -05:00
width: 250px;
}
2016-10-18 08:22:18 -04:00
}
}
2016-10-18 08:22:18 -04:00
.member-search-btn {
position: absolute;
right: 4px;
top: 0;
height: 35px;
padding-left: 10px;
padding-right: 10px;
color: $gray-darkest;
background: transparent;
border: 0;
outline: 0;
2016-09-02 04:04:28 -04:00
}
2017-04-24 14:24:51 -04:00
.flex-project-members-panel {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(sm) {
2017-04-24 14:24:51 -04:00
display: block;
.flex-project-title {
vertical-align: top;
display: inline-block;
max-width: 90%;
}
}
.flex-project-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
2018-04-09 11:26:28 -04:00
.badge.badge-pill {
2017-04-24 14:24:51 -04:00
height: 17px;
line-height: 16px;
margin-right: 5px;
padding-top: 1px;
padding-bottom: 1px;
}
.flex-project-members-form {
flex-wrap: nowrap;
white-space: nowrap;
margin-left: auto;
}
}
2018-04-09 11:26:28 -04:00
.card {
.card-header {
2018-04-09 11:26:28 -04:00
.badge.badge-pill {
2017-04-24 14:24:51 -04:00
margin-top: 0;
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(sm) {
.badge.badge-pill {
2017-04-24 14:24:51 -04:00
margin-right: 0;
margin-left: 0;
}
}
}
2017-05-25 18:03:32 -04:00
}
2017-07-05 15:17:02 -04:00
.content-list.members-list li {
display: flex;
justify-content: space-between;
.list-item-name {
float: none;
display: flex;
flex: 1;
}
.user-info {
padding-right: 10px;
}
.member {
font-weight: $gl-font-weight-bold;
2017-07-05 15:17:02 -04:00
overflow-wrap: break-word;
word-break: break-all;
}
.member-group-link {
display: inline-block;
}
.form-control {
width: inherit;
}
.btn {
align-self: flex-start;
}
2018-04-09 11:26:28 -04:00
@include media-breakpoint-down(xs) {
2017-07-05 15:17:02 -04:00
display: block;
.controls > .btn {
margin-left: 0;
margin-right: 0;
display: block;
}
.controls > .btn:last-child {
margin-left: 5px;
margin-right: 5px;
width: auto;
}
2017-07-05 15:17:02 -04:00
.form-control {
width: 100%;
}
.member-access-text {
line-height: 0;
margin-left: 50px;
}
.member-controls {
margin-top: 5px;
}
}
}
2018-04-09 11:26:28 -04:00
.card-mobile {
2017-07-05 15:17:02 -04:00
.content-list.members-list li {
display: block;
.member-controls {
float: none;
display: block;
}
.dropdown-menu-toggle,
.dropdown-menu,
.form-control,
.list-item-name {
width: 100%;
}
.dropdown-menu {
margin-top: 0;
}
.member-form-control {
margin: 5px 0;
}
.btn {
width: 100%;
margin-left: 0;
}
}
}