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

421 lines
5.3 KiB
SCSS
Raw Normal View History

html {
2013-01-25 03:07:21 -05:00
overflow-y: scroll;
}
2012-01-26 12:25:35 -05:00
/** LAYOUT **/
2012-01-16 14:07:57 -05:00
body {
margin-bottom: 20px;
}
.container {
padding-top: 0;
z-index: 5;
2012-02-19 09:31:11 -05:00
}
.container .content {
margin: 0 0;
2012-01-26 12:25:35 -05:00
}
.author_link {
2012-02-11 16:22:33 -05:00
color: $link_color;
2012-01-29 05:04:09 -05:00
}
2012-02-11 12:56:18 -05:00
.help li { color:$style_color; }
2012-02-18 07:12:48 -05:00
.back_link {
text-decoration: underline;
font-size: 14px;
font-weight: bold;
padding: 10px 0;
padding-bottom: 0;
2012-02-18 07:12:48 -05:00
}
2012-02-18 07:43:35 -05: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 17:41:53 -05: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 17:41:53 -05:00
}
}
span.update-author {
display: block;
color: #999;
font-weight: normal;
font-style: italic;
strong {
font-weight: bold;
font-style: normal;
}
2012-02-26 17:41:53 -05:00
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
2012-02-26 17:41:53 -05:00
}
.label {
2013-04-04 03:53:39 -04:00
padding: 1px 4px;
font-size: 12px;
font-style: normal;
2013-04-04 03:53:39 -04: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 17:41:53 -05:00
background: #FFFFCF !important;
}
}
}
li.commit {
.avatar {
width: 24px;
2012-08-16 02:13:50 -04:00
top:-5px;
margin-right: 10px;
margin-left: 10px;
2012-02-26 17:41:53 -05:00
}
code {
padding: 2px 2px 0;
margin-top: -2px;
&:hover {
color: black;
border: 1px solid #ccc;
}
2012-02-26 17:41:53 -05:00
}
}
p.time {
color: #999;
font-size: 90%;
margin: 30px 3px 3px 2px;
}
2013-01-25 03:07:21 -05:00
.search-holder {
label, input {
height: 30px;
padding: 0;
font-size: 14px;
}
label {
line-height: 30px;
color: #666;
}
}
.highlight_word {
2013-01-25 03:07:21 -05:00
border-bottom: 2px solid #F90;
2012-03-15 19:14:39 -04: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 14:57:30 -04:00
&.success {
background: #4A4;
color: #FFF;
}
&.error {
background: #DA4E49;
color: #FFF;
}
}
.arrow{
background: #E3E5EA;
padding: 5px;
margin-top: 5px;
@include border-radius(5px);
text-shadow: none;
color: #999;
line-height: 16px;
font-weight: bold;
2012-03-21 18:09:53 -04:00
}
.thin_area{
height: 150px;
}
2012-03-21 18:09:56 -04:00
// Fixes alignment on notes.
.new_note {
label {
text-align: left;
}
}
2012-03-24 13:36:14 -04:00
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
2012-03-26 00:40:51 -04:00
img { max-width:100% }
2012-03-24 13:36:14 -04:00
.note-title {
li {
border-bottom:none !important;
}
}
}
2012-03-26 00:40:51 -04:00
.markdown {
img {
max-width: 100%;
2012-03-26 00:40:51 -04:00
}
}
.wiki_content code, .readme code{
background-color: inherit;
}
2012-04-02 14:13:44 -04:00
.team_member_show {
td:first-child {
color: #aaa;
2012-04-02 14:13:44 -04:00
}
}
2012-04-10 13:06:17 -04:00
.remember_me {
text-align: left;
2012-04-11 16:50:13 -04:00
input {
margin: 0;
2012-04-11 16:50:13 -04:00
}
span {
padding-left: 5px;
2012-04-11 16:50:13 -04:00
}
2012-04-10 13:06:17 -04:00
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
2012-05-31 16:30:54 -04:00
2012-06-20 14:29:55 -04:00
.supp_diff_link,
.show-all-commits {
cursor: pointer;
2012-06-20 14:29:55 -04:00
}
2012-06-21 01:29:53 -04:00
2013-04-06 08:10:24 -04:00
.merge-request,
.issue {
&.today{
2012-06-21 09:43:40 -04:00
background: #EFE;
border-color: #CEC;
2012-06-21 01:29:53 -04:00
}
&.closed {
2012-06-21 10:23:25 -04:00
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 01:29:53 -04:00
}
&.merged {
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 01:29:53 -04:00
}
2012-07-10 14:26:01 -04:00
}
2012-08-16 02:13:50 -04:00
.git_error_tips {
@extend .span6;
text-align: left;
margin-top: 40px;
2012-08-16 02:13:50 -04:00
pre {
background: white;
border: none;
2012-08-16 02:13:50 -04:00
font-size: 12px;
}
}
.error_message {
@extend .cred;
2012-11-20 22:14:05 -05:00
border-left: 4px solid #E99;
padding: 10px;
margin-bottom: 10px;
background: #FEE;
padding-left: 20px;
2012-11-29 11:09:27 -05: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 12:13:25 -04:00
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
.gitlab-promo {
a {
color: #aaa;
margin-right: 30px;
}
}
2012-10-16 02:43:22 -04:00
pre {
&.clean {
background: none;
border: none;
margin: 0;
padding: 0;
2012-10-16 02:43:22 -04:00
}
}
2012-12-14 00:34:05 -05:00
.milestone {
&.milestone-closed {
background: #eee;
}
.progress {
margin-bottom: 0;
margin-top: 4px;
}
}
2012-10-29 17:45:11 -04: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 17:25:07 -05:00
img.emoji {
height: 20px;
vertical-align: middle;
width: 20px;
}
2013-02-11 16:00:12 -05:00
.appear-data {
display: none;
}
.chart {
overflow: hidden;
height: 220px;
}