gitlabhq/app/assets/stylesheets/common.scss

547 lines
6.9 KiB
SCSS
Raw Normal View History

html {
2013-01-25 09:07:21 +01:00
overflow-y: scroll;
}
2012-01-26 18:25:35 +01:00
/** LAYOUT **/
2012-01-16 20:07:57 +01:00
body {
margin-bottom: 20px;
}
.container {
padding-top: 0;
z-index: 5;
2012-02-19 15:31:11 +01:00
}
.container .content {
margin: 0 0;
2012-01-26 18:25:35 +01:00
}
.visible_link,
.author_link {
2012-02-11 22:22:33 +01:00
color: $link_color;
2012-01-29 11:04:09 +01:00
}
2012-02-11 18:56:18 +01:00
.help li { color:$style_color; }
2012-02-18 13:12:48 +01:00
.back_link {
text-decoration: underline;
font-size: 14px;
font-weight: bold;
padding: 10px 0;
padding-bottom: 0;
2012-02-18 13:12:48 +01:00
}
2012-02-18 13:43:35 +01:00
.info_link {
margin-right: 5px;
float: left;
2012-02-18 13:43:35 +01:00
img {
width: 20px;
2012-02-18 13:43:35 +01:00
}
}
2012-02-18 14:59:01 +01:00
.download_repo_link {
background: url("images.png") no-repeat 0 -48px;
padding-left: 20px;
}
table a code {
position: relative;
top: -2px;
margin-right: 3px;
}
.span12 hr{
margin-top: 5px;
}
2012-02-21 22:09:46 +01:00
.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 23:41:53 +01: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 23:41:53 +01:00
}
}
.git_url_wrapper {
margin-right:50px
}
span.update-author {
display: block;
color: #999;
font-weight: normal;
font-style: italic;
strong {
font-weight: bold;
font-style: normal;
}
2012-02-26 23:41:53 +01:00
}
.dashboard-loader {
float: left;
margin: 10px;
display: none;
2012-02-26 23:41:53 +01:00
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
2012-02-26 23:41:53 +01:00
}
.neib {
margin-right: 10px;
}
.label {
padding: 0px 4px;
font-size: 10px;
font-style: normal;
background-color: $link_color;
&.label-success {
background-color: #8D8;
color: #333;
text-shadow: 0 1px 1px white;
}
&.label-error {
background-color: #D88;
color: #333;
text-shadow: 0 1px 1px white;
}
}
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;
}
}
2012-02-26 23:41:53 +01:00
.merge-request-form-holder {
select {
width: 300px;
2012-02-26 23:41:53 +01:00
}
}
/** Issues **/
#issue_assignee_id {
width: 300px;
2012-02-26 23:41:53 +01:00
}
#new_issue_dialog textarea{
height: 100px;
}
.project_list_url {
width: 250px;
2012-02-26 23:41:53 +01:00
background:#fff !important;
}
.line_holder {
&:hover {
td {
2012-02-26 23:41:53 +01:00
background: #FFFFCF !important;
}
}
}
li.commit {
.avatar {
width: 24px;
2012-08-16 08:13:50 +02:00
top:-5px;
margin-right: 10px;
margin-left: 10px;
2012-02-26 23:41:53 +01:00
}
code {
padding: 2px 2px 0;
margin-top: -2px;
&:hover {
color: black;
border: 1px solid #ccc;
}
2012-02-26 23:41:53 +01:00
}
}
p.time {
color: #999;
font-size: 90%;
margin: 30px 3px 3px 2px;
}
.styled_image {
border: 2px solid #ddd;
2012-03-01 20:23:50 +01:00
}
2012-03-17 06:46:47 +01:00
/* Fix for readme code (stopped it from being yellow) */
.readme {
pre {
background: white !important;
code {
background: none !important;
2012-03-17 06:46:47 +01:00
}
}
}
2013-01-25 09:07:21 +01:00
.search-holder {
label, input {
height: 30px;
padding: 0;
font-size: 14px;
}
label {
line-height: 30px;
color: #666;
}
}
.highlight_word {
2013-01-25 09:07:21 +01:00
border-bottom: 2px solid #F90;
2012-03-16 00:14:39 +01: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);
&.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 23:09:53 +01:00
}
.thin_area{
height: 150px;
}
2012-03-21 23:09:56 +01:00
// Fixes alignment on notes.
.new_note {
label {
text-align: left;
}
}
2012-03-24 18:36:14 +01:00
// Fix issue with notes & lists creating a bunch of bottom borders.
li.note {
2012-03-26 06:40:51 +02:00
img { max-width:100% }
2012-03-24 18:36:14 +01:00
.note-title {
li {
border-bottom:none !important;
}
}
}
2012-03-26 06:40:51 +02:00
.markdown {
img {
max-width: 100%;
2012-03-26 06:40:51 +02:00
}
}
.wiki_content code, .readme code{
background-color: inherit;
}
2012-04-02 20:13:44 +02:00
.team_member_show {
td:first-child {
color: #aaa;
2012-04-02 20:13:44 +02:00
}
}
2012-04-10 19:06:17 +02:00
.remember_me {
text-align: left;
2012-04-11 22:50:13 +02:00
input {
margin: 0;
2012-04-11 22:50:13 +02:00
}
span {
padding-left: 5px;
2012-04-11 22:50:13 +02:00
}
2012-04-10 19:06:17 +02:00
}
2012-04-20 18:41:49 +02:00
/**
* Admin area
*
*/
.admin_dash {
.data {
a {
h1 {
line-height: 48px;
font-size: 48px;
padding: 20px;
text-align: center;
font-weight: normal;
2012-04-20 18:41:49 +02:00
}
}
}
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
2012-05-31 22:30:54 +02:00
/* CHZN reset few styles */
.chzn-container-single .chzn-single {
background: #FFF;
2012-06-18 19:18:14 +02:00
border: 1px solid #bbb;
box-shadow: none;
}
.chzn-container-active .chzn-single {
background: #fff;
}
2012-06-12 16:43:16 +02:00
2012-06-13 19:02:30 +02:00
2012-06-20 20:29:55 +02:00
.supp_diff_link,
.show-all-commits {
cursor: pointer;
2012-06-20 20:29:55 +02:00
}
2012-06-21 07:29:53 +02:00
.merge_request,
.issue {
&.today{
2012-06-21 15:43:40 +02:00
background: #EFE;
border-color: #CEC;
2012-06-21 07:29:53 +02:00
}
&.closed {
2012-06-21 16:23:25 +02:00
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 07:29:53 +02:00
}
&.merged {
background: #F5f5f5;
border-color: #E5E5E5;
2012-06-21 07:29:53 +02:00
}
2012-07-10 20:26:01 +02:00
}
2012-08-16 08:13:50 +02:00
.git_error_tips {
@extend .span6;
text-align: left;
margin-top: 40px;
2012-08-16 08:13:50 +02:00
pre {
background: white;
border: none;
2012-08-16 08:13:50 +02:00
font-size: 12px;
}
}
.error_message {
@extend .cred;
2012-11-21 04:14:05 +01:00
border-left: 4px solid #E99;
padding: 10px;
margin-bottom: 10px;
background: #FEE;
padding-left: 20px;
2012-11-29 17:09:27 +01: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 18:13:25 +02:00
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
.gitlab-promo {
a {
color: #aaa;
margin-right: 30px;
}
}
2012-10-16 08:43:22 +02:00
pre {
&.clean {
background: none;
border: none;
margin: 0;
padding: 0;
2012-10-16 08:43:22 +02:00
}
}
2012-12-14 06:34:05 +01:00
.milestone {
&.milestone-closed {
background: #eee;
}
.progress {
margin-bottom: 0;
margin-top: 4px;
}
}
2012-10-29 22:45:11 +01:00
.float-link {
float: left;
margin-right: 15px;
2012-10-29 22:45:11 +01:00
.s16 {
margin-right: 5px;
2012-10-29 22:45:11 +01:00
}
}
2012-11-21 06:24:05 +01:00
.dashboard-search-filter {
padding:5px;
.search-text-input {
float:left;
@extend .span2;
}
.btn {
margin-left: 5px;
float:left;
}
}
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 23:25:07 +01:00
img.emoji {
height: 20px;
vertical-align: middle;
width: 20px;
}
2013-02-11 22:00:12 +01:00
.appear-data {
display: none;
}