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

546 lines
6.9 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
}
.visible_link,
.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
.info_link {
margin-right: 5px;
float: left;
2012-02-18 07:43:35 -05:00
img {
width: 20px;
2012-02-18 07:43:35 -05:00
}
}
2012-02-18 08:59:01 -05: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 16:09:46 -05: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 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
}
}
.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 17:41:53 -05:00
}
.dashboard-loader {
float: left;
margin: 10px;
display: none;
2012-02-26 17:41:53 -05:00
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
2012-02-26 17:41:53 -05: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 17:41:53 -05:00
.merge-request-form-holder {
select {
width: 300px;
2012-02-26 17:41:53 -05:00
}
}
/** Issues **/
#issue_assignee_id {
width: 300px;
2012-02-26 17:41:53 -05:00
}
#new_issue_dialog textarea{
height: 100px;
}
.project_list_url {
width: 250px;
2012-02-26 17:41:53 -05:00
background:#fff !important;
}
.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;
}
.styled_image {
border: 2px solid #ddd;
2012-03-01 14:23:50 -05:00
}
2012-03-17 01:46:47 -04:00
/* Fix for readme code (stopped it from being yellow) */
.readme {
pre {
background: white !important;
code {
background: none !important;
2012-03-17 01:46:47 -04:00
}
}
}
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);
&.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
}
2012-04-20 12:41:49 -04: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 12:41:49 -04:00
}
}
}
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
2012-05-31 16:30:54 -04:00
/* CHZN reset few styles */
.chzn-container-single .chzn-single {
background: #FFF;
2012-06-18 13:18:14 -04:00
border: 1px solid #bbb;
box-shadow: none;
}
.chzn-container-active .chzn-single {
background: #fff;
}
2012-06-12 10:43:16 -04:00
2012-06-13 13:02:30 -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
.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
.float-link {
float: left;
margin-right: 15px;
2012-10-29 17:45:11 -04:00
.s16 {
margin-right: 5px;
2012-10-29 17:45:11 -04:00
}
}
2012-11-21 00:24:05 -05: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 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;
}