gitlabhq/app/assets/stylesheets/gitlab_bootstrap.scss

819 lines
14 KiB
SCSS
Raw Normal View History

2012-08-16 08:13:50 +02:00
body {
margin-bottom:20px;
}
2012-04-10 07:51:08 +02:00
a {
outline: none;
color: $link_color;
2012-08-16 08:13:50 +02:00
&:hover {
text-decoration:none;
2012-04-10 07:51:08 +02:00
color: $blue_link;
}
2012-08-16 08:13:50 +02:00
&.btn {
2012-04-10 07:51:08 +02:00
color: $style_color;
}
2012-08-16 08:13:50 +02:00
&.dark {
2012-04-10 07:51:08 +02:00
color: $style_color;
}
2012-08-16 08:13:50 +02:00
&.lined {
text-decoration:underline;
&:hover { text-decoration:underline; }
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
&.gray {
2012-04-10 07:51:08 +02:00
color:gray;
}
2012-08-16 08:13:50 +02:00
&.supp_diff_link {
2012-04-10 07:51:08 +02:00
text-align:center;
padding:20px 0;
background:#f1f1f1;
width:100%;
float:left;
}
&.neib {
margin-right:15px;
}
}
2012-08-16 08:13:50 +02:00
.neib {
2012-04-10 19:06:17 +02:00
margin-right:10px;
}
2012-08-16 08:13:50 +02:00
.alert-message {
2012-04-10 07:51:08 +02:00
@extend .alert;
2012-08-16 08:13:50 +02:00
&.success {
2012-04-10 07:51:08 +02:00
@extend .alert-success;
}
2012-08-16 08:13:50 +02:00
&.error {
2012-04-10 07:51:08 +02:00
@extend .alert-error;
}
}
2012-08-16 08:13:50 +02:00
.alert {
&.alert-well {
2012-04-10 07:51:08 +02:00
background:#ddd;
border:1px solid #ccc;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #ddd), to(#dfdfdf));
background-image: -webkit-linear-gradient(#ddd 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#ddd 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#ddd 6.6%, #dfdfdf);
color:#111;
}
}
h3, h4, h5, h6 {
line-height: 36px;
}
2012-08-16 08:13:50 +02:00
h5 {
font-size:14px;
}
2012-04-10 07:51:08 +02:00
2012-08-16 08:13:50 +02:00
table {
2012-04-10 07:51:08 +02:00
width:100%;
th {
padding-top: 9px;
font-weight: bold;
vertical-align: middle;
}
th, td {
padding: 10px 10px 9px;
line-height: 18px;
text-align: left;
}
&.bordered-table {
border: 1px solid #DDD;
border-collapse: separate;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
2012-08-16 08:13:50 +02:00
&.zebra-striped {
2012-04-10 07:51:08 +02:00
@extend .table-striped;
}
}
2012-08-16 08:13:50 +02:00
.btn {
2012-04-10 07:51:08 +02:00
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6));
background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
2012-08-16 08:13:50 +02:00
&:hover {
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
&.btn-primary {
2012-04-10 07:51:08 +02:00
background:$link_color;
border-color: #2A79A3;
2012-08-16 08:13:50 +02:00
&:hover {
2012-04-10 07:51:08 +02:00
background:$blue_link;
}
}
2012-08-16 08:13:50 +02:00
&.primary {
2012-04-10 19:06:17 +02:00
@extend .btn-primary;
}
2012-04-11 22:32:45 +02:00
2012-08-16 08:13:50 +02:00
&.success {
color: #fff;
text-shadow: 0 0 1px #111;
background: #5bb75b;;
font-weight: bold;
2012-08-16 08:13:50 +02:00
&:hover {
background-color: #51a351;
color: #fff;
}
}
2012-04-11 22:32:45 +02:00
&.danger,
2012-08-16 08:13:50 +02:00
&.btn-danger {
2012-04-11 22:32:45 +02:00
color:#fff;
background: #DA4E49;
border-color: #BD362F;
2012-08-16 08:13:50 +02:00
&:hover {
2012-04-11 22:32:45 +02:00
color:#fff;
background: #EE4E49;
}
}
2012-08-16 08:13:50 +02:00
&.danger {
2012-04-10 19:06:17 +02:00
@extend .btn-danger;
}
2012-04-10 07:51:08 +02:00
2012-08-16 08:13:50 +02:00
&.small {
2012-04-10 07:51:08 +02:00
@extend .btn-small;
}
2012-08-16 08:13:50 +02:00
&.active {
border-color:#aaa;
background-color:#ccc;
}
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
a:focus {
outline: none;
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
.nav-pills a:hover {
2012-06-18 19:18:14 +02:00
background-color:#888;
2012-04-10 07:51:08 +02:00
}
.nav-pills .active a {
2012-06-18 19:18:14 +02:00
background-color: $style_color;
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
.label {
2012-04-10 07:51:08 +02:00
background-color: #474D57;
2012-08-16 08:13:50 +02:00
&.label-important {
background-color: #B94A48;
}
2012-08-16 08:13:50 +02:00
&.label-issue {
background-color: #eee;
border: 1px solid #ccc;
padding:4px 6px;
color:#444;
text-shadow:0 0 1px #fff;
2012-07-05 08:35:23 +02:00
2012-08-16 08:13:50 +02:00
&.grouped {
2012-07-05 08:35:23 +02:00
float: left;
margin-right: 6px;
padding: 6px;
}
}
2012-04-10 07:51:08 +02:00
}
.nav-tabs > li > a, .nav-pills > li > a {
color:$style_color;
}
2012-08-16 08:13:50 +02:00
.nav-tabs > .active > a {
font-weight:bold;
}
2012-04-10 07:51:08 +02:00
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
.cblack { color:#111; }
.cdark { color:#444 }
2012-04-10 07:51:08 +02:00
.cwhite { color:#fff !important }
.bgred { background: #F2DEDE !important}
2012-04-10 07:51:08 +02:00
/** COMMON STYLES **/
.left {
float:left;
}
.right {
float:right !important;
}
.width-50p{
width:50%;
}
.width-49p{
width:49%;
}
.width-30p{
width:30%;
}
.width-65p{
width:65%;
}
.width-100p{
width:100%;
}
.append-bottom-10 {
margin-bottom:10px;
}
.append-bottom-20 {
margin-bottom:20px;
}
.prepend-top-10 {
margin-top:10px;
}
.prepend-top-20 {
margin-top:20px;
}
2012-08-16 08:13:50 +02:00
.padded {
2012-04-10 07:51:08 +02:00
padding:20px;
}
2012-08-16 08:13:50 +02:00
.ipadded {
2012-04-10 07:51:08 +02:00
padding:20px !important;
}
2012-08-16 08:13:50 +02:00
.lborder {
2012-04-10 07:51:08 +02:00
border-left:1px solid #eee;
}
2012-08-16 08:13:50 +02:00
.borders {
2012-04-10 07:51:08 +02:00
border: 1px solid #ccc;
@include shade;
}
2012-08-16 08:13:50 +02:00
.no-borders {
2012-04-10 07:51:08 +02:00
border:none;
}
2012-08-16 08:13:50 +02:00
table.no-borders {
2012-04-10 07:51:08 +02:00
border:none;
tr, td { border:none }
}
2012-08-16 08:13:50 +02:00
.no-padding {
2012-04-10 07:51:08 +02:00
padding:0 !important;
}
2012-08-16 08:13:50 +02:00
.underlined {
2012-04-10 07:51:08 +02:00
border-bottom: 1px solid $border_color;
}
2012-08-16 08:13:50 +02:00
.vlink {
2012-04-10 07:51:08 +02:00
color: $link_color !important;
}
2012-08-16 08:13:50 +02:00
.pretty_label {
2012-04-10 07:51:08 +02:00
@include round-borders-all(4px);
padding:2px 4px;
background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
color: #777;
border: 1px solid #DEDFE1;
2012-08-16 08:13:50 +02:00
&.branch {
2012-04-10 07:51:08 +02:00
border:none;
font-size:13px;
background: #474D57;
color:#fff;
font-weight:bold;
2012-04-10 07:51:08 +02:00
font-family: monospace;
}
}
2012-08-16 08:13:50 +02:00
.event_label {
2012-07-17 07:21:16 +02:00
@extend .label;
background-color: #999;
2012-08-16 08:13:50 +02:00
&.pushed {
2012-07-17 07:21:16 +02:00
background-color: #3A87AD;
}
2012-08-16 08:13:50 +02:00
&.opened {
2012-07-17 07:21:16 +02:00
background-color: #468847;
}
2012-08-16 08:13:50 +02:00
&.closed {
2012-07-17 07:21:16 +02:00
background-color: #B94A48;
}
2012-08-16 08:13:50 +02:00
&.merged {
background-color: #2A2;
}
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
img.avatar {
2012-04-10 07:51:08 +02:00
float:left;
margin-right:15px;
width:40px;
2012-08-16 08:13:50 +02:00
border:2px solid #ddd;
2012-05-17 18:11:45 +02:00
2012-08-16 08:13:50 +02:00
&.s16 {
2012-05-17 18:11:45 +02:00
width:16px;
}
2012-08-16 08:13:50 +02:00
&.s24 {
2012-05-17 18:11:45 +02:00
width:24px;
}
2012-08-16 08:13:50 +02:00
&.s32 {
2012-07-29 00:34:51 +02:00
width:32px;
}
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
img.lil_av {
2012-04-10 07:51:08 +02:00
padding-left: 4px;
padding-right:3px;
}
2012-08-16 08:13:50 +02:00
form {
2012-04-10 07:51:08 +02:00
@extend .form-horizontal;
2012-08-16 08:13:50 +02:00
.actions {
2012-04-10 07:51:08 +02:00
@extend .form-actions;
}
2012-08-16 08:13:50 +02:00
.clearfix {
2012-04-10 07:51:08 +02:00
@extend .control-group;
}
2012-08-16 08:13:50 +02:00
.input {
2012-04-10 07:51:08 +02:00
@extend .controls;
}
2012-08-16 08:13:50 +02:00
label {
2012-04-10 07:51:08 +02:00
@extend .control-label;
}
2012-08-16 08:13:50 +02:00
.xlarge {
2012-04-10 07:51:08 +02:00
@extend .input-xlarge;
}
2012-08-16 08:13:50 +02:00
.xxlarge {
2012-04-10 07:51:08 +02:00
@extend .input-xxlarge;
}
}
/**
* List li block element #1
*
*/
2012-08-16 08:13:50 +02:00
.wll {
2012-04-10 07:51:08 +02:00
background-color: #FFF;
padding: 10px 5px;
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
2012-08-16 08:13:50 +02:00
&.smoke {
2012-04-10 07:51:08 +02:00
background-color:#f5f5f5;
}
2012-08-16 08:13:50 +02:00
&:hover {
2012-04-10 07:51:08 +02:00
background:$hover;
}
&:last-child { border:none }
p { padding-top:5px; margin:0; color:$style_color;}
.author { color: #999; }
2012-08-16 08:13:50 +02:00
p {
2012-04-10 07:51:08 +02:00
color:#222;
margin-bottom: 0;
2012-08-16 08:13:50 +02:00
img {
2012-04-10 07:51:08 +02:00
position:relative;
top:3px;
}
}
}
/**
* Block element #2
*
*/
2012-08-16 08:13:50 +02:00
.entry {
2012-04-10 07:51:08 +02:00
position: relative;
padding: 7px 15px;
margin-bottom: 18px;
color: #404040;
filter:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
background:#F1F1F1;
border: 1px solid #ccc;
2012-08-16 08:13:50 +02:00
p {
2012-04-10 07:51:08 +02:00
color:$style_color;
margin-bottom: 0;
2012-08-16 08:13:50 +02:00
img {
2012-04-10 07:51:08 +02:00
position:relative;
top:3px;
}
}
}
/**
* Big UI Block for show page content
*
*/
2012-08-16 08:13:50 +02:00
.ui-box {
2012-06-18 19:50:06 +02:00
background:#F9F9F9;
2012-07-17 07:17:16 +02:00
margin-bottom: 25px;
2012-04-10 07:51:08 +02:00
@include round-borders-all(4px);
2012-06-12 20:55:10 +02:00
border-color: #CCC;
2012-07-20 07:39:34 +02:00
@include solid_shade;
2012-04-10 07:51:08 +02:00
2012-08-16 08:13:50 +02:00
ul {
2012-04-10 07:51:08 +02:00
margin:0;
}
2012-08-16 08:13:50 +02:00
h5, .title {
2012-04-10 07:51:08 +02:00
padding: 0 10px;
@include round-borders-top(4px);
2012-06-12 20:55:10 +02:00
border-bottom: 1px solid #bbb;
background:#eee;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
2012-04-10 07:51:08 +02:00
2012-08-16 08:13:50 +02:00
&.small {
line-height: 28px;
font-size: 14px;
line-height:28px;
text-shadow: 0 1px 1px white;
}
2012-08-16 08:13:50 +02:00
form {
2012-04-10 07:51:08 +02:00
padding:9px 0;
margin:0px;
}
2012-08-16 08:13:50 +02:00
.nav-pills {
li {
2012-04-10 07:51:08 +02:00
padding:3px 0;
&.active a { background-color:$style_color; }
2012-08-16 08:13:50 +02:00
a {
2012-04-10 07:51:08 +02:00
border-radius:7px;
}
}
}
}
2012-08-16 08:13:50 +02:00
.bottom {
2012-06-12 20:55:10 +02:00
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
2012-04-10 07:51:08 +02:00
@include round-borders-bottom(4px);
border-bottom:none;
2012-06-12 20:55:10 +02:00
border-top: 1px solid #bbb;
2012-04-10 07:51:08 +02:00
}
2012-08-16 08:13:50 +02:00
&.padded {
h5, .title {
2012-04-10 07:51:08 +02:00
margin: -20px;
margin-bottom: 0;
padding: 5px 20px;
}
2012-08-16 08:13:50 +02:00
.middle_title {
2012-04-10 07:51:08 +02:00
background:#f5f5f5;
margin:20px -20px;
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
font-size:14px;
color:#777;
}
}
2012-08-16 08:13:50 +02:00
.row_title {
2012-04-10 07:51:08 +02:00
font-weight:bold;
color:#444;
&:hover {
color:#444;
2012-04-10 07:51:08 +02:00
text-decoration:underline;
}
}
li, .wll {
padding:10px;
2012-08-16 08:13:50 +02:00
&:first-child {
2012-04-10 07:51:08 +02:00
@include round-borders-top(4px);
border-top:none;
}
2012-08-16 08:13:50 +02:00
&:last-child {
2012-04-10 07:51:08 +02:00
@include round-borders-bottom(4px);
border:none;
}
}
}
table.admin-table {
2012-08-16 08:13:50 +02:00
@extend .table-bordered;
@extend .zebra-striped;
2012-07-20 07:39:34 +02:00
@include solid_shade;
2012-08-16 08:13:50 +02:00
th {
border-color: #CCC;
border-bottom: 1px solid #bbb;
background:#eee;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
}
}
2012-04-26 19:43:12 +02:00
2012-08-16 08:13:50 +02:00
.field_with_errors {
2012-04-26 19:43:12 +02:00
display:inline;
}
ul.breadcrumb {
background:white;
border:none;
li {
display: inline;
text-shadow: 0 1px 0 white
}
2012-08-16 08:13:50 +02:00
a {
color:#474D57;
font-weight:bold;
font-size:14px;
}
2012-08-16 08:13:50 +02:00
.arrow {
background: url("images.png") no-repeat -85px -77px;
width: 19px;
height: 16px;
float: left;
position: relative;
left: -10px;
padding:0;
margin:0;
}
}
2012-08-16 08:13:50 +02:00
.nothing_here_message {
text-align:center;
padding:20px;
color:#777;
}
2012-06-13 19:02:30 +02:00
/**
2012-08-16 08:13:50 +02:00
* UI box element
2012-06-13 19:02:30 +02:00
* contains top, middle, bottom blocks
2012-08-16 08:13:50 +02:00
*
2012-06-13 19:02:30 +02:00
*/
2012-08-16 08:13:50 +02:00
.main_box {
2012-06-13 19:02:30 +02:00
@extend .borders;
@extend .prepend-top-20;
@extend .append-bottom-20;
border-width:1px;
2012-07-20 07:39:34 +02:00
@include solid_shade;
2012-06-13 19:02:30 +02:00
img { max-width: 100%; }
pre {
code {
background: none !important;
}
}
2012-08-16 08:13:50 +02:00
.top_box_content,
.middle_box_content,
.bottom_box_content {
2012-06-13 19:02:30 +02:00
padding:15px;
pre {
background: none !important;
margin:0;
border:none;
padding:0;
}
}
2012-08-16 08:13:50 +02:00
.middle_box_content {
2012-06-13 19:02:30 +02:00
border-radius:0;
border:none;
font-size:12px;
background-color:#f5f5f5;
border:none;
border-top:1px solid #eee;
}
2012-08-16 08:13:50 +02:00
.bottom_box_content {
2012-06-13 19:02:30 +02:00
border-top:1px solid #eee;
}
}
2012-08-16 08:13:50 +02:00
input[type=text] {
&.large_text {
padding:6px;
font-size:16px;
}
}
2012-08-16 08:13:50 +02:00
p {
&.slead {
color:#456;
font-size:16px;
margin-bottom: 12px;
font-weight: 200;
line-height: 24px;
}
}
2012-08-16 08:13:50 +02:00
h3.page_title {
color:#456;
font-size:20px;
font-weight: normal;
line-height: 28px;
}
2012-07-06 02:05:12 +02:00
/**
2012-08-16 08:13:50 +02:00
* File content holder
2012-07-06 02:05:12 +02:00
*
*/
2012-08-16 08:13:50 +02:00
.file_holder {
2012-07-06 02:05:12 +02:00
border:1px solid #CCC;
margin-bottom:1em;
2012-07-20 07:39:34 +02:00
@include solid_shade;
2012-07-06 02:05:12 +02:00
2012-08-16 08:13:50 +02:00
.file_title {
2012-07-06 02:05:12 +02:00
border-bottom: 1px solid #bbb;
background:#eee;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
margin: 0;
font-weight: normal;
font-weight: bold;
text-align: left;
color: #666;
padding: 9px 10px;
height:18px;
2012-08-16 08:13:50 +02:00
.options {
2012-07-10 19:15:33 +02:00
float:right;
margin-top: -5px;
}
2012-08-16 08:13:50 +02:00
.file_name {
2012-07-10 19:15:33 +02:00
color:$style_color;
font-size:14px;
text-shadow: 0 1px 1px #fff;
2012-08-16 08:13:50 +02:00
small {
2012-07-10 19:15:33 +02:00
color:#999;
font-size:13px;
}
}
2012-07-06 02:05:12 +02:00
}
.file_content {
2012-07-10 19:15:33 +02:00
background:#fff;
font-size: 11px;
2012-08-16 08:13:50 +02:00
&.wiki {
font-size: 13px;
2012-08-16 08:13:50 +02:00
code {
2012-07-10 19:15:33 +02:00
padding:0 4px;
}
padding:20px;
2012-08-16 08:13:50 +02:00
h1, h2 {
line-height: 46px;
}
h3, h4 {
line-height: 40px;
}
2012-07-10 19:15:33 +02:00
}
2012-08-16 08:13:50 +02:00
&.image_file {
2012-07-10 19:15:33 +02:00
background:#eee;
text-align:center;
img {
padding:100px;
max-width:300px;
}
}
2012-08-16 08:13:50 +02:00
&.blob_file {
2012-07-10 19:15:33 +02:00
}
/**
* Blame file
*/
2012-08-16 08:13:50 +02:00
&.blame {
tr {
2012-07-10 19:15:33 +02:00
border-bottom: 1px solid #eee;
}
2012-08-16 08:13:50 +02:00
td {
2012-07-10 19:15:33 +02:00
padding:5px;
}
2012-08-16 08:13:50 +02:00
.author,
.blame_commit {
2012-07-10 19:15:33 +02:00
background:#f5f5f5;
vertical-align:top;
}
2012-08-16 08:13:50 +02:00
.lines {
pre {
2012-07-10 19:15:33 +02:00
padding:0;
margin:0;
background:none;
border:none;
}
}
}
2012-08-16 08:13:50 +02:00
&.logs {
background:#eee;
max-height: 700px;
overflow-y: auto;
2012-08-16 08:13:50 +02:00
ol {
margin-left:40px;
padding: 10px 0;
border-left: 1px solid #CCC;
margin-bottom:0;
background: white;
2012-08-16 08:13:50 +02:00
li {
color:#888;
2012-08-16 08:13:50 +02:00
p {
margin:0;
color:#333;
line-height:24px;
padding-left: 10px;
}
2012-08-16 08:13:50 +02:00
&:hover {
background:$hover;
}
}
}
}
2012-07-10 19:15:33 +02:00
/**
* Code file
*/
2012-08-16 08:13:50 +02:00
&.code {
2012-07-10 19:15:33 +02:00
padding:0;
td.code {
width: 100%;
.highlight {
margin-left: 55px;
overflow:auto;
overflow-y:hidden;
}
}
.highlight pre {
white-space: pre;
word-wrap:normal;
}
table.highlighttable {
border: none;
}
body.project-page table.highlighttable td { border: none }
table.highlighttable tr:hover { background:none;}
table.highlighttable pre{
line-height:16px !important;
font-size:12px !important;
}
table.highlighttable .linenodiv pre {
text-align: right;
padding-right: 4px;
color:#666;
}
}
2012-07-06 02:05:12 +02:00
}
}