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

1180 lines
19 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.new_project,
2017-09-10 17:25:29 +05:30
.edit-project,
.import-project {
2018-11-08 19:23:39 +05:30
.form-text.text-muted {
2016-08-24 12:49:21 +05:30
margin-bottom: 10px;
}
2016-11-03 12:29:30 +05:30
2017-08-17 22:00:37 +05:30
.project-path .form-control {
border-radius: $border-radius-base;
}
2016-11-03 12:29:30 +05:30
2018-05-09 12:01:36 +05:30
.input-group {
> div {
&:last-child {
padding-right: 0;
}
2016-08-24 12:49:21 +05:30
}
}
2016-11-03 12:29:30 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2016-08-24 12:49:21 +05:30
.input-group > div {
&:last-child {
margin-bottom: 0;
2016-06-02 11:05:42 +05:30
}
}
2016-11-03 12:29:30 +05:30
2016-08-24 12:49:21 +05:30
fieldset > .form-group:first-child {
padding-right: 0;
}
}
2018-11-08 19:23:39 +05:30
.input-group-prepend,
.input-group-append {
2018-05-09 12:01:36 +05:30
overflow: hidden;
text-overflow: ellipsis;
line-height: unset;
width: unset;
max-width: 50%;
text-align: left;
2017-08-17 22:00:37 +05:30
2016-08-24 12:49:21 +05:30
&.static-namespace {
height: 35px;
border-radius: 3px;
2017-08-17 22:00:37 +05:30
border: 1px solid $border-color;
2018-05-09 12:01:36 +05:30
max-width: 100%;
flex-grow: 1;
2016-08-24 12:49:21 +05:30
}
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
+ .btn-default {
2018-05-09 12:01:36 +05:30
border-radius: 0 $border-radius-base $border-radius-base 0;
2016-08-24 12:49:21 +05:30
}
}
2016-08-24 12:49:21 +05:30
}
2015-04-26 12:48:37 +05:30
2021-01-03 14:25:43 +05:30
// INFO Scoped to project_feature_setting and settings_panel components in app/assets/javascripts/pages/projects/shared/permissions/components
2018-03-17 18:26:18 +05:30
.project-repo-select {
transition: background 2s ease-out;
&:disabled {
opacity: 0.5;
pointer-events: none;
}
.highlight-changes & {
background: $highlight-changes-color;
transition: none;
}
}
2021-01-03 14:25:43 +05:30
// INFO Scoped to project_feature_setting and settings_panel components in app/assets/javascripts/pages/projects/shared/permissions/components
2018-03-17 18:26:18 +05:30
.project-feature-controls {
max-width: 432px;
}
2021-01-03 14:25:43 +05:30
// INFO Scoped to settings_panel component in app/assets/javascripts/pages/projects/shared/permissions/components
2018-03-17 18:26:18 +05:30
.project-feature-setting-group {
.project-feature-controls {
max-width: 400px;
}
}
2018-11-20 20:47:30 +05:30
.project-home-panel {
2019-03-02 22:35:43 +05:30
.home-panel-avatar {
flex-basis: $home-panel-title-row-height;
2018-11-20 20:47:30 +05:30
}
2019-03-02 22:35:43 +05:30
.home-panel-title {
2019-02-15 15:39:39 +05:30
.icon {
2020-10-24 23:57:45 +05:30
vertical-align: -1px;
2019-02-15 15:39:39 +05:30
}
2019-03-02 22:35:43 +05:30
.home-panel-topic-list {
2019-02-15 15:39:39 +05:30
.icon {
top: 3px;
}
}
}
2019-03-02 22:35:43 +05:30
.home-panel-title-row {
2019-02-15 15:39:39 +05:30
@include media-breakpoint-down(sm) {
2019-03-02 22:35:43 +05:30
.home-panel-avatar {
width: $home-panel-avatar-mobile-size;
height: $home-panel-avatar-mobile-size;
flex-basis: $home-panel-avatar-mobile-size;
2019-02-15 15:39:39 +05:30
.avatar {
font-size: 20px;
line-height: 46px;
}
}
2019-03-02 22:35:43 +05:30
.home-panel-title {
2019-02-15 15:39:39 +05:30
margin-top: 4px;
margin-bottom: 2px;
font-size: $gl-font-size;
line-height: $gl-font-size-large;
}
2019-03-02 22:35:43 +05:30
.home-panel-topic-list,
.home-panel-metadata {
2019-02-15 15:39:39 +05:30
font-size: $gl-font-size-small;
}
}
2018-11-20 20:47:30 +05:30
}
2019-03-02 22:35:43 +05:30
.home-panel-description {
2019-02-15 15:39:39 +05:30
@include media-breakpoint-up(md) {
font-size: $gl-font-size-large;
}
}
2018-11-20 20:47:30 +05:30
}
2019-03-02 22:35:43 +05:30
.nav > .project-buttons {
2017-08-17 22:00:37 +05:30
margin-top: 0;
}
2014-09-02 18:07:02 +05:30
2019-03-02 22:35:43 +05:30
.project-repo-buttons {
2016-08-24 12:49:21 +05:30
.btn {
svg {
2021-04-17 20:07:23 +05:30
fill: $gray-500;
}
2017-08-17 22:00:37 +05:30
}
.notification-dropdown .dropdown-menu {
2018-11-08 19:23:39 +05:30
@extend .dropdown-menu-right;
2017-08-17 22:00:37 +05:30
}
.download-button {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(md) {
2017-08-17 22:00:37 +05:30
margin-left: 0;
}
2016-08-24 12:49:21 +05:30
}
2018-11-20 20:47:30 +05:30
.project-clone-holder {
display: inline-block;
2019-02-15 15:39:39 +05:30
margin: $gl-padding 0 0;
2018-11-20 20:47:30 +05:30
input {
height: $input-height;
}
}
2014-09-02 18:07:02 +05:30
2018-03-17 18:26:18 +05:30
.clone-options-dropdown {
min-width: 240px;
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
.dropdown-menu-inner-content {
min-width: 320px;
}
2017-08-17 22:00:37 +05:30
}
2018-11-20 20:47:30 +05:30
.mobile-git-clone {
margin-top: $gl-padding-8;
2019-02-15 15:39:39 +05:30
}
}
2018-12-23 12:14:25 +05:30
2014-09-02 18:07:02 +05:30
.save-project-loader {
margin-top: 50px;
margin-bottom: 50px;
2020-11-24 15:15:51 +05:30
color: $gray-700;
2014-09-02 18:07:02 +05:30
}
2018-10-15 14:42:47 +05:30
.deploy-key {
// Ensure that the fingerprint does not overflow on small screens
.fingerprint {
word-break: break-all;
white-space: normal;
}
.deploy-project-label,
.key-created-at {
svg {
vertical-align: text-top;
2016-06-02 11:05:42 +05:30
}
}
2018-10-15 14:42:47 +05:30
.btn svg {
vertical-align: top;
}
.key-created-at {
line-height: unset;
2016-06-02 11:05:42 +05:30
}
}
2018-10-15 14:42:47 +05:30
.deploy-project-list {
margin-bottom: -$gl-padding-4;
a.deploy-project-label {
margin-right: $gl-padding-4;
margin-bottom: $gl-padding-4;
color: $gl-text-color-secondary;
2020-06-23 00:09:42 +05:30
background-color: $gray-50;
2018-10-15 14:42:47 +05:30
line-height: $gl-btn-line-height;
2016-06-02 11:05:42 +05:30
2018-10-15 14:42:47 +05:30
&:hover {
2018-11-20 20:47:30 +05:30
color: $blue-600;
2018-10-15 14:42:47 +05:30
}
2016-06-02 11:05:42 +05:30
}
2014-09-02 18:07:02 +05:30
}
.vs-public {
2018-11-20 20:47:30 +05:30
color: $blue-500;
2014-09-02 18:07:02 +05:30
}
.vs-internal {
2018-11-20 20:47:30 +05:30
color: $orange-500;
2014-09-02 18:07:02 +05:30
}
.vs-private {
2018-11-20 20:47:30 +05:30
color: $green-500;
2014-09-02 18:07:02 +05:30
}
2016-09-29 09:46:39 +05:30
.lfs-enabled {
2018-11-20 20:47:30 +05:30
color: $green-500;
2016-09-29 09:46:39 +05:30
}
.lfs-disabled {
2018-11-20 20:47:30 +05:30
color: $orange-500;
2016-09-29 09:46:39 +05:30
}
2014-09-02 18:07:02 +05:30
.breadcrumb.repo-breadcrumb {
2017-09-10 17:25:29 +05:30
flex: 1;
2015-09-11 14:41:01 +05:30
padding: 0;
2015-09-25 12:07:36 +05:30
background: transparent;
2018-03-17 18:26:18 +05:30
border: 0;
2017-09-10 17:25:29 +05:30
line-height: 34px;
2015-09-25 12:07:36 +05:30
margin: 0;
2014-09-02 18:07:02 +05:30
2017-08-17 22:00:37 +05:30
> li + li::before {
2014-09-02 18:07:02 +05:30
padding: 0 3px;
2020-11-24 15:15:51 +05:30
color: $gray-300;
2014-09-02 18:07:02 +05:30
}
2016-06-02 11:05:42 +05:30
a {
2017-08-17 22:00:37 +05:30
color: $gl-text-color;
2016-06-02 11:05:42 +05:30
}
2016-09-29 09:46:39 +05:30
.dropdown-menu {
width: 240px;
}
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
2018-03-17 18:26:18 +05:30
.fork-thumbnail {
width: calc((100% / 2) - #{$gl-padding * 2});
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(md) {
2018-03-17 18:26:18 +05:30
width: calc((100% / 4) - #{$gl-padding * 2});
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(lg) {
2018-03-17 18:26:18 +05:30
width: calc((100% / 5) - #{$gl-padding * 2});
}
&:hover:not(.disabled),
&.forked {
2018-11-20 20:47:30 +05:30
background-color: $blue-50;
border-color: $blue-200;
2018-03-17 18:26:18 +05:30
}
.avatar-container,
.identicon {
float: none;
margin-left: auto;
margin-right: auto;
}
2016-08-24 12:49:21 +05:30
2020-10-24 23:57:45 +05:30
a.disabled {
opacity: 0.3;
cursor: not-allowed;
2018-03-17 18:26:18 +05:30
}
}
.fork-thumbnail-container {
display: flex;
flex-wrap: wrap;
margin-left: -$gl-padding;
margin-right: -$gl-padding;
> h5 {
width: 100%;
}
}
.project-template {
> .form-group {
margin-bottom: 0;
}
2018-11-18 11:00:15 +05:30
.tab-pane {
padding-top: 0;
padding-bottom: 0;
}
2018-03-17 18:26:18 +05:30
.template-option {
2018-11-18 11:00:15 +05:30
padding: 16px 0;
2018-03-17 18:26:18 +05:30
&:not(:first-child) {
border-top: 1px solid $border-color;
}
2018-11-08 19:23:39 +05:30
2018-11-18 11:00:15 +05:30
.controls {
margin-left: auto;
2018-11-08 19:23:39 +05:30
}
2018-03-17 18:26:18 +05:30
}
2018-11-18 11:00:15 +05:30
.choose-template {
2018-03-17 18:26:18 +05:30
input {
position: absolute;
clip: rect(0, 0, 0, 0);
}
}
.project-fields-form {
display: none;
&.selected {
display: block;
padding: $gl-padding;
}
}
.template-input-group {
2018-11-08 19:23:39 +05:30
.input-group-prepend {
2018-03-17 18:26:18 +05:30
flex: 1;
}
2016-11-03 12:29:30 +05:30
2018-11-08 19:23:39 +05:30
.input-group-text {
width: 100%;
2020-04-22 19:07:51 +05:30
background-color: $white;
2018-03-17 18:26:18 +05:30
}
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
.selected-icon {
2019-03-02 22:35:43 +05:30
img {
2018-03-17 18:26:18 +05:30
display: none;
height: 20px;
width: 20px;
2016-08-24 12:49:21 +05:30
}
2015-04-26 12:48:37 +05:30
}
}
}
2018-03-17 18:26:18 +05:30
.gitlab-tab-content {
.import-project-pane {
padding-bottom: 6px;
}
}
2016-08-24 12:49:21 +05:30
.project-import {
2018-03-17 18:26:18 +05:30
.import-btn-container {
margin-bottom: 0;
}
.toggle-import-form {
padding-bottom: 10px;
2016-08-24 12:49:21 +05:30
}
.import-buttons {
padding-left: 0;
display: flex;
flex-wrap: wrap;
.btn {
2018-11-20 20:47:30 +05:30
padding: $gl-padding-8;
2017-09-10 17:25:29 +05:30
margin-right: 10px;
}
.btn-template-icon {
height: 24px;
width: inherit;
display: block;
margin: 0 auto 4px;
font-size: 24px;
2018-11-08 19:23:39 +05:30
@media (min-width: map-get($grid-breakpoints, sm)-1) {
2017-09-10 17:25:29 +05:30
top: 0;
}
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
.btn-template-icon {
display: inline-block;
height: 14px;
font-size: 14px;
margin: 0;
}
}
2016-08-24 12:49:21 +05:30
> div {
2017-08-17 22:00:37 +05:30
margin-bottom: 10px;
2016-08-24 12:49:21 +05:30
padding-left: 0;
}
}
2015-04-26 12:48:37 +05:30
}
2015-09-11 14:41:01 +05:30
2019-02-15 15:39:39 +05:30
.project-stats,
.project-buttons {
2018-11-20 20:47:30 +05:30
.scrolling-tabs-container {
.scrolling-tabs {
margin-top: $gl-padding-8;
2019-07-07 11:18:12 +05:30
margin-bottom: $gl-padding-8 - $browser-scrollbar-size;
padding-bottom: $browser-scrollbar-size;
2018-11-20 20:47:30 +05:30
flex-wrap: wrap;
border-bottom: 0;
}
.fade-left,
.fade-right {
top: 0;
2019-07-07 11:18:12 +05:30
height: calc(100% - #{$browser-scrollbar-size});
2018-11-20 20:47:30 +05:30
2021-02-22 17:27:13 +05:30
svg {
2018-11-20 20:47:30 +05:30
top: 50%;
margin-top: -$gl-padding-8;
}
}
2015-09-11 14:41:01 +05:30
2018-11-20 20:47:30 +05:30
.nav {
flex-basis: 100%;
+ .nav {
margin: $gl-padding-8 0;
}
}
@include media-breakpoint-down(md) {
flex-direction: column;
.nav {
flex-wrap: nowrap;
}
.nav:first-child {
margin-right: $gl-padding-8;
}
}
}
.nav {
2018-03-17 18:26:18 +05:30
> li {
display: inline-block;
2016-08-24 12:49:21 +05:30
2018-03-17 18:26:18 +05:30
&:not(:last-child) {
margin-right: $gl-padding;
}
2016-08-24 12:49:21 +05:30
2018-03-17 18:26:18 +05:30
&.right {
vertical-align: top;
margin-top: 0;
2016-08-24 12:49:21 +05:30
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(lg) {
2018-03-17 18:26:18 +05:30
float: right;
}
2016-08-24 12:49:21 +05:30
}
2018-03-27 19:54:05 +05:30
}
2015-10-24 18:46:33 +05:30
2018-03-27 19:54:05 +05:30
.stat-text,
.stat-link {
padding: $gl-btn-vert-padding 0;
background-color: transparent;
font-size: $gl-font-size;
line-height: $gl-btn-line-height;
2018-11-20 20:47:30 +05:30
color: $gl-text-color-secondary;
2019-02-15 15:39:39 +05:30
white-space: pre-wrap;
2018-03-27 19:54:05 +05:30
}
2015-09-25 12:07:36 +05:30
2018-03-27 19:54:05 +05:30
.stat-link {
2018-11-20 20:47:30 +05:30
border-bottom: 0;
2019-02-15 15:39:39 +05:30
color: $black;
2018-11-20 20:47:30 +05:30
2018-03-27 19:54:05 +05:30
&:hover,
&:focus {
text-decoration: underline;
2018-11-20 20:47:30 +05:30
border-bottom: 0;
2018-03-17 18:26:18 +05:30
}
2019-02-15 15:39:39 +05:30
.project-stat-value {
color: $gl-text-color;
}
.icon {
color: $gl-text-color-secondary;
}
.add-license-link {
&,
.icon {
color: $blue-600;
}
}
2016-08-24 12:49:21 +05:30
}
2015-09-11 14:41:01 +05:30
2018-03-27 19:54:05 +05:30
.btn {
2021-01-03 14:25:43 +05:30
margin-bottom: $gl-padding-8;
2019-02-15 15:39:39 +05:30
padding: $gl-btn-vert-padding $gl-btn-padding;
2018-03-27 19:54:05 +05:30
line-height: $gl-btn-line-height;
2019-02-15 15:39:39 +05:30
.icon {
top: 0;
}
2016-06-22 15:30:34 +05:30
}
2015-09-11 14:41:01 +05:30
}
}
2019-02-15 15:39:39 +05:30
.project-buttons {
2020-01-01 13:55:28 +05:30
.nav > li:not(:last-child) {
margin-right: $gl-padding-8;
}
2019-02-15 15:39:39 +05:30
}
2018-11-18 11:00:15 +05:30
.repository-languages-bar {
2018-11-20 20:47:30 +05:30
height: 8px;
margin-bottom: $gl-padding-8;
2020-04-22 19:07:51 +05:30
background-color: $white;
2018-11-20 20:47:30 +05:30
border-radius: $border-radius-default;
.progress-bar {
margin-right: 2px;
padding: 0 $gl-padding-4;
&:last-child {
margin-right: 0;
}
}
2018-11-18 11:00:15 +05:30
}
2018-12-05 23:21:45 +05:30
.repository-language-bar-tooltip-language {
font-weight: $gl-font-weight-bold;
}
.repository-language-bar-tooltip-share {
2020-10-24 23:57:45 +05:30
color: $gray-200;
2018-12-05 23:21:45 +05:30
}
2015-09-11 14:41:01 +05:30
pre.light-well {
2017-08-17 22:00:37 +05:30
border-color: $well-light-border;
2015-09-11 14:41:01 +05:30
}
2015-09-25 12:07:36 +05:30
2015-10-24 18:46:33 +05:30
.git-empty {
2018-03-27 19:54:05 +05:30
margin-bottom: 7px;
2015-10-24 18:46:33 +05:30
h5 {
2017-08-17 22:00:37 +05:30
color: $gl-text-color;
2015-10-24 18:46:33 +05:30
}
.light-well {
2016-11-03 12:29:30 +05:30
border-radius: 2px;
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
color: $well-light-text-color;
2015-10-24 18:46:33 +05:30
font-size: 13px;
line-height: 1.6em;
}
}
2015-09-25 12:07:36 +05:30
/*
* Projects list rendered on dashboard and user page
*/
.projects-list {
@include basic-list;
2017-08-17 22:00:37 +05:30
display: flex;
flex-direction: column;
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
// Disable Flexbox for admin page
2019-12-21 20:55:43 +05:30
&.admin-projects,
&.group-settings-projects {
2017-08-17 22:00:37 +05:30
display: block;
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
.project-row {
display: block;
2019-12-21 20:55:43 +05:30
.description > p {
margin-bottom: 0;
}
2015-09-25 12:07:36 +05:30
}
2017-08-17 22:00:37 +05:30
}
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
.project-row {
2017-09-10 17:25:29 +05:30
@include basic-list-stats;
2017-08-17 22:00:37 +05:30
display: flex;
align-items: center;
2019-12-04 20:38:33 +05:30
padding: $gl-padding-12 0;
2019-02-15 15:39:39 +05:30
&.no-description {
@include media-breakpoint-up(sm) {
.avatar-container {
align-self: center;
}
.metadata-info {
margin-bottom: 0;
}
}
}
2017-08-17 22:00:37 +05:30
}
2016-04-02 18:10:28 +05:30
2019-02-15 15:39:39 +05:30
h2 {
2019-12-04 20:38:33 +05:30
font-size: $gl-font-size;
2019-02-15 15:39:39 +05:30
font-weight: $gl-font-weight-bold;
margin-bottom: 0;
@include media-breakpoint-up(sm) {
.namespace-name {
font-weight: $gl-font-weight-normal;
}
}
2017-08-17 22:00:37 +05:30
}
.avatar-container {
2019-02-15 15:39:39 +05:30
flex: 0 0 auto;
2017-08-17 22:00:37 +05:30
align-self: flex-start;
2015-09-25 12:07:36 +05:30
}
2017-08-17 22:00:37 +05:30
.project-details {
min-width: 0;
2019-02-15 15:39:39 +05:30
line-height: $gl-line-height;
.flex-wrapper {
min-width: 0;
margin-top: -$gl-padding-8; // negative margin required for flex-wrap
2019-03-02 22:35:43 +05:30
flex: 1 1 100%;
.project-title {
line-height: 20px;
}
2019-02-15 15:39:39 +05:30
}
2017-08-17 22:00:37 +05:30
p,
.commit-row-message {
@include str-truncated(100%);
margin-bottom: 0;
}
2019-02-15 15:39:39 +05:30
.user-access-role {
margin: 0;
}
2019-03-02 22:35:43 +05:30
.description {
line-height: 1.5;
2019-12-04 20:38:33 +05:30
color: $gl-text-color-secondary;
2019-02-15 15:39:39 +05:30
}
@include media-breakpoint-down(md) {
.user-access-role {
line-height: $gl-line-height-14;
}
}
2017-08-17 22:00:37 +05:30
}
.ci-status-link {
display: inline-block;
line-height: 17px;
vertical-align: middle;
&:hover {
text-decoration: none;
}
2015-09-25 12:07:36 +05:30
}
2019-02-15 15:39:39 +05:30
.controls {
2019-03-02 22:35:43 +05:30
@include media-breakpoint-down(xs) {
margin-top: $gl-padding-8;
}
2019-02-15 15:39:39 +05:30
2019-03-02 22:35:43 +05:30
@include media-breakpoint-up(sm) {
2019-02-15 15:39:39 +05:30
margin-top: 0;
}
2019-03-02 22:35:43 +05:30
@include media-breakpoint-up(lg) {
flex: 1 1 40%;
2019-02-15 15:39:39 +05:30
}
.icon-wrapper {
color: inherit;
margin-right: $gl-padding;
@include media-breakpoint-down(md) {
margin-right: 0;
margin-left: $gl-padding-8;
}
@include media-breakpoint-down(xs) {
&:first-child {
margin-left: 0;
}
}
}
2019-12-21 20:55:43 +05:30
&:not(.with-pipeline-status) {
.icon-wrapper:first-of-type {
@include media-breakpoint-up(lg) {
margin-left: $gl-padding-32;
}
}
}
2019-02-15 15:39:39 +05:30
.ci-status-link {
display: inline-flex;
}
}
.star-button {
.icon {
top: 0;
}
}
.icon-container {
@include media-breakpoint-down(xs) {
margin-right: $gl-padding-8;
}
}
&.compact {
.project-row {
padding: $gl-padding 0;
}
h2 {
font-size: $gl-font-size;
}
.avatar-container {
@include avatar-size(40px, 10px);
min-height: 40px;
min-width: 40px;
2019-03-02 22:35:43 +05:30
.identicon.s48 {
2019-02-15 15:39:39 +05:30
font-size: 16px;
}
}
.controls {
@include media-breakpoint-up(sm) {
margin-top: 0;
}
}
.updated-note {
@include media-breakpoint-up(sm) {
margin-top: $gl-padding-8;
}
}
.icon-wrapper {
margin-left: $gl-padding-8;
margin-right: 0;
@include media-breakpoint-down(xs) {
&:first-child {
margin-left: 0;
}
}
}
.user-access-role {
line-height: $gl-line-height-14;
}
}
@include media-breakpoint-down(md) {
h2 {
font-size: $gl-font-size;
}
.avatar-container {
@include avatar-size(40px, 10px);
min-height: 40px;
min-width: 40px;
.identicon.s64 {
font-size: 16px;
}
}
}
@include media-breakpoint-down(md) {
.updated-note {
margin-top: $gl-padding-8;
text-align: right;
}
}
.forks,
.pipeline-status,
.updated-note {
display: flex;
}
@include media-breakpoint-down(md) {
&:not(.explore) {
.forks {
display: none;
}
}
&.explore {
.pipeline-status,
.updated-note {
display: none !important;
}
}
}
@include media-breakpoint-down(xs) {
.updated-note {
margin-top: 0;
text-align: left;
}
}
2015-09-25 12:07:36 +05:30
}
2018-11-08 19:23:39 +05:30
.card .projects-list li {
2015-09-25 12:07:36 +05:30
padding: 10px 15px;
margin: 0;
}
.git-clone-holder {
.clone-options {
display: table-cell;
2016-11-03 12:29:30 +05:30
a.btn {
width: 100%;
}
}
.form-control {
@extend .monospace;
2020-04-22 19:07:51 +05:30
background-color: $white;
2018-11-08 19:23:39 +05:30
border-color: $border-color;
font-size: 14px;
margin-left: -1px;
cursor: auto;
}
}
2016-04-02 18:10:28 +05:30
2019-02-15 15:39:39 +05:30
.git-clone-holder,
.mobile-git-clone {
.btn {
.icon {
fill: $white;
}
}
}
2018-03-17 18:26:18 +05:30
.new-protected-branch,
2017-09-10 17:25:29 +05:30
.new-protected-tag {
2016-09-13 17:45:13 +05:30
label {
margin-top: 6px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2016-09-13 17:45:13 +05:30
}
}
2018-03-27 19:54:05 +05:30
.project-tip-command {
2018-11-08 19:23:39 +05:30
> .input-group-prepend:first-child,
> .input-group-append:first-child {
2018-03-27 19:54:05 +05:30
width: auto;
}
}
2017-08-17 22:00:37 +05:30
.protected-branches-list,
.protected-tags-list {
margin-bottom: 30px;
2016-09-13 17:45:13 +05:30
.settings-message {
margin: 0;
border-radius: 0 0 1px 1px;
padding: 20px 0;
2018-03-17 18:26:18 +05:30
border: 0;
2016-09-13 17:45:13 +05:30
}
.table-bordered {
border-radius: 1px;
2017-08-17 22:00:37 +05:30
th:not(:last-child),
td:not(:last-child) {
2016-09-13 17:45:13 +05:30
border-right: solid 1px transparent;
}
2016-04-02 18:10:28 +05:30
}
2016-06-22 15:30:34 +05:30
2017-08-17 22:00:37 +05:30
.flash-container {
padding: 0;
}
}
.project-refs-form .dropdown-menu,
2017-09-10 17:25:29 +05:30
.dropdown-menu-projects {
2016-09-29 09:46:39 +05:30
width: 300px;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-09-29 09:46:39 +05:30
width: 500px;
}
a {
white-space: normal;
2016-06-22 15:30:34 +05:30
}
}
2016-08-24 12:49:21 +05:30
.compare-form-group {
2017-09-10 17:25:29 +05:30
.dropdown-menu,
.inline-input-group {
2017-08-17 22:00:37 +05:30
width: 100%;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2017-08-17 22:00:37 +05:30
width: 300px;
}
}
+ .compare-ellipsis {
width: 100%;
vertical-align: middle;
text-align: center;
margin-top: -20px;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
margin: 0 $gl-padding-8;
2017-08-17 22:00:37 +05:30
width: auto;
}
}
2021-03-11 19:13:27 +05:30
// Remove once gitlab/ui solution is implemented:
// https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1157
// https://gitlab.com/gitlab-org/gitlab/-/issues/300405
.gl-search-box-by-type-input {
width: 100%;
}
// Remove once gitlab/ui solution is implemented
// https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1158
// https://gitlab.com/gitlab-org/gitlab/-/issues/300405
.gl-new-dropdown-button-text {
@include str-truncated;
}
2016-08-24 12:49:21 +05:30
}
2016-09-13 17:45:13 +05:30
2021-04-17 20:07:23 +05:30
.compare-revision-cards {
@media (min-width: $breakpoint-lg) {
.gl-card {
width: calc(50% - 15px);
}
.compare-ellipsis {
width: 30px;
}
}
}
2016-09-13 17:45:13 +05:30
.clearable-input {
position: relative;
.clear-icon {
display: none;
position: absolute;
2020-11-24 15:15:51 +05:30
right: 9px;
top: 9px;
2016-09-13 17:45:13 +05:30
}
&.has-value {
.clear-icon {
cursor: pointer;
display: block;
}
}
}
2016-09-29 09:46:39 +05:30
.project-path {
.form-control {
min-width: 100px;
}
2016-11-03 12:29:30 +05:30
2018-03-17 18:26:18 +05:30
&.form-group {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2018-03-17 18:26:18 +05:30
margin-bottom: 0;
}
}
2016-11-03 12:29:30 +05:30
}
.project-home-empty {
border-top: 0;
.container-fluid {
background: none;
}
p {
margin-left: auto;
margin-right: auto;
max-width: 650px;
}
}
2017-08-17 22:00:37 +05:30
.project-feature {
padding-top: 10px;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2016-11-03 12:29:30 +05:30
padding-left: 45px;
}
2017-08-17 22:00:37 +05:30
&.nested {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(sm) {
2017-08-17 22:00:37 +05:30
padding-left: 90px;
}
}
2016-11-03 12:29:30 +05:30
}
2017-08-17 22:00:37 +05:30
.services-installation-info .row {
margin-bottom: 10px;
}
.service-installation {
padding: 32px;
margin: 32px;
border-radius: 3px;
2020-04-22 19:07:51 +05:30
background-color: $white;
2017-08-17 22:00:37 +05:30
h3 {
margin-top: 0;
}
hr {
margin: 32px 0;
border-color: $border-color;
}
}
2018-03-17 18:26:18 +05:30
.issuable-footer {
padding-top: $gl-padding;
padding-bottom: 37px;
}
2018-05-09 12:01:36 +05:30
.project-ci-linter {
.ci-editor {
height: 400px;
}
.ci-template pre {
white-space: pre-wrap;
}
}
.project-badge {
opacity: 0.9;
&:hover {
opacity: 1;
}
}
2019-02-15 15:39:39 +05:30
.project-mirror-settings {
.btn-show-advanced {
min-width: 135px;
.label-show {
display: none;
}
.label-hide {
display: inline;
}
&.show-advanced {
.label-show {
display: inline;
}
.label-hide {
display: none;
}
}
}
}
2019-07-31 22:56:46 +05:30
.project-filters {
.btn svg {
2020-11-24 15:15:51 +05:30
color: $gray-700;
2019-07-31 22:56:46 +05:30
}
.button-filter-group {
.btn {
width: 96px;
}
a {
color: $black;
}
.active {
background: $btn-active-gray;
}
}
.filtered-search-dropdown-label {
min-width: 68px;
@include media-breakpoint-down(xs) {
min-width: 60px;
}
}
.filtered-search {
min-width: 30%;
flex-basis: 0;
.project-filter-form .project-filter-form-field {
padding-right: $gl-padding-8;
}
.filtered-search,
.filtered-search-nav,
.filtered-search-dropdown {
flex-basis: 0;
}
@include media-breakpoint-down(lg) {
min-width: 15%;
.project-filter-form-field {
min-width: 150px;
}
}
@include media-breakpoint-down(md) {
min-width: 30%;
}
}
.filtered-search-box {
border-radius: 3px 0 0 3px;
}
.dropdown-menu-toggle {
margin-left: $gl-padding-8;
}
@include media-breakpoint-down(md) {
.extended-filtered-search-box {
min-width: 55%;
}
.filtered-search-dropdown {
width: 50%;
.dropdown-menu-toggle {
width: 100%;
}
}
}
@include media-breakpoint-down(xs) {
.filtered-search-dropdown {
width: 100%;
}
}
}
2020-10-24 23:57:45 +05:30
@include media-breakpoint-down(xs) {
.fork-filtered-search {
width: 100%;
margin: $gl-spacing-scale-2 0;
}
}