674 lines
10 KiB
SCSS
674 lines
10 KiB
SCSS
.alert_holder {
|
|
margin: -16px;
|
|
|
|
.alert-link {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
.no-ssh-key-message, .project-limit-message {
|
|
background-color: #f28d35;
|
|
margin-bottom: 16px;
|
|
}
|
|
.new_project,
|
|
.edit_project {
|
|
fieldset.features {
|
|
.control-label {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
.project-name-holder {
|
|
.help-inline {
|
|
vertical-align: top;
|
|
padding: 7px;
|
|
}
|
|
}
|
|
|
|
.project-home-panel {
|
|
|
|
.cover-controls {
|
|
.project-settings-dropdown {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.project-identicon-holder {
|
|
margin-bottom: 16px;
|
|
|
|
.avatar, .identicon {
|
|
margin: 0 auto;
|
|
float: none;
|
|
}
|
|
|
|
.identicon {
|
|
@include border-radius(50%);
|
|
}
|
|
}
|
|
|
|
.project-home-dropdown {
|
|
margin: 13px 0px 0;
|
|
}
|
|
|
|
.notifications-btn {
|
|
.fa-bell {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.fa-angle-down {
|
|
margin-left: 6px;
|
|
}
|
|
}
|
|
|
|
.project-home-desc {
|
|
h1 {
|
|
color: #313236;
|
|
margin: 0;
|
|
margin-bottom: 6px;
|
|
font-size: 23px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
p {
|
|
padding: 0 $gl-padding;
|
|
color: #5c5d5e;
|
|
}
|
|
}
|
|
|
|
.git-clone-holder {
|
|
max-width: 498px;
|
|
|
|
.form-control {
|
|
background: #FFF;
|
|
font-size: 14px;
|
|
height: 42px;
|
|
margin-left: -1px;
|
|
}
|
|
}
|
|
|
|
.visibility-level-label {
|
|
@extend .btn;
|
|
@extend .btn-gray;
|
|
|
|
color: $gray;
|
|
cursor: default;
|
|
|
|
i {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.git-clone-holder {
|
|
display: inline-table;
|
|
position: relative;
|
|
}
|
|
|
|
.project-repo-buttons {
|
|
margin-top: 12px;
|
|
margin-bottom: 0px;
|
|
|
|
.count-buttons {
|
|
display: block;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.btn {
|
|
@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;
|
|
}
|
|
}
|
|
.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: 20px;
|
|
padding: 11px 16px;
|
|
letter-spacing: .4px;
|
|
padding: 10px;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.split-one {
|
|
display: inline-table;
|
|
margin-right: 12px;
|
|
|
|
a {
|
|
margin: -1px !important;
|
|
}
|
|
}
|
|
|
|
.git-clone-holder {
|
|
.project-home-dropdown + & {
|
|
margin-right: 45px;
|
|
}
|
|
|
|
.clone-options {
|
|
display: table-cell;
|
|
a.btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.form-control {
|
|
cursor: auto;
|
|
@extend .monospace;
|
|
background: #FAFAFA;
|
|
width: 101%;
|
|
}
|
|
|
|
.input-group-addon {
|
|
background: #f7f8fa;
|
|
|
|
&.git-protocols {
|
|
padding: 0;
|
|
border: none;
|
|
|
|
.input-group-btn:last-child > .btn {
|
|
@include border-radius-right(0);
|
|
|
|
border-left: 1px solid #c6cacf;
|
|
margin-left: -2px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.projects-search-form {
|
|
|
|
.input-group .form-control {
|
|
height: 42px;
|
|
}
|
|
}
|
|
|
|
.input-group-btn {
|
|
.btn {
|
|
@include btn-gray;
|
|
@include btn-middle;
|
|
|
|
&:hover {
|
|
outline: none;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
|
|
&:active {
|
|
outline: none;
|
|
}
|
|
|
|
&.btn-clipboard {
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
|
|
|
|
border: 1px solid #c6cacf !important;
|
|
background-color: #e4e7ed !important;
|
|
}
|
|
|
|
.btn-green {
|
|
@include btn-green
|
|
}
|
|
|
|
}
|
|
|
|
.split-repo-buttons {
|
|
display: inline-table;
|
|
margin: 0 12px 0 12px;
|
|
|
|
.btn{
|
|
@include btn-gray;
|
|
@include btn-default;
|
|
}
|
|
|
|
.dropdown-toggle {
|
|
margin: -5px;
|
|
}
|
|
}
|
|
|
|
#notification-form {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.dropdown-new {
|
|
margin-left: -5px;
|
|
}
|
|
|
|
.open > .dropdown-new.btn {
|
|
@include box-shadow(inset 0 0 4px rgba(0, 0, 0, 0.12));
|
|
|
|
border: 1px solid #c6cacf !important;
|
|
background-color: #e4e7ed !important;
|
|
text-transform: none;
|
|
color: #313236 !important;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
i {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
|
|
.project-visibility-level-holder {
|
|
.radio {
|
|
margin-bottom: 10px;
|
|
|
|
i {
|
|
margin: 2px 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.option-title {
|
|
font-weight: normal;
|
|
display: inline-block;
|
|
color: #313236;
|
|
}
|
|
|
|
.option-descr {
|
|
margin-left: 29px;
|
|
color: #54565b;
|
|
}
|
|
}
|
|
}
|
|
|
|
.save-project-loader {
|
|
margin-top: 50px;
|
|
margin-bottom: 50px;
|
|
color: #555;
|
|
}
|
|
|
|
ul.nav.nav-projects-tabs {
|
|
@extend .nav-tabs;
|
|
|
|
padding-left: 8px;
|
|
|
|
li {
|
|
a {
|
|
padding: 6px 25px;
|
|
margin-top: 2px;
|
|
border-color: #DDD;
|
|
background-color: #EEE;
|
|
text-shadow: 0 1px 1px white;
|
|
color: #555;
|
|
}
|
|
&.active {
|
|
a {
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.project_member_row form {
|
|
margin: 0px;
|
|
}
|
|
|
|
.transfer-project .select2-container {
|
|
min-width: 200px;
|
|
}
|
|
|
|
.deploy-project-label {
|
|
margin: 1px;
|
|
}
|
|
|
|
.vs-public {
|
|
color: $gl-primary;
|
|
}
|
|
|
|
.vs-internal {
|
|
color: $gl-warning;
|
|
}
|
|
|
|
.vs-private {
|
|
color: $gl-success;
|
|
}
|
|
|
|
.breadcrumb.repo-breadcrumb {
|
|
padding: 0;
|
|
line-height: 42px;
|
|
background: transparent;
|
|
border: none;
|
|
margin: 0;
|
|
|
|
> li + li:before {
|
|
padding: 0 3px;
|
|
color: #999;
|
|
}
|
|
}
|
|
|
|
.last-push-widget {
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.top-area {
|
|
border-bottom: 1px solid #EEE;
|
|
margin: 0 -16px;
|
|
padding: 0 $gl-padding;
|
|
height: 42px;
|
|
|
|
ul.left-top-menu {
|
|
display: inline-block;
|
|
width: 50%;
|
|
margin-bottom: 0px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.projects-search-form {
|
|
width: 50%;
|
|
display: inline-block;
|
|
float: right;
|
|
padding-top: 7px;
|
|
text-align: right;
|
|
|
|
.btn-green {
|
|
margin-top: -2px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
.projects-search-form {
|
|
padding-top: 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
table.table.protected-branches-list tr.no-border {
|
|
th, td {
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
.project-import .btn {
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.project-stats {
|
|
text-align: center;
|
|
margin-top: $gl-padding;
|
|
margin-bottom: 0;
|
|
padding-top: 10px;
|
|
padding-bottom: 4px;
|
|
|
|
ul.nav-pills {
|
|
display:inline-block;
|
|
}
|
|
|
|
.nav-pills li {
|
|
display:inline;
|
|
}
|
|
|
|
.nav > li > a {
|
|
@include btn-default;
|
|
@include btn-gray;
|
|
|
|
background-color: transparent;
|
|
border: 1px solid #f7f8fa;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
li {
|
|
display:inline;
|
|
}
|
|
|
|
a {
|
|
float:left;
|
|
font-size: 17px;
|
|
}
|
|
|
|
li.missing a {
|
|
color: #5a6069;
|
|
border: 1px dashed #dce0e5;
|
|
|
|
&:hover {
|
|
background-color: #f0f2f5;
|
|
}
|
|
}
|
|
}
|
|
|
|
pre.light-well {
|
|
border-color: #f1f1f1;
|
|
}
|
|
|
|
.projects-search-form {
|
|
margin: -$gl-padding;
|
|
padding: $gl-padding;
|
|
padding-bottom: 0;
|
|
margin-bottom: 0px;
|
|
|
|
input {
|
|
display: inline-block;
|
|
width: calc(100% - 151px);
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
width: 135px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Projects list rendered on dashboard and user page
|
|
*/
|
|
|
|
.projects-list {
|
|
@include basic-list;
|
|
|
|
.project-row {
|
|
padding: $gl-padding;
|
|
border-color: $table-border-color;
|
|
margin-left: -$gl-padding;
|
|
margin-right: -$gl-padding;
|
|
|
|
&.no-description {
|
|
.project {
|
|
line-height: 44px;
|
|
}
|
|
}
|
|
|
|
.project-full-name {
|
|
@include str-truncated;
|
|
font-weight: 600;
|
|
color: #4c4e54;
|
|
}
|
|
|
|
.project-controls {
|
|
float: right;
|
|
color: $gl-gray;
|
|
line-height: 45px;
|
|
color: #7f8fa4;
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.project-last-commit {
|
|
margin: 0 7px;
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.project-show-readme .readme-holder {
|
|
margin-left: -$gl-padding;
|
|
margin-right: -$gl-padding;
|
|
padding: ($gl-padding + 7px);
|
|
border-top: 0;
|
|
|
|
.edit-project-readme {
|
|
z-index: 100;
|
|
position: relative;
|
|
}
|
|
}
|