debian-mirror-gitlab/app/assets/stylesheets/page_bundles/members.scss

256 lines
3.7 KiB
SCSS
Raw Normal View History

2021-04-17 20:07:23 +05:30
@import 'mixins_and_variables_and_functions';
2016-11-03 12:29:30 +05:30
.project-members-title {
padding-bottom: 10px;
border-bottom: 1px solid $border-color;
}
2020-03-13 15:44:24 +05:30
.invite-users-form {
2018-12-05 23:21:45 +05:30
.btn-success {
2017-09-10 17:25:29 +05:30
margin-right: 10px;
}
}
2016-11-03 12:29:30 +05:30
.member {
2019-09-04 21:01:54 +05:30
&.is-overridden {
2019-07-07 11:18:12 +05:30
.btn-ldap-override {
display: none !important;
}
}
2016-11-03 12:29:30 +05:30
.controls {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-11-03 12:29:30 +05:30
display: flex;
}
2018-03-17 18:26:18 +05:30
2018-11-08 19:23:39 +05:30
.dropdown-menu.dropdown-menu-right {
2018-03-17 18:26:18 +05:30
margin-top: -2px;
}
2016-11-03 12:29:30 +05:30
}
2018-11-08 19:23:39 +05:30
.form-group {
margin-bottom: 0;
2019-09-04 21:01:54 +05:30
}
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
&.existing-title {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
float: left;
}
}
2016-11-03 12:29:30 +05:30
}
.member-form-control {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2016-11-03 12:29:30 +05:30
margin-right: 0;
2018-11-08 19:23:39 +05:30
width: auto;
2016-11-03 12:29:30 +05:30
}
}
.member-search-btn {
position: absolute;
2017-08-17 22:00:37 +05:30
right: 4px;
2016-11-03 12:29:30 +05:30
top: 0;
2019-10-12 21:52:04 +05:30
height: $input-height;
2016-11-03 12:29:30 +05:30
padding-left: 10px;
padding-right: 10px;
color: $gray-darkest;
background: transparent;
border: 0;
outline: 0;
}
2017-08-17 22:00:37 +05:30
2019-07-07 11:18:12 +05:30
.members-ldap {
align-self: center;
}
.alert-member-ldap {
background-color: $orange-50;
@include media-breakpoint-up(sm) {
line-height: 40px;
}
> p {
float: left;
margin-bottom: 10px;
color: $orange-600;
@include media-breakpoint-up(sm) {
padding-left: 55px;
margin-bottom: 0;
}
}
.controls {
width: 100%;
@include media-breakpoint-up(sm) {
width: auto;
}
}
}
.btn-ldap-override {
width: 100%;
@include media-breakpoint-up(sm) {
margin-left: 10px;
width: auto;
}
}
2017-08-17 22:00:37 +05:30
.flex-project-members-panel {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(sm) {
2017-08-17 22:00:37 +05:30
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-11-08 19:23:39 +05:30
.badge.badge-pill {
2017-08-17 22:00:37 +05:30
height: 17px;
line-height: 16px;
margin-right: 5px;
padding-top: 1px;
padding-bottom: 1px;
}
2019-10-12 21:52:04 +05:30
.flex-users-form {
2017-08-17 22:00:37 +05:30
flex-wrap: nowrap;
white-space: nowrap;
margin-left: auto;
}
}
2018-11-08 19:23:39 +05:30
.card {
.card-header {
.badge.badge-pill {
2017-08-17 22:00:37 +05:30
margin-top: 0;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(sm) {
.badge.badge-pill {
2017-08-17 22:00:37 +05:30
margin-right: 0;
margin-left: 0;
}
}
}
2017-09-10 17:25:29 +05:30
}
.content-list.members-list li {
.list-item-name {
float: none;
display: flex;
flex: 1;
}
.user-info {
padding-right: 10px;
}
.member {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-09-10 17:25:29 +05:30
overflow-wrap: break-word;
word-break: break-all;
}
.form-control {
width: inherit;
}
.btn {
align-self: flex-start;
}
2019-09-04 21:01:54 +05:30
@include media-breakpoint-down(sm) {
.member-access-text {
margin: 0 0 $gl-padding-4 ($grid-size * 6);
}
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
display: block;
2019-09-04 21:01:54 +05:30
.controls > .btn,
.controls .member-form-control {
margin: 0 0 $gl-padding-8;
2017-09-10 17:25:29 +05:30
display: block;
}
.form-control {
width: 100%;
}
}
}
2021-01-03 14:25:43 +05:30
.members-table {
@include media-breakpoint-up(lg) {
.col-meta {
width: px-to-rem(150px);
}
.col-max-role {
width: px-to-rem(175px);
}
.col-expiration {
width: px-to-rem(200px);
}
.col-actions {
2021-01-29 00:20:46 +05:30
width: px-to-rem(65px);
2021-01-03 14:25:43 +05:30
}
}
2021-01-29 00:20:46 +05:30
.gl-datepicker-input {
width: px-to-rem(165px);
max-width: 100%;
}
2021-01-03 14:25:43 +05:30
}
2018-11-08 19:23:39 +05:30
.card-mobile {
2017-09-10 17:25:29 +05:30
.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;
}
}
}