debian-mirror-gitlab/app/assets/stylesheets/pages/groups.scss

542 lines
8.7 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.milestone-row {
@include str-truncated(90%);
}
2015-10-24 18:46:33 +05:30
2018-11-08 19:23:39 +05:30
.dashboard .side .card .card-header .input-group {
2015-10-24 18:46:33 +05:30
.form-control {
height: 42px;
}
2015-12-23 02:04:40 +05:30
}
2016-04-02 18:10:28 +05:30
2020-04-22 19:07:51 +05:30
.groups-list {
@include basic-list;
display: flex;
flex-direction: column;
margin: 0;
li {
.title {
font-weight: 600;
}
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
2017-08-17 22:00:37 +05:30
.group-root-path {
max-width: 40vw;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: nowrap;
}
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
.group-row {
2018-11-08 19:23:39 +05:30
.description p {
margin-bottom: 0;
2020-01-01 13:55:28 +05:30
color: $gl-text-color-secondary;
2018-11-08 19:23:39 +05:30
}
2016-04-02 18:10:28 +05:30
}
2020-06-23 00:09:42 +05:30
.save-group-loader {
margin-top: $gl-padding-50;
margin-bottom: $gl-padding-50;
2020-11-24 15:15:51 +05:30
color: $gray-700;
2020-06-23 00:09:42 +05:30
}
2018-03-17 18:26:18 +05:30
.group-nav-container .nav-controls {
.group-filter-form {
2018-11-20 20:47:30 +05:30
flex: 1 1 auto;
margin-right: $gl-padding-8;
2018-03-17 18:26:18 +05:30
}
2018-11-08 19:23:39 +05:30
.dropdown-menu-right {
2018-03-17 18:26:18 +05:30
margin-top: 0;
}
2019-03-02 22:35:43 +05:30
@include media-breakpoint-down(sm) {
.dropdown,
.dropdown .dropdown-toggle,
.btn-success {
display: block;
}
.group-filter-form,
.dropdown {
margin-bottom: 10px;
margin-right: 0;
}
&,
.group-filter-form,
.group-filter-form-field,
.dropdown,
.dropdown .dropdown-toggle,
.btn-success {
width: 100%;
}
}
}
2021-01-03 14:25:43 +05:30
.group-home-panel {
margin-top: $gl-padding;
margin-bottom: $gl-padding;
.home-panel-avatar {
width: $home-panel-title-row-height;
height: $home-panel-title-row-height;
flex-shrink: 0;
flex-basis: $home-panel-title-row-height;
}
.home-panel-title {
font-size: 20px;
line-height: $gl-line-height-24;
font-weight: bold;
.icon {
vertical-align: -1px;
}
.home-panel-topic-list {
font-size: $gl-font-size;
font-weight: $gl-font-weight-normal;
.icon {
position: relative;
top: 3px;
margin-right: $gl-padding-4;
}
}
}
.home-panel-title-row {
@include media-breakpoint-down(sm) {
.home-panel-avatar {
width: $home-panel-avatar-mobile-size;
height: $home-panel-avatar-mobile-size;
flex-basis: $home-panel-avatar-mobile-size;
.avatar {
font-size: 20px;
line-height: 46px;
}
}
.home-panel-title {
margin-top: 4px;
margin-bottom: 2px;
font-size: $gl-font-size;
line-height: $gl-font-size-large;
}
.home-panel-topic-list,
.home-panel-metadata {
font-size: $gl-font-size-small;
}
}
}
.home-panel-metadata {
font-weight: normal;
font-size: 14px;
line-height: $gl-btn-line-height;
}
.home-panel-description {
@include media-breakpoint-up(md) {
font-size: $gl-font-size-large;
}
}
}
2019-03-02 22:35:43 +05:30
.home-panel-buttons {
.home-panel-action-button {
vertical-align: top;
}
.notification-dropdown {
.dropdown-menu {
@extend .dropdown-menu-right;
}
.icon {
fill: $gl-text-color-secondary;
}
}
2018-03-17 18:26:18 +05:30
.new-project-subgroup {
.dropdown-primary {
min-width: 115px;
}
.dropdown-toggle {
.dropdown-btn-icon {
pointer-events: none;
color: inherit;
margin-left: 0;
}
}
.dropdown-menu {
min-width: 280px;
margin-top: 2px;
}
li:not(.divider) {
padding: 0;
&.droplab-item-selected {
.icon-container {
.list-item-checkmark {
visibility: visible;
}
}
}
.menu-item {
padding: 8px 4px;
&:hover {
background-color: $gray-darker;
2019-03-02 22:35:43 +05:30
color: $gray-900;
2018-03-17 18:26:18 +05:30
}
}
.icon-container {
float: left;
padding-left: 6px;
.list-item-checkmark {
visibility: hidden;
}
}
.description {
font-size: 14px;
strong {
display: block;
font-weight: $gl-font-weight-bold;
}
}
2019-03-02 22:35:43 +05:30
@include media-breakpoint-down(sm) {
display: flex;
align-items: flex-start;
2018-03-17 18:26:18 +05:30
2019-03-02 22:35:43 +05:30
.dropdown-primary {
flex: 1;
}
2018-03-17 18:26:18 +05:30
2019-03-02 22:35:43 +05:30
.dropdown-toggle {
width: auto;
}
2018-11-20 20:47:30 +05:30
2019-03-02 22:35:43 +05:30
.dropdown-menu {
width: 100%;
max-width: inherit;
min-width: inherit;
}
2018-03-17 18:26:18 +05:30
}
2016-09-29 09:46:39 +05:30
}
}
}
2016-11-03 12:29:30 +05:30
2019-07-07 11:18:12 +05:30
.card {
.shared_runners_limit_under_quota {
color: $green-500;
}
.shared_runners_limit_over_quota {
color: $red-500;
}
}
.pipeline-quota {
border-top: 1px solid $table-border-color;
border-bottom: 1px solid $table-border-color;
margin: 0 0 $gl-padding;
.row {
padding-top: 10px;
padding-bottom: 10px;
}
.right {
text-align: right;
}
.progress {
height: 6px;
width: 100%;
margin-bottom: 0;
margin-top: 4px;
}
}
.user-settings-pipeline-quota {
margin-top: $gl-padding;
.pipeline-quota {
border-top: 0;
}
}
table.pipeline-project-metrics tr td {
padding: $gl-padding;
}
2017-08-17 22:00:37 +05:30
.mattermost-team-name {
color: $gl-text-color-secondary;
}
.mattermost-info {
display: block;
color: $gl-text-color-secondary;
margin-top: 10px;
}
.explore-groups.landing {
.inner-content {
padding: 0;
p {
margin: 7px 0 0;
max-width: 480px;
padding: 0 $gl-padding;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(sm) {
2017-08-17 22:00:37 +05:30
margin: 0 auto;
}
}
}
2018-12-13 13:39:08 +05:30
.svg-container svg {
2017-08-17 22:00:37 +05:30
width: 62px;
height: 50px;
}
}
2018-03-17 18:26:18 +05:30
.user-access-role {
2021-01-29 00:20:46 +05:30
@include gl-px-3;
2018-03-17 18:26:18 +05:30
display: inline-block;
color: $gl-text-color-secondary;
font-size: 12px;
line-height: 20px;
border: 1px solid $border-color;
border-radius: $label-border-radius;
font-weight: $gl-font-weight-normal;
}
.js-groups-dropdown {
width: 100%;
}
.dropdown-group-transfer {
bottom: 100%;
top: initial;
.dropdown-content {
overflow-y: unset;
}
}
2018-11-08 19:23:39 +05:30
.groups-list-tree-container {
.has-no-search-results {
text-align: center;
padding: $gl-padding;
font-style: italic;
color: $well-light-text-color;
}
> .group-list-tree > .group-row.has-children:first-child {
border-top: 0;
}
}
.group-list-tree {
.folder-toggle-wrap {
font-size: 0;
2018-11-18 11:00:15 +05:30
flex-shrink: 0;
2018-11-08 19:23:39 +05:30
span {
font-size: $gl-font-size;
}
}
.folder-caret,
.item-type-icon {
display: inline-block;
2019-09-30 21:07:59 +05:30
color: $gl-text-color-secondary;
2018-11-08 19:23:39 +05:30
}
.folder-caret {
2019-09-30 21:07:59 +05:30
width: $gl-font-size-large;
2018-11-08 19:23:39 +05:30
svg {
2019-09-30 21:07:59 +05:30
margin-bottom: 2px;
2018-11-08 19:23:39 +05:30
}
}
.item-type-icon {
margin-top: 2px;
width: 20px;
}
> .group-row:not(.has-children) {
.folder-caret {
opacity: 0;
}
}
.group-list-tree {
margin-bottom: 0;
margin-left: 30px;
position: relative;
&::before {
content: '';
display: block;
width: 0;
position: absolute;
top: 5px;
bottom: 0;
left: -16px;
border-left: 2px solid $border-white-normal;
}
.group-row {
position: relative;
&::before {
2018-11-20 20:47:30 +05:30
content: '';
2018-11-08 19:23:39 +05:30
display: block;
width: 10px;
height: 0;
border-top: 2px solid $border-white-normal;
position: absolute;
top: 30px;
left: -16px;
}
&:last-child::before {
2020-04-22 19:07:51 +05:30
background: $white;
2018-11-08 19:23:39 +05:30
height: auto;
top: 30px;
bottom: 0;
}
&.being-removed {
opacity: 0.5;
}
}
}
.group-row {
padding: 0;
&.has-children {
border-top: 0;
}
&:first-child {
border-top: 1px solid $white-normal;
}
}
.group-row-contents {
&:hover {
2018-11-20 20:47:30 +05:30
border-color: $blue-200;
background-color: $blue-50;
2018-11-08 19:23:39 +05:30
cursor: pointer;
}
2019-09-30 21:07:59 +05:30
.group-text-container,
2018-11-18 11:00:15 +05:30
.group-text {
min-width: 0; // allows for truncated text within flex children
}
2019-09-30 21:07:59 +05:30
.group-text {
flex-basis: 100%;
}
2018-11-18 11:00:15 +05:30
.avatar-container {
flex-shrink: 0;
> a {
width: 100%;
text-decoration: none;
}
2018-11-08 19:23:39 +05:30
}
2019-09-30 21:07:59 +05:30
.title {
margin-top: -$gl-padding-8; // negative margin required for flex-wrap
2020-03-13 15:44:24 +05:30
font-size: $gl-font-size;
2019-09-30 21:07:59 +05:30
}
2018-11-08 19:23:39 +05:30
&.has-more-items {
display: block;
padding: 20px 10px;
}
2018-11-18 11:00:15 +05:30
.description {
p {
@include str-truncated;
2020-04-08 14:13:33 +05:30
max-width: 100%;
2018-11-18 11:00:15 +05:30
}
}
2018-11-08 19:23:39 +05:30
.stats {
position: relative;
2018-11-18 11:00:15 +05:30
line-height: normal;
text-align: right;
flex-shrink: 0;
2018-11-08 19:23:39 +05:30
> span {
display: inline-flex;
align-items: center;
height: 16px;
min-width: 30px;
}
.stat-value {
margin: 2px 0 0 5px;
}
}
2018-11-18 11:00:15 +05:30
}
2018-11-08 19:23:39 +05:30
.project-row-contents .stats {
line-height: inherit;
> span:first-child {
margin-left: 25px;
}
.item-visibility {
margin-right: 0;
}
.last-updated {
2018-11-18 11:00:15 +05:30
position: relative;
2018-11-08 19:23:39 +05:30
min-width: 250px;
text-align: right;
color: $gl-text-color-secondary;
}
}
}
.js-groups-list-holder {
.groups-list-loading {
font-size: 34px;
text-align: center;
}
}