gitlab-org--gitlab-foss/app/assets/stylesheets/common.scss

407 lines
5.0 KiB
SCSS
Raw Normal View History

html {
2013-01-25 08:07:21 +00:00
overflow-y: scroll;
}
2012-01-26 17:25:35 +00:00
/** LAYOUT **/
2012-01-16 19:07:57 +00:00
body {
margin-bottom: 20px;
}
.container {
padding-top: 0;
z-index: 5;
2012-02-19 14:31:11 +00:00
}
.container .content {
margin: 0 0;
2012-01-26 17:25:35 +00:00
}
.author_link {
2012-02-11 21:22:33 +00:00
color: $link_color;
2012-01-29 10:04:09 +00:00
}
2012-02-11 17:56:18 +00:00
.help li { color:$style_color; }
2012-02-18 12:12:48 +00:00
.back-link {
font-size: 14px;
2012-02-18 12:12:48 +00:00
}
2012-02-18 12:43:35 +00:00
table a code {
position: relative;
top: -2px;
margin-right: 3px;
}
.loading {
margin: 20px auto;
background: url(ajax_loader.gif) no-repeat center center;
width: 40px;
height: 40px;
&.loading-gray {
background: url(ajax_loader_gray.gif) no-repeat center center;
}
}
2012-02-26 22:41:53 +00:00
/** FLASH message **/
.flash-container {
display: none;
.alert {
cursor: pointer;
margin: 0;
text-align: center;
border-radius: 0;
span {
font-size: 14px;
}
2012-02-26 22:41:53 +00:00
}
}
span.update-author {
display: block;
color: #999;
font-weight: normal;
font-style: italic;
strong {
font-weight: bold;
font-style: normal;
}
2012-02-26 22:41:53 +00:00
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
2012-02-26 22:41:53 +00:00
}
.label {
2013-04-04 07:53:39 +00:00
padding: 1px 4px;
font-size: 12px;
font-style: normal;
2013-04-04 07:53:39 +00:00
font-weight: normal;
}
form {
@extend .form-horizontal;
.actions {
@extend .form-actions;
}
.clearfix {
@extend .control-group;
}
.input {
@extend .controls;
}
label {
@extend .control-label;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
}
.field_with_errors {
display: inline;
}
ul.breadcrumb {
background: white;
border: none;
li {
display: inline;
text-shadow: 0 1px 0 white
}
a {
color: #474D57;
font-weight: bold;
font-size: 14px;
}
}
input[type=text] {
&.large_text {
padding: 6px;
font-size: 16px;
}
}
.line_holder {
&:hover {
td {
2012-02-26 22:41:53 +00:00
background: #FFFFCF !important;
}
}
}
p.time {
color: #999;
font-size: 90%;
margin: 30px 3px 3px 2px;
}
2013-01-25 08:07:21 +00:00
.search-holder {
label, input {
height: 30px;
padding: 0;
font-size: 14px;
}
label {
line-height: 30px;
color: #666;
}
}
.highlight_word {
2013-01-25 08:07:21 +00:00
border-bottom: 2px solid #F90;
2012-03-15 23:14:39 +00:00
}
.status_info {
font-size: 14px;
padding: 5px 15px;
line-height: 26px;
text-align: center;
float: right;
position: relative;
top: -5px;
@include border-radius(4px);
2013-04-19 18:57:30 +00:00
&.success {
background: #4A4;
color: #FFF;
}
&.error {
background: #DA4E49;
color: #FFF;
}
}
2012-03-21 22:09:53 +00:00
.thin_area{
height: 150px;
}
2012-03-21 22:09:56 +00:00
// Fixes alignment on notes.
.new_note {
label {
text-align: left;
}
}
2012-03-24 17:36:14 +00:00
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
2012-03-26 04:40:51 +00:00
img { max-width:100% }
2012-03-24 17:36:14 +00:00
.note-title {
li {
border-bottom:none !important;
}
}
}
2012-03-26 04:40:51 +00:00
.markdown {
img {
max-width: 100%;
2012-03-26 04:40:51 +00:00
}
}
.wiki_content code, .readme code{
background-color: inherit;
}
2012-04-02 18:13:44 +00:00
.team_member_show {
td:first-child {
color: #aaa;
2012-04-02 18:13:44 +00:00
}
}
2012-04-10 17:06:17 +00:00
.remember_me {
text-align: left;
2012-04-11 20:50:13 +00:00
input {
margin: 0;
2012-04-11 20:50:13 +00:00
}
span {
padding-left: 5px;
2012-04-11 20:50:13 +00:00
}
2012-04-10 17:06:17 +00:00
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
2012-05-31 20:30:54 +00:00
2012-06-20 18:29:55 +00:00
.supp_diff_link,
.show-all-commits {
cursor: pointer;
2012-06-20 18:29:55 +00:00
}
2012-06-21 05:29:53 +00:00
2013-04-06 12:10:24 +00:00
.merge-request,
.issue {
&.today{
2012-06-21 13:43:40 +00:00
background: #EFE;
border-color: #CEC;
2012-06-21 05:29:53 +00:00
}
&.closed {
2012-06-21 14:23:25 +00:00
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 05:29:53 +00:00
}
&.merged {
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 05:29:53 +00:00
}
2012-07-10 18:26:01 +00:00
}
2012-08-16 06:13:50 +00:00
.git_error_tips {
@extend .span6;
text-align: left;
margin-top: 40px;
2012-08-16 06:13:50 +00:00
pre {
background: white;
border: none;
2012-08-16 06:13:50 +00:00
font-size: 12px;
}
}
2013-07-04 14:10:34 +00:00
.error-message {
2012-11-21 03:14:05 +00:00
padding: 10px;
2013-07-04 14:10:34 +00:00
background: #C67;
2012-11-21 03:14:05 +00:00
padding-left: 20px;
2013-07-04 14:10:34 +00:00
margin: 0;
color: #FFF;
2012-11-29 16:09:27 +00:00
2013-07-04 14:10:34 +00:00
a {
color: #fff;
text-decoration: underline;
}
2012-11-29 16:09:27 +00:00
&.centered {
text-align: center;
}
}
.warning_message {
border-left: 4px solid #ed9;
color: #b90;
padding: 10px;
margin-bottom: 10px;
background: #ffffe6;
padding-left: 20px;
&.centered {
text-align: center;
}
}
.oauth_select_holder {
padding: 20px;
img {
padding: 5px;
margin-right: 10px;
}
.active {
img {
border: 1px solid #ccc;
background: $hover;
@include border-radius(5px);
}
}
}
2012-09-14 16:13:25 +00:00
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
.gitlab-promo {
a {
color: #aaa;
margin-right: 30px;
}
}
2012-10-16 06:43:22 +00:00
pre {
&.clean {
background: none;
border: none;
margin: 0;
padding: 0;
2012-10-16 06:43:22 +00:00
}
}
2012-12-14 05:34:05 +00:00
.milestone {
&.milestone-closed {
background: #eee;
}
.progress {
margin-bottom: 0;
margin-top: 4px;
}
}
2012-10-29 21:45:11 +00:00
h1.http_status_code {
font-size: 56px;
line-height: 100px;
font-weight: normal;
color: #456;
}
.control-group {
.controls {
span {
&.descr {
position: relative;
top: 2px;
left: 5px;
color: #666;
}
}
}
}
2012-11-16 22:25:07 +00:00
img.emoji {
height: 20px;
vertical-align: middle;
width: 20px;
}
2013-02-11 21:00:12 +00:00
.appear-data {
display: none;
}
.chart {
overflow: hidden;
height: 220px;
}
2013-06-06 10:38:13 +00:00
2013-06-07 14:31:12 +00:00
.navless-container {
margin-top: 20px;
2013-06-06 10:38:13 +00:00
}
2013-06-06 11:02:29 +00:00
.description-block {
@extend .light-well;
@extend .light;
margin-bottom: 10px;
}
.group-name {
font-size: 14px;
line-height: 24px;
}