gitlab-org--gitlab-foss/app/assets/stylesheets/common.scss
Dmitriy Zaporozhets f3dfd22993 add wall.scss
2013-03-19 12:34:59 +02:00

545 lines
6.9 KiB
SCSS

html {
overflow-y: scroll;
}
/** LAYOUT **/
body {
margin-bottom: 20px;
}
.container {
padding-top: 0;
z-index: 5;
}
.container .content {
margin: 0 0;
}
.visible_link,
.author_link {
color: $link_color;
}
.help li { color:$style_color; }
.back_link {
text-decoration: underline;
font-size: 14px;
font-weight: bold;
padding: 10px 0;
padding-bottom: 0;
}
.info_link {
margin-right: 5px;
float: left;
img {
width: 20px;
}
}
.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;
}
.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;
}
}
/** FLASH message **/
.flash-container {
display: none;
.alert {
cursor: pointer;
margin: 0;
text-align: center;
border-radius: 0;
span {
font-size: 14px;
}
}
}
.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;
}
}
.dashboard-loader {
float: left;
margin: 10px;
display: none;
}
.user-mention {
color: #2FA0BB;
font-weight: bold;
}
.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;
}
}
.merge-request-form-holder {
select {
width: 300px;
}
}
/** Issues **/
#issue_assignee_id {
width: 300px;
}
#new_issue_dialog textarea{
height: 100px;
}
.project_list_url {
width: 250px;
background:#fff !important;
}
.line_holder {
&:hover {
td {
background: #FFFFCF !important;
}
}
}
li.commit {
.avatar {
width: 24px;
top:-5px;
margin-right: 10px;
margin-left: 10px;
}
code {
padding: 2px 2px 0;
margin-top: -2px;
&:hover {
color: black;
border: 1px solid #ccc;
}
}
}
p.time {
color: #999;
font-size: 90%;
margin: 30px 3px 3px 2px;
}
.styled_image {
border: 2px solid #ddd;
}
/* Fix for readme code (stopped it from being yellow) */
.readme {
pre {
background: white !important;
code {
background: none !important;
}
}
}
.search-holder {
label, input {
height: 30px;
padding: 0;
font-size: 14px;
}
label {
line-height: 30px;
color: #666;
}
}
.highlight_word {
border-bottom: 2px solid #F90;
}
.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;
}
.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;
}
.team_member_show {
td:first-child {
color: #aaa;
}
}
.remember_me {
text-align: left;
input {
margin: 0;
}
span {
padding-left: 5px;
}
}
/**
* Admin area
*
*/
.admin_dash {
.data {
a {
h1 {
line-height: 48px;
font-size: 48px;
padding: 20px;
text-align: center;
font-weight: normal;
}
}
}
}
.rss-icon {
img {
width: 24px;
vertical-align: top;
}
strong {
line-height: 24px;
}
}
/* CHZN reset few styles */
.chzn-container-single .chzn-single {
background: #FFF;
border: 1px solid #bbb;
box-shadow: none;
}
.chzn-container-active .chzn-single {
background: #fff;
}
.supp_diff_link,
.show-all-commits {
cursor: pointer;
}
.merge_request,
.issue {
&.today{
background: #EFE;
border-color: #CEC;
}
&.closed {
background: #F5f5f5;
border-color: #E5E5E5;
}
&.merged {
background: #F5f5f5;
border-color: #E5E5E5;
}
}
.git_error_tips {
@extend .span6;
text-align: left;
margin-top: 40px;
pre {
background: white;
border: none;
font-size: 12px;
}
}
.error_message {
@extend .cred;
border-left: 4px solid #E99;
padding: 10px;
margin-bottom: 10px;
background: #FEE;
padding-left: 20px;
&.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);
}
}
}
.btn-build-token {
float: left;
padding: 6px 20px;
margin-right: 12px;
}
.gitlab-promo {
a {
color: #aaa;
margin-right: 30px;
}
}
pre {
&.clean {
background: none;
border: none;
margin: 0;
padding: 0;
}
}
.milestone {
&.milestone-closed {
background: #eee;
}
.progress {
margin-bottom: 0;
margin-top: 4px;
}
}
.float-link {
float: left;
margin-right: 15px;
.s16 {
margin-right: 5px;
}
}
.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;
}
}
}
}
img.emoji {
height: 20px;
vertical-align: middle;
width: 20px;
}
.appear-data {
display: none;
}