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

336 lines
4.7 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.new_project,
.edit_project {
fieldset.features {
.control-label {
font-weight: bold;
}
}
}
.project-name-holder {
.help-inline {
vertical-align: top;
padding: 7px;
}
}
.project-home-panel {
2015-09-11 14:41:01 +05:30
text-align: center;
2015-09-25 12:07:36 +05:30
background: #f7f8fa;
margin: -$gl-padding;
padding: $gl-padding;
padding-top: 40px;
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
.project-identicon-holder {
2015-09-11 14:41:01 +05:30
margin-bottom: 15px;
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 {
margin: 11px 3px 0;
}
2015-09-11 14:41:01 +05:30
.project-home-desc {
h1 {
margin: 0;
margin-bottom: 10px;
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
2015-09-11 14:41:01 +05:30
p {
2015-09-25 12:07:36 +05:30
color: #7f8fa4;
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-09-11 14:41:01 +05:30
.git-clone-holder {
max-width: 600px;
margin: 20px auto;
2015-09-25 12:07:36 +05:30
.form-control {
background: #FFF;
}
2014-09-02 18:07:02 +05:30
}
.visibility-level-label {
2015-04-26 12:48:37 +05:30
color: $gray;
2014-09-02 18:07:02 +05:30
i {
color: inherit;
}
}
2015-04-26 12:48:37 +05:30
.project-repo-buttons {
2015-09-25 12:07:36 +05:30
margin-top: $gl-padding;
2015-09-11 14:41:01 +05:30
margin-bottom: 25px;
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
.btn {
2015-09-11 14:41:01 +05:30
@extend .btn-info;
2015-09-25 12:07:36 +05:30
text-transform: uppercase;
font-size: 15px;
line-height: 20px;
padding: 8px 14px;
border-radius: 3px;
2015-09-11 14:41:01 +05:30
margin-left: 10px;
2015-04-26 12:48:37 +05:30
.count {
2015-09-11 14:41:01 +05:30
padding-left: 7px;
2015-04-26 12:48:37 +05:30
display: inline-block;
2015-09-11 14:41:01 +05:30
margin-left: 7px;
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-04-26 12:48:37 +05:30
.git-clone-holder {
.project-home-dropdown + & {
margin-right: 45px;
2014-09-02 18:07:02 +05:30
}
.form-control {
cursor: auto;
@extend .monospace;
background: #FAFAFA;
width: 100%;
}
2015-04-26 12:48:37 +05:30
.input-group-addon {
background: #FAFAFA;
2015-09-11 14:41:01 +05:30
&.git-protocols {
padding: 0;
border: none;
.input-group-btn:last-child > .btn {
@include border-radius-right(0);
}
}
2015-04-26 12:48:37 +05:30
}
2014-09-02 18:07:02 +05:30
}
.project-visibility-level-holder {
.radio {
margin-bottom: 10px;
i {
margin: 0 3px;
font-size: 20px;
}
.option-title {
font-weight: bold;
display: inline-block;
}
.option-descr {
2015-09-11 14:41:01 +05:30
margin-left: 36px;
2015-04-26 12:48:37 +05:30
color: $gray;
2014-09-02 18:07:02 +05:30
}
}
}
.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;
}
}
}
}
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
line-height: 42px;
background: transparent;
2014-09-02 18:07:02 +05:30
border: none;
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
.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-09-25 12:07:36 +05:30
margin-top: 0;
margin-bottom: 0;
padding-top: 5px;
padding-bottom: 0;
ul.nav-pills {
display:inline-block;
}
2015-09-11 14:41:01 +05:30
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 {
color: #bbb;
border: 1px dashed #ccc;
&:hover {
background-color: #FAFAFA;
}
}
}
pre.light-well {
border-color: #f1f1f1;
}
2015-09-25 12:07:36 +05:30
.projects-search-form {
margin: -$gl-padding;
background-color: #f8fafc;
padding: $gl-padding;
margin-bottom: 0px;
border-top: 1px solid #e7e9ed;
border-bottom: 1px solid #e7e9ed;
}
/*
* Projects list rendered on dashboard and user page
*/
.projects-list {
@include basic-list;
.project-row {
padding: $gl-padding;
border-color: #f1f2f4;
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;
}
.pull-right.light {
line-height: 45px;
color: #7f8fa4;
}
.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;
}
}
.inline-form {
display: inline-block;
}