gitlabhq/app/assets/stylesheets/gitlab_bootstrap/tables.scss

64 lines
913 B
SCSS
Raw Normal View History

table {
2012-09-03 20:53:16 +02:00
@extend .table;
@extend .table-striped;
@include solid-shade;
border: 1px solid #bbb;
width: 100%;
2012-09-03 20:53:16 +02:00
&.low {
td {
line-height: 18px;
}
}
th {
font-weight: bold;
vertical-align: middle;
2012-09-03 20:53:16 +02:00
border-bottom: 1px solid #bbb;
text-shadow: 0 1px 1px #fff;
@include bg-dark-gray-gradient;
ul.nav {
text-shadow: none;
margin: 0;
}
}
2012-09-03 20:53:16 +02:00
th, td {
2013-01-04 23:35:38 +01:00
padding: 10px;
line-height: 18px;
text-align: left;
}
2012-09-03 20:53:16 +02:00
td {
border-color: #f1f1f1;
line-height: 28px;
.s16 {
margin-top: 5px;
margin-right: 5px;
}
2012-09-03 20:53:16 +02:00
&:first-child {
border-left: 1px solid #bbb;
2012-09-03 20:53:16 +02:00
}
2012-09-03 20:53:16 +02:00
&:last-child {
border-right: 1px solid #bbb;
2012-09-03 20:53:16 +02:00
}
}
2012-09-03 20:53:16 +02:00
&.bordered {
@extend .table-bordered;
}
2012-09-03 20:53:16 +02:00
&.lite {
border: none;
box-shadow: none;
2012-09-03 20:53:16 +02:00
tr, td {
border: none;
2012-09-03 20:53:16 +02:00
background:none !important;
}
}
}