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

703 lines
11 KiB
SCSS
Raw Normal View History

2015-10-24 18:46:33 +05:30
.alert_holder {
margin: -16px;
.alert-link {
font-weight: normal;
}
}
2016-06-22 15:30:34 +05:30
2015-12-23 02:04:40 +05:30
.no-ssh-key-message, .project-limit-message {
2015-10-24 18:46:33 +05:30
background-color: #f28d35;
2016-06-02 11:05:42 +05:30
margin-bottom: 0;
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,
.edit-project {
2016-08-24 12:49:21 +05:30
fieldset {
&.features .control-label {
2015-10-24 18:46:33 +05:30
font-weight: normal;
2014-09-02 18:07:02 +05:30
}
2016-08-24 12:49:21 +05:30
.form-group {
margin-bottom: 5px;
}
&> .form-group {
padding-left: 0;
}
2014-09-02 18:07:02 +05:30
}
2016-08-24 12:49:21 +05:30
.help-block {
margin-bottom: 10px;
}
.project-path {
padding-right: 0;
.form-control {
border-radius: $border-radius-base;
}
}
2016-08-24 12:49:21 +05:30
.input-group > div {
&:last-child {
padding-right: 0;
}
}
@media (max-width: $screen-xs-max) {
.input-group > div {
margin-bottom: 14px;
&:last-child {
margin-bottom: 0;
2016-06-02 11:05:42 +05:30
}
}
2016-08-24 12:49:21 +05:30
fieldset > .form-group:first-child {
padding-right: 0;
}
}
2016-08-24 12:49:21 +05:30
.input-group-addon {
&.static-namespace {
height: 35px;
border-radius: 3px;
border: 1px solid #e5e5e5;
}
&+ .select2 a {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
2016-08-24 12:49:21 +05:30
}
2015-04-26 12:48:37 +05:30
2016-08-24 12:49:21 +05:30
.project-home-panel {
padding-top: 24px;
padding-bottom: 24px;
2016-08-24 12:49:21 +05:30
@media (min-width: $screen-sm-min) {
border-bottom: 1px solid $border-color;
}
2015-04-26 12:48:37 +05:30
2016-08-24 12:49:21 +05:30
.project-avatar {
float: none;
margin-left: auto;
margin-right: auto;
2016-08-24 12:49:21 +05:30
&.identicon {
border-radius: 50%;
}
2016-08-24 12:49:21 +05:30
}
2016-08-24 12:49:21 +05:30
.project-title {
margin-top: 10px;
margin-bottom: 10px;
font-size: 24px;
font-weight: 400;
line-height: 1;
.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
2016-08-24 12:49:21 +05:30
.project-home-desc {
margin-left: auto;
margin-right: auto;
margin-bottom: 15px;
max-width: 480px;
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
2016-08-24 12:49:21 +05:30
.project-repo-buttons {
font-size: 0;
2014-09-02 18:07:02 +05:30
2016-08-24 12:49:21 +05:30
.btn {
@include btn-gray;
padding: 3px 10px;
2016-08-24 12:49:21 +05:30
.fa {
color: $layout-link-gray;
}
svg {
path {
fill: $layout-link-gray;
}
2016-08-24 12:49:21 +05:30
use {
stroke: $layout-link-gray;
}
}
2016-08-24 12:49:21 +05:30
.fa-caret-down {
margin-left: 3px;
}
2016-08-24 12:49:21 +05:30
}
2016-08-24 12:49:21 +05:30
.project-repo-btn-group,
.notification-dropdown {
margin-left: 10px;
}
2016-08-24 12:49:21 +05:30
.count-buttons {
display: inline-block;
vertical-align: top;
}
2016-08-24 12:49:21 +05:30
.project-clone-holder {
display: inline-block;
input {
height: 29px;
}
2016-08-24 12:49:21 +05:30
}
2016-08-24 12:49:21 +05:30
.count-with-arrow {
display: inline-block;
position: relative;
margin-left: 4px;
2016-08-24 12:49:21 +05:30
.arrow {
&:before {
content: '';
2015-04-26 12:48:37 +05:30
display: inline-block;
2016-08-24 12:49:21 +05:30
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
2016-08-24 12:49:21 +05:30
top: 50%;
left: 0;
margin-top: -6px;
border-width: 7px 5px 7px 0;
border-right-color: #dce0e5;
pointer-events: none;
2015-04-26 12:48:37 +05:30
}
2016-08-24 12:49:21 +05:30
&:after {
content: '';
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
top: 50%;
left: 1px;
margin-top: -9px;
border-width: 10px 7px 10px 0;
border-right-color: #fff;
pointer-events: none;
}
}
2016-08-24 12:49:21 +05:30
.count {
@include btn-gray;
display: inline-block;
background: white;
border-radius: 2px;
border-width: 1px;
border-style: solid;
font-size: 13px;
font-weight: 600;
line-height: 13px;
padding: $gl-vert-padding $gl-padding;
letter-spacing: .4px;
padding: 7px 14px;
text-align: center;
vertical-align: middle;
touch-action: manipulation;
background-image: none;
white-space: nowrap;
margin: 0 10px 0 4px;
a {
color: inherit;
}
2016-08-24 12:49:21 +05:30
&:hover {
background: #fff;
}
}
}
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +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
.project-visibility-level-holder {
.radio {
margin-bottom: 10px;
i {
2015-10-24 18:46:33 +05:30
margin: 2px 0;
2014-09-02 18:07:02 +05:30
font-size: 20px;
}
.option-title {
2015-10-24 18:46:33 +05:30
font-weight: normal;
2014-09-02 18:07:02 +05:30
display: inline-block;
2016-06-02 11:05:42 +05:30
color: $gl-gray-dark;
2014-09-02 18:07:02 +05:30
}
.option-descr {
2015-10-24 18:46:33 +05:30
margin-left: 29px;
color: #54565b;
2014-09-02 18:07:02 +05:30
}
}
}
.save-project-loader {
margin-top: 50px;
margin-bottom: 50px;
color: #555;
}
.transfer-project .select2-container {
min-width: 200px;
}
2016-06-02 11:05:42 +05:30
.deploy-key-content {
@media (min-width: $screen-sm-min) {
float: left;
&:last-child {
float: right;
}
}
}
.deploy-key-projects {
@media (min-width: $screen-sm-min) {
line-height: 42px;
}
}
a.deploy-project-label {
padding: 5px;
margin-right: 5px;
color: $gl-gray;
background-color: $row-hover;
&:hover {
color: $gl-link-color;
}
2014-09-02 18:07:02 +05:30
}
.vs-public {
2015-04-26 12:48:37 +05:30
color: $gl-primary;
2014-09-02 18:07:02 +05:30
}
.vs-internal {
2015-04-26 12:48:37 +05:30
color: $gl-warning;
2014-09-02 18:07:02 +05:30
}
.vs-private {
2015-04-26 12:48:37 +05:30
color: $gl-success;
2014-09-02 18:07:02 +05:30
}
.breadcrumb.repo-breadcrumb {
2015-09-11 14:41:01 +05:30
padding: 0;
2015-09-25 12:07:36 +05:30
background: transparent;
2014-09-02 18:07:02 +05:30
border: none;
2016-06-02 11:05:42 +05:30
line-height: 36px;
2015-09-25 12:07:36 +05:30
margin: 0;
2014-09-02 18:07:02 +05:30
> li + li:before {
padding: 0 3px;
color: #999;
}
2016-06-02 11:05:42 +05:30
a {
color: $gl-dark-link-color;
}
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
.last-push-widget {
margin-top: -1px;
}
2015-04-26 12:48:37 +05:30
.fork-namespaces {
2016-08-24 12:49:21 +05:30
.row {
-webkit-flex-wrap: wrap;
display: -webkit-flex;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
.fork-thumbnail {
@include border-radius($border-radius-base);
background-color: $white-light;
border: 1px solid $border-white-light;
height: 202px;
margin: $gl-padding;
text-align: center;
width: 169px;
&:hover, &.forked {
background-color: $row-hover;
border-color: $row-hover-border;
}
.no-avatar {
width: 100px;
height: 100px;
background-color: $gray-light;
border: 1px solid $gray-dark;
margin: 0 auto;
@include border-radius(50%);
i {
font-size: 100px;
color: $gray-dark;
}
}
a {
display: block;
width: 100%;
height: 100%;
padding-top: $gl-padding;
color: $gl-gray;
.caption {
min-height: 30px;
padding: $gl-padding 0;
}
}
2015-04-26 12:48:37 +05:30
2016-08-24 12:49:21 +05:30
img {
@include border-radius(50%);
max-width: 100px;
}
2015-04-26 12:48:37 +05:30
}
}
}
2016-08-24 12:49:21 +05:30
.project-import {
.form-group {
margin-bottom: 5px;
}
.import-buttons {
padding-left: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
.btn {
margin: 0 10px 10px 0;
padding: 8px;
}
> div {
padding-left: 0;
&:last-child {
margin-bottom: 0;
.btn {
margin-right: 0;
}
}
}
}
2015-04-26 12:48:37 +05:30
}
2015-09-11 14:41:01 +05:30
.project-stats {
font-size: 0;
2016-08-24 12:49:21 +05:30
border-bottom: 1px solid $border-color;
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
.nav {
padding-top: 12px;
padding-bottom: 12px;
2015-09-25 12:07:36 +05:30
}
2015-09-11 14:41:01 +05:30
2016-08-24 12:49:21 +05:30
.nav > li {
2016-06-22 15:30:34 +05:30
display: inline-block;
2016-08-24 12:49:21 +05:30
&:not(:last-child) {
margin-right: $gl-padding;
}
&.project-repo-buttons-right {
margin-top: 10px;
@media (min-width: $screen-md-min) {
float: right;
margin-top: 0;
}
}
2015-10-24 18:46:33 +05:30
}
.nav > li > a {
2016-08-24 12:49:21 +05:30
padding: 0;
2015-10-24 18:46:33 +05:30
background-color: transparent;
font-size: 15px;
2016-08-24 12:49:21 +05:30
line-height: 29px;
color: $notes-light-color;
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
&:hover,
&:focus {
color: darken($notes-light-color, 15%);
}
2015-09-25 12:07:36 +05:30
}
2015-09-11 14:41:01 +05:30
2016-06-22 15:30:34 +05:30
li.missing {
border: 1px dashed $border-gray-light;
border-radius: $border-radius-default;
a {
2016-08-24 12:49:21 +05:30
padding-left: 10px;
padding-right: 10px;
2016-06-22 15:30:34 +05:30
color: $notes-light-color;
display: block;
}
2015-09-11 14:41:01 +05:30
&:hover {
2016-06-22 15:30:34 +05:30
background-color: $gray-normal;
2015-09-11 14:41:01 +05:30
}
}
}
pre.light-well {
border-color: #f1f1f1;
}
2015-09-25 12:07:36 +05:30
2015-10-24 18:46:33 +05:30
.git-empty {
2016-06-02 11:05:42 +05:30
margin: 0 7px 7px;
2015-10-24 18:46:33 +05:30
h5 {
color: #5c5d5e;
}
.light-well {
@include border-radius (2px);
color: #5b6169;
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
*/
2015-10-24 18:46:33 +05:30
2015-09-25 12:07:36 +05:30
.projects-list {
@include basic-list;
.project-row {
2015-11-26 14:37:03 +05:30
border-color: $table-border-color;
2015-09-25 12:07:36 +05:30
&.no-description {
.project {
2016-04-02 18:10:28 +05:30
line-height: 40px;
2015-09-25 12:07:36 +05:30
}
}
.project-full-name {
@include str-truncated;
}
2016-06-02 11:05:42 +05:30
.controls {
2016-04-02 18:10:28 +05:30
line-height: 40px;
2015-10-24 18:46:33 +05:30
a:hover {
text-decoration: none;
}
2016-04-02 18:10:28 +05:30
> span {
margin-left: 10px;
}
2016-08-24 12:49:21 +05:30
svg {
position: relative;
top: 2px;
}
2015-09-25 12:07:36 +05:30
}
}
.bottom {
padding-top: $gl-padding;
padding-bottom: 0;
}
}
.panel .projects-list li {
padding: 10px 15px;
margin: 0;
}
.activity-filter-block {
.controls {
2016-06-22 15:30:34 +05:30
padding-bottom: 7px;
margin-top: 8px;
border-bottom: 1px solid $border-color;
2015-09-25 12:07:36 +05:30
}
}
2015-11-26 14:37:03 +05:30
.project-last-commit {
2016-08-24 12:49:21 +05:30
@media (min-width: $screen-sm-min) {
margin-top: $gl-padding;
}
&.container-fluid {
padding-top: 12px;
padding-bottom: 12px;
background-color: $background-color;
border: 1px solid $border-color;
border-right-width: 0;
border-left-width: 0;
@media (min-width: $screen-sm-min) {
border-right-width: 1px;
border-left-width: 1px;
}
}
&.container-limited {
@media (min-width: 1281px) {
border-radius: $border-radius-base;
}
}
2015-11-26 14:37:03 +05:30
.ci-status {
2016-08-24 12:49:21 +05:30
margin-right: $gl-padding;
2015-11-26 14:37:03 +05:30
}
.commit-row-message {
color: $gl-gray;
}
.commit_short_id {
2016-08-24 12:49:21 +05:30
margin-right: 5px;
2015-11-26 14:37:03 +05:30
color: $gl-link-color;
font-weight: 600;
}
.commit-author-link {
.commit-author-name {
font-weight: 600;
}
}
2015-09-25 12:07:36 +05:30
}
2015-11-26 14:37:03 +05:30
.project-show-readme .readme-holder {
padding: $gl-padding 0;
2015-11-26 14:37:03 +05:30
border-top: 0;
.edit-project-readme {
z-index: 2;
2015-11-26 14:37:03 +05:30
position: relative;
}
.wiki h1 {
border-bottom: none;
padding: 0;
}
2015-12-23 02:04:40 +05:30
}
.git-clone-holder {
2016-08-24 12:49:21 +05:30
width: 380px;
.btn-clipboard {
border: 1px solid $border-color;
}
.clone-options {
display: table-cell;
a.btn {
width: 100%;
}
}
.form-control {
@extend .monospace;
2016-06-02 11:05:42 +05:30
background: #fff;
font-size: 14px;
margin-left: -1px;
cursor: auto;
width: 101%;
}
}
2016-04-02 18:10:28 +05:30
.cannot-be-merged,
.cannot-be-merged:hover {
2016-06-02 11:05:42 +05:30
color: #e62958;
2016-04-02 18:10:28 +05:30
margin-top: 2px;
}
.private-forks-notice .private-fork-icon {
i:nth-child(1) {
2016-06-02 11:05:42 +05:30
color: #2aa056;
2016-04-02 18:10:28 +05:30
}
i:nth-child(2) {
2016-06-02 11:05:42 +05:30
color: #fff;
}
}
.protected-branches-list {
a {
color: $gl-gray;
font-weight: 600;
&:hover {
color: $gl-link-color;
}
2016-04-02 18:10:28 +05:30
}
}
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 {
color: $gl-text-green;
}
}
.project-refs-form {
.dropdown-menu {
width: 300px;
}
}
2016-08-24 12:49:21 +05:30
.compare-form-group {
.dropdown-menu {
width: 300px;
}
}