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

1226 lines
19 KiB
SCSS
Raw Normal View History

2015-10-24 18:46:33 +05:30
.alert_holder {
margin: -16px;
.alert-link {
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2015-10-24 18:46:33 +05:30
}
}
2016-06-22 15:30:34 +05:30
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 {
display: flex;
2017-08-17 22:00:37 +05:30
2018-05-09 12:01:36 +05:30
.select2-container {
display: unset;
max-width: unset;
width: unset !important;
flex-grow: 1;
}
> 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
+ .select2 a,
+ .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
2018-03-17 18:26:18 +05:30
.toggle-wrapper {
margin-top: 5px;
}
.project-feature-row > .toggle-wrapper {
margin: 10px 0;
}
.project-visibility-setting,
.project-feature-settings {
border: 1px solid $border-color;
padding: 10px 32px;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2018-03-17 18:26:18 +05:30
padding: 10px 20px;
}
}
.project-visibility-setting .request-access {
line-height: 2;
}
.project-feature-settings {
background: $gray-lighter;
border-top: 0;
margin-bottom: 16px;
}
.project-repo-select {
transition: background 2s ease-out;
&:disabled {
opacity: 0.5;
pointer-events: none;
}
.highlight-changes & {
background: $highlight-changes-color;
transition: none;
}
}
.project-feature-controls {
display: flex;
align-items: center;
2018-11-20 20:47:30 +05:30
margin: $gl-padding-8 0;
2018-03-17 18:26:18 +05:30
max-width: 432px;
.toggle-wrapper {
flex: 0;
margin-right: 10px;
}
.select-wrapper {
flex: 1;
}
}
.project-feature-setting-group {
padding-left: 32px;
.project-feature-controls {
max-width: 400px;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2018-03-17 18:26:18 +05:30
padding-left: 20px;
}
}
2017-08-17 22:00:37 +05:30
.project-home-panel,
.group-home-panel {
2016-08-24 12:49:21 +05:30
padding-top: 24px;
padding-bottom: 24px;
2019-01-03 12:48:30 +05:30
border-bottom: 1px solid $border-color;
2017-08-17 22:00:37 +05:30
.group-avatar {
2016-08-24 12:49:21 +05:30
float: none;
2017-08-17 22:00:37 +05:30
margin: 0 auto;
2016-08-24 12:49:21 +05:30
&.identicon {
border-radius: 50%;
}
2016-08-24 12:49:21 +05:30
}
2019-01-03 12:48:30 +05:30
.project-title,
2017-08-17 22:00:37 +05:30
.group-title {
2016-08-24 12:49:21 +05:30
margin-top: 10px;
margin-bottom: 10px;
font-size: 24px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2016-08-24 12:49:21 +05:30
line-height: 1;
2017-08-17 22:00:37 +05:30
word-wrap: break-word;
2016-08-24 12:49:21 +05:30
.fa {
margin-left: 2px;
font-size: 12px;
vertical-align: middle;
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
2017-08-17 22:00:37 +05:30
.group-home-desc {
2016-08-24 12:49:21 +05:30
margin-left: auto;
margin-right: auto;
2017-08-17 22:00:37 +05:30
margin-bottom: 0;
2016-09-29 09:46:39 +05:30
max-width: 700px;
2016-08-24 12:49:21 +05:30
> p {
margin-bottom: 0;
}
}
2015-11-26 14:37:03 +05:30
.notifications-btn {
2016-06-22 15:30:34 +05:30
.fa-bell,
.fa-spinner {
2015-11-26 14:37:03 +05:30
margin-right: 6px;
}
.fa-angle-down {
margin-left: 6px;
}
2015-09-25 12:07:36 +05:30
}
2016-08-24 12:49:21 +05:30
}
2015-09-25 12:07:36 +05:30
2018-11-20 20:47:30 +05:30
.project-home-panel {
2019-01-03 12:48:30 +05:30
padding-top: $gl-padding-8;
padding-bottom: $gl-padding-24;
.project-title-row {
margin-right: $gl-padding-8;
}
2018-11-20 20:47:30 +05:30
.project-avatar {
width: $project-title-row-height;
height: $project-title-row-height;
flex-shrink: 0;
flex-basis: $project-title-row-height;
2019-01-03 12:48:30 +05:30
margin: 0 $gl-padding-8 0 0;
2018-11-20 20:47:30 +05:30
}
.project-title {
font-size: 20px;
2019-01-03 12:48:30 +05:30
line-height: $project-title-row-height;
2018-11-20 20:47:30 +05:30
font-weight: bold;
}
.project-metadata {
font-weight: normal;
font-size: 14px;
line-height: $gl-btn-line-height;
color: $gl-text-color-secondary;
2019-01-03 12:48:30 +05:30
.icon {
margin-right: $gl-padding-4;
font-size: 16px;
}
.project-visibility,
.project-license,
.project-tag-list {
margin-right: $gl-padding-8;
}
2018-11-20 20:47:30 +05:30
.project-license {
.btn {
line-height: 0;
border-width: 0;
}
}
2019-01-03 12:48:30 +05:30
.project-tag-list,
.project-license {
.icon {
position: relative;
top: 2px;
}
2018-11-20 20:47:30 +05:30
}
}
}
2017-08-17 22:00:37 +05:30
.nav > .project-repo-buttons {
margin-top: 0;
}
2014-09-02 18:07:02 +05:30
2017-08-17 22:00:37 +05:30
.project-repo-buttons,
.group-buttons {
2016-08-24 12:49:21 +05:30
.btn {
2017-08-17 22:00:37 +05:30
&:last-child {
margin-left: 0;
}
2016-08-24 12:49:21 +05:30
.fa {
color: $layout-link-gray;
}
svg {
2018-03-17 18:26:18 +05:30
fill: $layout-link-gray;
}
2016-08-24 12:49:21 +05:30
.fa-caret-down {
margin-left: 3px;
2018-11-20 20:47:30 +05:30
&.dropdown-btn-icon {
margin-left: 0;
}
}
2016-08-24 12:49:21 +05:30
}
2017-08-17 22:00:37 +05:30
.project-action-button {
2018-11-20 20:47:30 +05:30
margin: $gl-padding $gl-padding-8 0 0;
2017-08-17 22:00:37 +05:30
vertical-align: top;
}
.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
}
2016-08-24 12:49:21 +05:30
.count-buttons {
display: inline-block;
vertical-align: top;
2018-11-20 20:47:30 +05:30
margin-top: $gl-padding;
2019-01-03 12:48:30 +05:30
.count-badge {
height: $input-height;
.icon {
top: -1px;
}
}
2018-11-20 20:47:30 +05:30
.count-badge-count,
.count-badge-button {
border: 1px solid $border-color;
line-height: 1;
}
2018-11-20 20:47:30 +05:30
.count,
.count-badge-button {
color: $gl-text-color;
}
2018-11-20 20:47:30 +05:30
.count-badge-count {
padding: 0 12px;
2019-01-03 12:48:30 +05:30
border-right: 0;
border-radius: $border-radius-base 0 0 $border-radius-base;
2018-11-20 20:47:30 +05:30
background: $gray-light;
}
2016-11-03 12:29:30 +05:30
2018-11-20 20:47:30 +05:30
.count-badge-button {
2019-01-03 12:48:30 +05:30
border-radius: 0 $border-radius-base $border-radius-base 0;
2018-11-20 20:47:30 +05:30
}
}
2016-08-24 12:49:21 +05:30
2018-11-20 20:47:30 +05:30
.project-clone-holder {
display: inline-block;
2019-01-03 12:48:30 +05:30
margin: $gl-padding $gl-padding-8 0 0;
2018-11-20 20:47:30 +05:30
input {
height: $input-height;
}
}
2014-09-02 18:07:02 +05:30
2019-01-03 12:48:30 +05:30
.clone-dropdown-btn {
background-color: $white-light;
}
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;
2018-12-23 12:14:25 +05:30
2019-01-03 12:48:30 +05:30
.dropdown-menu-inner-content {
@extend .monospace;
2018-11-20 20:47:30 +05:30
}
}
2017-08-17 22:00:37 +05:30
}
2015-10-24 18:46:33 +05:30
.split-one {
display: inline-table;
margin-right: 12px;
> a {
2016-06-02 11:05:42 +05:30
margin: -1px;
2015-10-24 18:46:33 +05:30
}
}
2014-09-02 18:07:02 +05:30
.save-project-loader {
margin-top: 50px;
margin-bottom: 50px;
2018-12-05 23:21:45 +05:30
color: $gl-gray-700;
2014-09-02 18:07:02 +05:30
}
.transfer-project .select2-container {
min-width: 200px;
}
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;
background-color: $theme-gray-100;
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;
2018-12-05 23:21:45 +05:30
color: $gl-gray-400;
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 {
height: 200px;
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
2018-03-17 18:26:18 +05:30
a {
display: block;
width: 100%;
height: 100%;
padding-top: $gl-padding;
text-decoration: none;
&.disabled {
2018-05-09 12:01:36 +05:30
opacity: 0.3;
2018-03-17 18:26:18 +05:30
cursor: not-allowed;
}
}
}
.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
.logo {
.btn-template-icon {
width: 40px !important;
}
}
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%;
background-color: $white-light;
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 {
svg {
display: none;
top: 7px;
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: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
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
2017-09-10 17:25:29 +05:30
.create-project-options {
display: flex;
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
display: block;
}
.first-column {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(xs) {
2017-09-10 17:25:29 +05:30
max-width: 50%;
padding-right: 30px;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
max-width: 100%;
width: 100%;
}
}
.second-column {
2018-11-08 19:23:39 +05:30
@include media-breakpoint-up(xs) {
2017-09-10 17:25:29 +05:30
width: 50%;
flex: 1;
padding-left: 30px;
position: relative;
}
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
max-width: 100%;
width: 100%;
padding-left: 0;
position: relative;
}
// Mobile
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
padding-top: 30px;
}
&::before {
2018-05-09 12:01:36 +05:30
content: 'OR';
2017-09-10 17:25:29 +05:30
position: absolute;
left: -10px;
top: 50%;
z-index: 10;
2018-11-20 20:47:30 +05:30
padding: $gl-padding-8 0;
2017-09-10 17:25:29 +05:30
text-align: center;
background-color: $white-light;
color: $gl-text-color-tertiary;
transform: translateY(-50%);
font-size: 12px;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-bold;
2017-09-10 17:25:29 +05:30
line-height: 20px;
// Mobile
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
left: 50%;
top: 0;
transform: translateX(-50%);
2018-11-20 20:47:30 +05:30
padding: 0 $gl-padding-8;
2017-09-10 17:25:29 +05:30
}
}
&::after {
2018-05-09 12:01:36 +05:30
content: '';
2017-09-10 17:25:29 +05:30
position: absolute;
background-color: $border-color;
bottom: 0;
left: 0;
right: auto;
height: 100%;
width: 1px;
top: 0;
// Mobile
2018-11-08 19:23:39 +05:30
@include media-breakpoint-down(xs) {
2017-09-10 17:25:29 +05:30
top: 10px;
left: 10px;
right: 10px;
height: 1px;
width: auto;
}
}
}
}
2018-03-27 19:54:05 +05:30
.project-empty-note-panel {
border-bottom: 1px solid $border-color;
}
2017-09-10 17:25:29 +05:30
2019-01-03 12:48:30 +05:30
.project-stats {
font-size: 0;
2017-08-17 22:00:37 +05:30
text-align: center;
2019-01-03 12:48:30 +05:30
border-bottom: 1px solid $border-color;
2015-09-25 12:07:36 +05:30
2018-11-20 20:47:30 +05:30
.scrolling-tabs-container {
.scrolling-tabs {
margin-top: $gl-padding-8;
2019-01-03 12:48:30 +05:30
margin-bottom: $gl-padding-8;
2018-11-20 20:47:30 +05:30
flex-wrap: wrap;
border-bottom: 0;
}
.fade-left,
.fade-right {
top: 0;
2019-01-03 12:48:30 +05:30
height: 100%;
2018-11-20 20:47:30 +05:30
.fa {
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-01-03 12:48:30 +05:30
white-space: nowrap;
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;
2018-03-27 19:54:05 +05:30
&:hover,
&:focus {
2019-01-03 12:48:30 +05:30
color: $gl-text-color;
2018-03-27 19:54:05 +05:30
text-decoration: underline;
2018-11-20 20:47:30 +05:30
border-bottom: 0;
2018-03-17 18:26:18 +05:30
}
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 {
2019-01-03 12:48:30 +05:30
padding: $gl-btn-vert-padding $gl-btn-horz-padding;
2018-03-27 19:54:05 +05:30
line-height: $gl-btn-line-height;
2016-06-22 15:30:34 +05:30
}
2015-09-11 14:41:01 +05:30
2018-03-27 19:54:05 +05:30
.btn-missing {
@extend .btn-missing;
2015-09-11 14:41:01 +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;
background-color: $white-light;
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 {
color: $theme-gray-400;
}
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;
}
}
.project-footer {
margin-top: 20px;
.btn-remove {
@include btn-middle;
@include btn-red;
float: left !important;
}
}
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
&.admin-projects {
display: block;
2015-09-25 12:07:36 +05:30
2017-08-17 22:00:37 +05:30
.project-row {
display: block;
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;
}
2015-10-24 18:46:33 +05:30
2017-08-17 22:00:37 +05:30
h3 {
font-size: $gl-font-size;
}
2016-04-02 18:10:28 +05:30
2017-08-17 22:00:37 +05:30
.avatar-container,
.controls {
flex: 0 0 auto;
}
.avatar-container {
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;
p,
.commit-row-message {
@include str-truncated(100%);
margin-bottom: 0;
}
}
.controls {
margin-left: auto;
text-align: right;
}
.ci-status-link {
display: inline-block;
line-height: 17px;
vertical-align: middle;
&:hover {
text-decoration: none;
}
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 {
2019-01-03 12:48:30 +05:30
width: 320px;
.btn-clipboard {
border: 1px solid $border-color;
}
.clone-options {
display: table-cell;
2016-11-03 12:29:30 +05:30
a.btn {
width: 100%;
}
}
.form-control {
@extend .monospace;
2018-11-08 19:23:39 +05:30
background-color: $white-light;
border-color: $border-color;
font-size: 14px;
margin-left: -1px;
cursor: auto;
}
}
2016-04-02 18:10:28 +05:30
.cannot-be-merged,
.cannot-be-merged:hover {
2018-11-20 20:47:30 +05:30
color: $red-500;
2016-04-02 18:10:28 +05:30
margin-top: 2px;
}
.private-forks-notice .private-fork-icon {
i:nth-child(1) {
2018-11-20 20:47:30 +05:30
color: $green-600;
2016-04-02 18:10:28 +05:30
}
i:nth-child(2) {
2017-08-17 22:00:37 +05:30
color: $white-light;
2016-06-02 11:05:42 +05:30
}
}
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;
}
}
2016-06-22 15:30:34 +05:30
.custom-notifications-form {
.is-loading {
.custom-notification-event-loading {
display: inline-block;
}
}
}
.custom-notification-event-loading {
display: none;
margin-left: 5px;
&.is-done {
2018-11-20 20:47:30 +05:30
color: $green-600;
2016-06-22 15:30:34 +05:30
}
}
2017-08-17 22:00:37 +05:30
.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;
}
}
2016-08-24 12:49:21 +05:30
}
2016-09-13 17:45:13 +05:30
.clearable-input {
position: relative;
.clear-icon {
@extend .fa-times;
display: none;
position: absolute;
right: 7px;
top: 7px;
color: $location-icon-color;
2017-08-17 22:00:37 +05:30
&::before {
2016-09-13 17:45:13 +05:30
font-family: FontAwesome;
2018-03-17 18:26:18 +05:30
font-weight: $gl-font-weight-normal;
2016-09-13 17:45:13 +05:30
font-style: normal;
}
}
&.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-09-29 09:46:39 +05:30
.select2-choice {
border-top-right-radius: 0;
border-bottom-right-radius: 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
.variables-table {
table-layout: fixed;
&.table-responsive {
2018-03-17 18:26:18 +05:30
border: 0;
2017-08-17 22:00:37 +05:30
}
.variable-key {
max-width: 120px;
overflow: hidden;
word-wrap: break-word;
white-space: nowrap;
text-overflow: ellipsis;
}
.variable-value {
max-width: 150px;
overflow: hidden;
word-wrap: break-word;
white-space: nowrap;
text-overflow: ellipsis;
}
.variable-menu {
text-align: right;
}
}
.services-installation-info .row {
margin-bottom: 10px;
}
.service-installation {
padding: 32px;
margin: 32px;
border-radius: 3px;
background-color: $white-light;
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-body {
.incorrect-syntax {
font-size: 18px;
2018-11-20 20:47:30 +05:30
color: $red-500;
2018-05-09 12:01:36 +05:30
}
.correct-syntax {
font-size: 18px;
2018-11-20 20:47:30 +05:30
color: $green-500;
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;
}
}