gitlab-org--gitlab-foss/app/assets/stylesheets/pages/projects.scss

681 lines
10 KiB
SCSS
Raw Normal View History

.alert_holder {
margin: -16px;
.alert-link {
font-weight: normal;
}
}
.no-ssh-key-message, .project-limit-message {
background-color: #f28d35;
margin-bottom: 0;
}
.new_project,
2016-05-16 11:42:29 -04:00
.edit-project {
fieldset {
&.features .control-label {
font-weight: normal;
}
.form-group {
margin-bottom: 5px;
}
&> .form-group {
padding-left: 0;
}
}
.help-block {
margin-bottom: 10px;
}
.project-path {
padding-right: 0;
.form-control {
border-radius: $border-radius-base;
}
}
.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;
}
}
fieldset > .form-group:first-child {
padding-right: 0;
}
}
.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;
}
}
}
2012-08-25 16:39:01 -04:00
2013-10-21 06:05:20 -04:00
.project-home-panel {
2016-05-19 11:11:54 -04:00
background: $white-light;
text-align: left;
padding: 24px 0;
.container-fluid {
position: relative;
2016-06-01 13:59:45 -04:00
@media (min-width: $screen-lg-min) {
2016-06-01 13:59:45 -04:00
.row {
display: flex;
-ms-flex-align: center;
-webkit-align-items: center;
-webkit-box-align: center;
}
}
2016-05-19 11:11:54 -04:00
}
.cover-controls {
.project-settings-dropdown {
margin-left: 10px;
2016-02-22 09:58:04 -05:00
display: inline-block;
.dropdown-menu {
left: auto;
width: auto;
right: 0;
max-width: 240px;
}
}
}
.cover-title {
margin-bottom: 0;
}
2016-05-19 11:11:54 -04:00
.project-image-container {
@include make-sm-column(1);
max-width: 86px;
min-width: 86px;
padding-right: 0;
2016-05-19 11:11:54 -04:00
@media (max-width: $screen-md-max) {
padding-left: 0;
margin: 0 0 10px;
2016-05-19 11:11:54 -04:00
max-width: none;
min-width: none;
.avatar.s70 {
margin: auto;
}
}
2016-05-19 11:11:54 -04:00
}
2016-05-19 11:11:54 -04:00
.project-info {
@include make-sm-column(10);
h1 {
font-size: 24px;
font-weight: normal;
margin: 0;
}
.project-home-desc {
p {
margin: 0;
}
}
}
2016-05-19 11:11:54 -04:00
.identicon {
float: left;
@include border-radius(50%);
}
.avatar {
float: none;
}
.notifications-btn {
.fa-bell,
.fa-spinner {
margin-right: 6px;
}
.fa-angle-down {
margin-left: 6px;
}
}
2015-03-29 07:56:45 -04:00
.project-repo-buttons {
2016-05-19 11:11:54 -04:00
font-size: 0;
2016-05-19 11:11:54 -04:00
.btn {
@include btn-gray;
padding: 3px 10px;
text-transform: none;
background-color: $background-color;
2015-12-18 14:17:19 -05:00
2016-05-19 11:11:54 -04:00
.fa {
color: $layout-link-gray;
}
2016-05-19 11:11:54 -04:00
.fa-caret-down {
margin-left: 3px;
}
}
2016-05-19 11:11:54 -04:00
form {
margin-left: 10px;
}
.count-buttons {
display: inline-block;
vertical-align: top;
margin-top: 16px;
}
.project-clone-holder {
display: inline-block;
margin-top: 16px;
input {
height: 29px;
}
2015-12-18 14:17:19 -05:00
}
2015-12-18 14:17:19 -05:00
.count-with-arrow {
display: inline-block;
position: relative;
margin-left: 4px;
.arrow {
2015-12-23 20:39:42 -05:00
&:before {
content: '';
display: inline-block;
position: absolute;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
top: 50%;
left: 0;
margin-top: -6px;
border-width: 7px 5px 7px 0;
border-right-color: #dce0e5;
}
&: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;
2015-12-18 14:17:19 -05:00
}
}
2015-03-29 21:15:54 -04:00
.count {
2015-12-18 14:17:19 -05:00
@include btn-gray;
2015-03-29 21:15:54 -04:00
display: inline-block;
2015-12-18 14:17:19 -05:00
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;
2015-12-18 14:17:19 -05:00
letter-spacing: .4px;
2016-05-19 11:11:54 -04:00
padding: 7px 14px;
2015-12-18 14:17:19 -05:00
text-align: center;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
white-space: nowrap;
2016-05-19 11:11:54 -04:00
margin: 0 10px 0 4px;
a {
color: inherit;
}
&:hover {
background: #fff;
}
2015-03-29 21:15:54 -04:00
}
}
2015-03-29 07:56:45 -04:00
}
2016-05-19 11:11:54 -04:00
.project-right-buttons {
position: absolute;
right: 16px;
bottom: 0;
@media (max-width: $screen-md-max) {
top: 0;
2016-05-19 11:11:54 -04:00
}
}
@media (max-width: $screen-md-max) {
text-align: center;
.project-info,
.project-image-container {
width: 100%;
}
}
}
.split-one {
display: inline-table;
margin-right: 12px;
> a {
margin: -1px;
}
}
.project-visibility-level-holder {
.radio {
margin-bottom: 10px;
i {
margin: 2px 0;
font-size: 20px;
}
.option-title {
font-weight: normal;
display: inline-block;
2016-04-25 16:02:15 -04:00
color: $gl-gray-dark;
}
.option-descr {
margin-left: 29px;
color: #54565b;
}
}
}
.save-project-loader {
margin-top: 50px;
margin-bottom: 50px;
color: #555;
}
.transfer-project .select2-container {
min-width: 200px;
}
.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;
}
}
.vs-public {
2015-03-06 22:02:12 -05:00
color: $gl-primary;
}
.vs-internal {
2015-03-06 22:02:12 -05:00
color: $gl-warning;
}
.vs-private {
2015-03-06 22:02:12 -05:00
color: $gl-success;
}
.breadcrumb.repo-breadcrumb {
padding: 0;
background: transparent;
border: none;
line-height: 36px;
margin: 0;
> li + li:before {
padding: 0 3px;
color: #999;
}
a {
color: $gl-dark-link-color;
}
}
.last-push-widget {
margin-top: -1px;
}
.fork-namespaces {
.fork-thumbnail {
text-align: center;
margin-bottom: $gl-padding;
.caption {
padding: $gl-padding 0;
min-height: 30px;
}
img {
@include border-radius(50%);
max-width: 100px;
}
}
}
.project-import {
.form-group {
margin-bottom: 0;
}
.import-buttons {
padding-left: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
.btn {
margin-right: 10px;
padding: 8px 12px;
}
&> div {
margin-bottom: 14px;
padding-left: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
.project-stats {
margin-top: $gl-padding;
margin-bottom: 0;
padding: 0;
2016-05-19 11:11:54 -04:00
background-color: $white-light;
font-size: 0;
ul.nav {
display: inline-block;
}
.nav li {
display: inline-block;
margin: 16px 0;
margin-right: 16px;
}
.nav > li > a {
background-color: transparent;
padding: 5px 10px;
2016-05-19 11:11:54 -04:00
font-size: 15px;
color: $notes-light-color;
}
li {
display: inline;
}
a {
float: left;
font-size: 17px;
}
li.missing {
2016-06-19 19:52:19 -04:00
border: 1px dashed $border-gray-light;
border-radius: $border-radius-default;
a {
2016-06-19 19:52:19 -04:00
color: $notes-light-color;
display: block;
}
&:hover {
2016-06-19 19:52:19 -04:00
background-color: $gray-normal;
}
}
2016-05-19 11:11:54 -04:00
&.row-content-block.second-block {
margin-top: 0;
}
}
pre.light-well {
border-color: #f1f1f1;
}
.git-empty {
margin: 0 7px 7px;
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;
}
}
/*
* Projects list rendered on dashboard and user page
*/
.projects-list {
@include basic-list;
.project-row {
2015-10-19 05:19:45 -04:00
border-color: $table-border-color;
&.no-description {
.project {
line-height: 40px;
}
}
.project-full-name {
@include str-truncated;
}
.controls {
line-height: 40px;
a:hover {
text-decoration: none;
}
> span {
margin-left: 10px;
}
}
}
.bottom {
padding-top: $gl-padding;
padding-bottom: 0;
}
}
.panel .projects-list li {
padding: 10px 15px;
margin: 0;
}
2016-06-03 14:09:45 -04:00
.activity-filter-block {
.controls {
2016-06-17 10:29:25 -04:00
padding-bottom: 7px;
margin-top: 8px;
2016-06-03 14:09:45 -04:00
border-bottom: 1px solid $border-color;
}
}
.project-last-commit {
.ci-status {
margin-right: 16px;
}
.commit-row-message {
color: $gl-gray;
}
.commit_short_id {
2016-04-05 17:12:47 -04:00
margin: 0 5px;
color: $gl-link-color;
font-weight: 600;
}
.commit-author-link {
margin-left: 7px;
text-decoration: none;
.avatar {
float: none;
margin-right: 4px;
}
.commit-author-name {
font-weight: 600;
}
}
}
.project-show-readme .readme-holder {
padding: $gl-padding 0;
border-top: 0;
2015-10-22 11:11:21 -04:00
.edit-project-readme {
2016-05-19 11:11:54 -04:00
z-index: 2;
2015-10-22 11:11:21 -04:00
position: relative;
}
2016-05-19 11:11:54 -04:00
.wiki h1 {
border-bottom: none;
padding: 0;
}
}
.git-clone-holder {
width: 498px;
.btn-clipboard {
border: 1px solid $border-color;
padding: 6px $gl-padding;
}
.project-home-dropdown + & {
margin-right: 45px;
}
.clone-options {
display: table-cell;
a.btn {
width: 100%;
}
}
.form-control {
@extend .monospace;
background: #fff;
font-size: 14px;
margin-left: -1px;
cursor: auto;
width: 101%;
}
}
.cannot-be-merged,
.cannot-be-merged:hover {
color: #e62958;
margin-top: 2px;
}
.private-forks-notice .private-fork-icon {
2016-01-20 00:07:40 -05:00
i:nth-child(1) {
color: #2aa056;
}
2016-01-20 00:07:40 -05:00
i:nth-child(2) {
color: #fff;
}
}
2016-04-26 10:50:31 -04:00
.protected-branches-list {
a {
color: $gl-gray;
font-weight: 600;
&:hover {
color: $gl-link-color;
}
}
}
.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;
}
}
2016-06-07 09:40:21 -04:00
.project-refs-form {
.dropdown-menu {
width: 300px;
}
}