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

529 lines
7.9 KiB
SCSS
Raw Normal View History

2015-10-24 18:46:33 +05:30
.alert_holder {
margin: -16px;
.alert-link {
font-weight: normal;
}
}
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;
margin-bottom: 16px;
}
2014-09-02 18:07:02 +05:30
.new_project,
.edit_project {
fieldset.features {
.control-label {
2015-10-24 18:46:33 +05:30
font-weight: normal;
2014-09-02 18:07:02 +05:30
}
}
}
.project-name-holder {
.help-inline {
vertical-align: top;
padding: 7px;
}
}
.project-home-panel {
padding-bottom: 40px;
border-bottom: 1px solid $border-color;
.cover-controls {
.project-settings-dropdown {
margin-left: 10px;
}
}
2015-04-26 12:48:37 +05:30
.project-identicon-holder {
2015-10-24 18:46:33 +05:30
margin-bottom: 16px;
2015-04-26 12:48:37 +05:30
2015-09-11 14:41:01 +05:30
.avatar, .identicon {
margin: 0 auto;
float: none;
2015-04-26 12:48:37 +05:30
}
.identicon {
2015-09-11 14:41:01 +05:30
@include border-radius(50%);
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
2015-09-25 12:07:36 +05:30
.project-home-dropdown {
2015-11-26 14:37:03 +05:30
margin: 13px 0px 0;
}
.notifications-btn {
margin-top: -28px;
2015-11-26 14:37:03 +05:30
.fa-bell {
margin-right: 6px;
}
.fa-angle-down {
margin-left: 6px;
}
2015-09-25 12:07:36 +05:30
}
2015-09-11 14:41:01 +05:30
.project-home-desc {
h1 {
2015-10-24 18:46:33 +05:30
color: #313236;
2015-09-11 14:41:01 +05:30
margin: 0;
2015-10-24 18:46:33 +05:30
margin-bottom: 6px;
2015-09-25 12:07:36 +05:30
font-size: 23px;
font-weight: normal;
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +05:30
2016-04-02 18:10:28 +05:30
.visibility-icon {
display: inline-block;
margin-left: 5px;
font-size: 18px;
color: $gray;
}
2015-09-11 14:41:01 +05:30
p {
2015-10-24 18:46:33 +05:30
padding: 0 $gl-padding;
color: #5c5d5e;
2014-09-02 18:07:02 +05:30
}
2015-09-11 14:41:01 +05:30
}
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
.project-repo-buttons {
2016-04-02 18:10:28 +05:30
margin-top: 20px;
2015-10-24 18:46:33 +05:30
margin-bottom: 0px;
2014-09-02 18:07:02 +05:30
.count-buttons {
display: block;
2016-04-02 18:10:28 +05:30
margin-bottom: 20px;
}
.clone-row {
.split-repo-buttons,
.project-clone-holder {
display: inline-block;
}
.split-repo-buttons {
margin: 0 12px;
}
}
2015-04-26 12:48:37 +05:30
.btn {
2015-10-24 18:46:33 +05:30
@include btn-gray;
text-transform: none;
}
.count-with-arrow {
display: inline-block;
position: relative;
margin-left: 4px;
.arrow {
&: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-04-26 12:48:37 +05:30
.count {
@include btn-gray;
2015-04-26 12:48:37 +05:30
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;
2016-04-02 18:10:28 +05:30
padding: 10px 14px;
text-align: center;
vertical-align: middle;
touch-action: manipulation;
cursor: pointer;
background-image: none;
white-space: nowrap;
margin: 0 11px 0px 4px;
&:hover {
background: #FFF;
}
2015-04-26 12:48:37 +05:30
}
}
2014-09-02 18:07:02 +05:30
}
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 {
margin: -1px !important;
}
}
.dropdown-menu {
@include box-shadow(rgba(76, 86, 103, 0.247059) 0px 0px 1px 0px, rgba(31, 37, 50, 0.317647) 0px 2px 18px 0px);
@include border-radius (0px);
border: none;
padding: 16px 0;
font-size: 14px;
font-weight: 100;
li a {
color: #5f697a;
line-height: 30px;
&:hover {
background-color: #3084bb !important;
}
}
2015-11-26 14:37:03 +05:30
i {
2015-10-24 18:46:33 +05:30
margin-right: 8px;
}
}
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;
2015-10-24 18:46:33 +05:30
color: #313236;
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;
}
2015-04-26 12:48:37 +05:30
.project_member_row form {
2014-09-02 18:07:02 +05:30
margin: 0px;
}
.transfer-project .select2-container {
min-width: 200px;
}
.deploy-project-label {
margin: 1px;
}
.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;
line-height: 42px;
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;
}
}
2015-04-26 12:48:37 +05:30
.last-push-widget {
margin-top: -1px;
}
2015-04-26 12:48:37 +05:30
.fork-namespaces {
2015-09-25 12:07:36 +05:30
.fork-thumbnail {
text-align: center;
margin-bottom: $gl-padding;
2015-04-26 12:48:37 +05:30
2015-09-25 12:07:36 +05:30
.caption {
padding: $gl-padding 0;
min-height: 30px;
2015-04-26 12:48:37 +05:30
}
2015-09-25 12:07:36 +05:30
img {
@include border-radius(50%);
max-width: 100px;
2015-04-26 12:48:37 +05:30
}
}
}
table.table.protected-branches-list tr.no-border {
th, td {
border: 0;
}
}
.project-import .btn {
float: left;
margin-right: 10px;
}
2015-09-11 14:41:01 +05:30
.project-stats {
text-align: center;
2015-12-23 02:04:40 +05:30
margin-top: $gl-padding;
2015-09-25 12:07:36 +05:30
margin-bottom: 0;
2015-10-24 18:46:33 +05:30
padding-top: 10px;
padding-bottom: 4px;
2015-09-25 12:07:36 +05:30
ul.nav {
2015-09-25 12:07:36 +05:30
display:inline-block;
}
2015-09-11 14:41:01 +05:30
.nav li {
2015-10-24 18:46:33 +05:30
display:inline;
}
.nav > li > a {
@include btn-default;
@include btn-gray;
background-color: transparent;
border: 1px solid #f7f8fa;
margin-left: 12px;
}
2015-09-25 12:07:36 +05:30
li {
display:inline;
}
a {
float:left;
font-size: 17px;
}
2015-09-11 14:41:01 +05:30
li.missing a {
2015-10-24 18:46:33 +05:30
color: #5a6069;
border: 1px dashed #dce0e5;
2015-09-11 14:41:01 +05:30
&:hover {
2015-10-24 18:46:33 +05:30
background-color: #f0f2f5;
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 {
margin: 0 7px 0 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;
}
}
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;
font-weight: 600;
color: #4c4e54;
}
2015-10-24 18:46:33 +05:30
.project-controls {
float: right;
color: $gl-gray;
2016-04-02 18:10:28 +05:30
line-height: 40px;
2015-09-25 12:07:36 +05:30
color: #7f8fa4;
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;
}
2015-09-25 12:07:36 +05:30
}
.project-description {
color: #7f8fa4;
p {
@include str-truncated;
margin-bottom: 0;
color: #7f8fa4;
}
}
}
.bottom {
padding-top: $gl-padding;
padding-bottom: 0;
}
}
.panel .projects-list li {
padding: 10px 15px;
margin: 0;
}
.project-show-activity {
.activity-filter-block {
margin-top: -1px;
}
}
2015-11-26 14:37:03 +05:30
.project-last-commit {
.ci-status {
margin-right: 16px;
}
.commit-row-message {
color: $gl-gray;
}
.commit_short_id {
margin-right: 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;
}
}
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: 100;
position: relative;
}
2015-12-23 02:04:40 +05:30
}
.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%;
}
}
2016-04-02 18:10:28 +05:30
.cannot-be-merged,
.cannot-be-merged:hover {
color: #E62958;
margin-top: 2px;
}
.private-forks-notice .private-fork-icon {
i:nth-child(1) {
color: #2AA056;
}
i:nth-child(2) {
color: #FFFFFF;
}
}