debian-mirror-gitlab/app/assets/stylesheets/framework/common.scss

480 lines
6.8 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
/** COLORS **/
2015-09-25 12:07:36 +05:30
.cgray { color: $gl-gray; }
2014-09-02 18:07:02 +05:30
.clgray { color: #BBB }
2015-10-24 18:46:33 +05:30
.cred { color: $gl-text-red; }
.cgreen { color: $gl-text-green; }
2014-09-02 18:07:02 +05:30
.cdark { color: #444 }
/** COMMON CLASSES **/
.prepend-top-10 { margin-top:10px }
2015-12-23 02:04:40 +05:30
.prepend-top-default { margin-top: $gl-padding !important; }
2014-09-02 18:07:02 +05:30
.prepend-top-20 { margin-top:20px }
.prepend-left-10 { margin-left:10px }
.prepend-left-20 { margin-left:20px }
.append-right-10 { margin-right:10px }
.append-right-20 { margin-right:20px }
.append-bottom-10 { margin-bottom:10px }
.append-bottom-15 { margin-bottom:15px }
.append-bottom-20 { margin-bottom:20px }
2015-11-26 14:37:03 +05:30
.append-bottom-default { margin-bottom: $gl-padding; }
2014-09-02 18:07:02 +05:30
.inline { display: inline-block }
.center { text-align: center }
.underlined-link { text-decoration: underline; }
.hint { font-style: italic; color: #999; }
2015-09-25 12:07:36 +05:30
.light { color: $gl-gray; }
2014-09-02 18:07:02 +05:30
.slead {
2015-09-25 12:07:36 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
font-size: 15px;
2014-09-02 18:07:02 +05:30
margin-bottom: 12px;
font-weight: normal;
line-height: 24px;
}
.tab-content {
overflow: visible;
}
pre {
&.clean {
background: none;
border: none;
margin: 0;
padding: 0;
}
&.well-pre {
border: 1px solid #EEE;
background: #f9f9f9;
border-radius: 0;
color: #555;
}
}
2015-12-23 02:04:40 +05:30
hr {
margin: $gl-padding 0;
}
2014-09-02 18:07:02 +05:30
.dropdown-menu > li > a {
text-shadow: none;
}
2015-04-26 12:48:37 +05:30
.dropdown-menu-align-right {
left: auto;
right: 0px;
}
2014-09-02 18:07:02 +05:30
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
2015-04-26 12:48:37 +05:30
background: $gl-primary;
2015-12-23 02:04:40 +05:30
color: #FFF;
2014-09-02 18:07:02 +05:30
}
.str-truncated {
@include str-truncated;
}
/** FLASH message **/
.author_link {
2015-04-26 12:48:37 +05:30
color: $gl-link-color;
2014-09-02 18:07:02 +05:30
}
.back-link {
font-size: 14px;
}
table a code {
position: relative;
top: -2px;
margin-right: 3px;
}
.loading {
margin: 20px auto;
height: 40px;
color: #555;
font-size: 32px;
text-align: center;
}
span.update-author {
display: block;
color: #999;
font-weight: normal;
font-style: italic;
strong {
font-weight: bold;
font-style: normal;
}
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
}
.field_with_errors {
display: inline;
}
.line_holder {
&:hover {
td {
background: #FFFFCF !important;
}
}
}
p.time {
color: #999;
font-size: 90%;
margin: 30px 3px 3px 2px;
}
.highlight {
text-shadow: none;
}
.thin_area{
height: 150px;
}
// Fixes alignment on notes.
.new_note {
label {
text-align: left;
}
}
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
img { max-width:100% }
.note-title {
li {
border-bottom:none !important;
}
}
}
.markdown {
img {
max-width: 100%;
}
}
.wiki_content code, .readme code{
background-color: inherit;
}
2015-04-26 12:48:37 +05:30
.project_member_show {
2014-09-02 18:07:02 +05:30
td:first-child {
color: #aaa;
}
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
2015-09-11 14:41:01 +05:30
.show-suppressed-diff,
2014-09-02 18:07:02 +05:30
.show-all-commits {
cursor: pointer;
}
.git_error_tips {
@extend .col-md-6;
text-align: left;
margin-top: 40px;
pre {
background: white;
border: none;
font-size: 12px;
}
}
.error-message {
padding: 10px;
background: #C67;
margin: 0;
color: #FFF;
a {
color: #fff;
text-decoration: underline;
}
}
2015-04-26 12:48:37 +05:30
.browser-alert {
padding: 10px;
2014-09-02 18:07:02 +05:30
text-align: center;
2015-04-26 12:48:37 +05:30
background: #C67;
color: #fff;
font-weight: bold;
2014-09-02 18:07:02 +05:30
a {
color: #fff;
text-decoration: underline;
}
}
.warning_message {
border-left: 4px solid #ed9;
color: #b90;
padding: 10px;
margin-bottom: 10px;
background: #ffffe6;
padding-left: 20px;
&.centered {
text-align: center;
}
}
.gitlab-promo {
a {
color: #aaa;
margin-right: 30px;
}
}
.milestone {
&.milestone-closed {
2015-04-26 12:48:37 +05:30
background: #f9f9f9;
2014-09-02 18:07:02 +05:30
}
.progress {
margin-bottom: 0;
margin-top: 4px;
}
}
.control-group {
.controls {
span {
&.descr {
position: relative;
top: 2px;
left: 5px;
color: #666;
}
}
}
}
img.emoji {
height: 20px;
vertical-align: middle;
width: 20px;
}
.chart {
overflow: hidden;
height: 220px;
}
.description-block {
@extend .light-well;
@extend .light;
margin-bottom: 10px;
}
table {
td.permission-x {
background: #D9EDF7 !important;
text-align: center;
}
}
.dashboard-intro-icon {
float: left;
2015-04-26 12:48:37 +05:30
text-align: center;
2014-09-02 18:07:02 +05:30
font-size: 32px;
color: #AAA;
2015-04-26 12:48:37 +05:30
width: 60px;
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
.dashboard-intro-text {
display: inline-block;
margin-left: -60px;
padding-left: 60px;
width: 100%;
2014-09-02 18:07:02 +05:30
}
.btn-sign-in {
2015-09-25 12:07:36 +05:30
margin-top: 8px;
2014-09-02 18:07:02 +05:30
text-shadow: none;
}
.side-filters {
fieldset {
margin-bottom: 15px;
}
}
.wiki .highlight, .note-body .highlight {
2015-10-24 18:46:33 +05:30
margin: 12px 0 12px 0;
2014-09-02 18:07:02 +05:30
}
2015-04-26 12:48:37 +05:30
.wiki .code {
overflow-x: auto;
}
.footer-links {
margin-bottom: 20px;
a {
margin-right: 15px;
}
2014-09-02 18:07:02 +05:30
}
2015-11-26 14:37:03 +05:30
.well {
2015-12-23 02:04:40 +05:30
margin-bottom: $gl-padding;
2015-11-26 14:37:03 +05:30
}
2014-09-02 18:07:02 +05:30
.search_box {
2015-09-11 14:41:01 +05:30
@extend .well;
2014-09-02 18:07:02 +05:30
text-align: center;
}
2015-04-26 12:48:37 +05:30
#nprogress .spinner {
2015-09-11 14:41:01 +05:30
top: 15px !important;
right: 10px !important;
2015-04-26 12:48:37 +05:30
}
.header-with-avatar {
h3 {
margin: 0;
font-weight: bold;
}
.username {
font-size: 18px;
color: #666;
margin-top: 8px;
}
.description {
2015-09-25 12:07:36 +05:30
font-size: $gl-font-size;
2015-04-26 12:48:37 +05:30
color: #666;
margin-top: 8px;
}
}
2015-09-11 14:41:01 +05:30
.profiler-results {
2015-09-25 12:07:36 +05:30
top: 73px !important;
2015-09-11 14:41:01 +05:30
.profiler-button,
.profiler-controls {
border-color: #EEE !important;
}
}
2015-09-25 12:07:36 +05:30
.center-top-menu, .left-top-menu {
2015-09-25 12:07:36 +05:30
@include nav-menu;
text-align: center;
margin-top: 5px;
margin-bottom: $gl-padding;
2015-12-23 02:04:40 +05:30
height: auto;
2015-09-25 12:07:36 +05:30
margin-top: -$gl-padding;
&.no-bottom {
margin-bottom: 0;
}
2015-10-24 18:46:33 +05:30
&.no-top {
margin-top: 0;
}
2015-12-23 02:04:40 +05:30
li a {
display: inline-block;
padding-top: $gl-padding;
padding-bottom: 11px;
margin-bottom: -1px;
}
&.bottom-border {
border-bottom: 1px solid $border-color;
height: 57px;
}
&.wide {
margin-left: -$gl-padding;
margin-right: -$gl-padding;
}
2015-09-25 12:07:36 +05:30
}
.left-top-menu {
text-align: left;
border-bottom: 1px solid #EEE;
}
2015-11-26 14:37:03 +05:30
.center-middle-menu {
@include nav-menu;
padding: 0;
text-align: center;
margin: -$gl-padding;
margin-top: 0;
margin-bottom: 0;
height: 58px;
border-bottom: 1px solid $border-color;
li {
&:after {
content: "|";
color: $border-gray-light;
}
&:last-child {
&:after {
content: none;
}
}
> a {
display: inline-block;
text-transform: uppercase;
font-size: 13px;
}
}
}
2015-09-25 12:07:36 +05:30
.dropzone .dz-preview .dz-progress {
border-color: $border-color !important;
}
.dropzone .dz-preview .dz-progress .dz-upload {
background: $gl-success !important;
}
2015-10-24 18:46:33 +05:30
.space-right {
margin-right: 10px;
}
2015-12-23 02:04:40 +05:30
.alert, .progress {
margin-bottom: $gl-padding;
}
.new-project-item-select-holder {
display: inline-block;
position: relative;
.new-project-item-select {
position: absolute;
top: 0;
right: 0;
width: 250px !important;
visibility: hidden;
}
}
.content-separator {
margin-left: -$gl-padding;
margin-right: -$gl-padding;
border-top: 1px solid $border-color;
}