2012-08-29 20:23:43 +02:00
|
|
|
/** COLORS **/
|
|
|
|
.cgray { color:gray }
|
|
|
|
.cred { color:#D12F19 }
|
|
|
|
.cgreen { color:#4a2 }
|
|
|
|
.cblack { color:#111 }
|
|
|
|
.cdark { color:#444 }
|
|
|
|
.cwhite { color:#fff!important }
|
|
|
|
.bgred { background:#F2DEDE!important }
|
|
|
|
|
|
|
|
/** COMMON CLASSES **/
|
|
|
|
.left { float:left }
|
|
|
|
.right { float:right!important }
|
|
|
|
.append-bottom-10 { margin-bottom:10px }
|
|
|
|
.append-bottom-20 { margin-bottom:20px }
|
|
|
|
.prepend-top-10 { margin-top:10px }
|
|
|
|
.prepend-top-20 { margin-top:20px }
|
|
|
|
.padded { padding:20px }
|
|
|
|
.ipadded { padding:20px!important }
|
|
|
|
.lborder { border-left:1px solid #eee }
|
2012-10-25 11:16:14 +02:00
|
|
|
.underlined_link { text-decoration: underline; }
|
2012-08-29 21:29:50 +02:00
|
|
|
.hint { font-style: italic; color: #999; }
|
2012-10-26 17:37:12 +02:00
|
|
|
.light { color: #888 }
|
2012-12-09 09:56:15 +01:00
|
|
|
.tiny { font-weight: normal }
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
/** PILLS & TABS**/
|
2013-01-05 13:49:08 +01:00
|
|
|
.nav-pills {
|
|
|
|
.active a {
|
2013-01-07 13:08:03 +01:00
|
|
|
background: $primary_color;
|
2013-01-05 13:49:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> li > a {
|
|
|
|
@include border-radius(0);
|
|
|
|
}
|
|
|
|
&.nav-stacked {
|
|
|
|
> li > a {
|
|
|
|
border-left: 4px solid #EEE;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
> .active > a {
|
|
|
|
border-color: #29B;
|
|
|
|
border-radius: 0;
|
|
|
|
background: #F1F1F1;
|
|
|
|
color: $style_color;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-29 17:09:27 +01:00
|
|
|
.nav-pills > .active > a > i[class^="icon-"] { background: inherit; }
|
2013-01-05 13:49:08 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* nav-tabs
|
|
|
|
*
|
|
|
|
*/
|
2012-11-23 17:33:43 +01:00
|
|
|
.nav-tabs > li > a, .nav-pills > li > a { color: $style_color; }
|
2012-09-18 19:50:34 +02:00
|
|
|
.nav.nav-tabs {
|
|
|
|
li {
|
|
|
|
> a {
|
2012-11-23 17:51:38 +01:00
|
|
|
padding: 8px 20px;
|
2012-09-18 19:50:34 +02:00
|
|
|
margin-right: 7px;
|
2013-01-17 21:35:45 +01:00
|
|
|
line-height: 20px;
|
2012-09-18 19:50:34 +02:00
|
|
|
border-color: #EEE;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #888;
|
2012-09-18 19:50:34 +02:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
.badge {
|
|
|
|
background-color: #eee;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #888;
|
|
|
|
text-shadow: 0 1px 1px #fff;
|
2012-09-18 19:50:34 +02:00
|
|
|
}
|
2012-10-17 21:02:52 +02:00
|
|
|
i[class^="icon-"] {
|
2012-11-23 17:33:43 +01:00
|
|
|
line-height: 14px;
|
2012-10-17 21:02:52 +02:00
|
|
|
}
|
2012-09-18 19:50:34 +02:00
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
> a {
|
|
|
|
border-color: #CCC;
|
|
|
|
border-bottom: 1px solid #fff;
|
2012-11-23 17:51:38 +01:00
|
|
|
color: #333;
|
2012-09-18 19:50:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-01-22 16:58:09 +01:00
|
|
|
|
|
|
|
&.nav-small-tabs > li > a { padding: 6px 9px; }
|
2012-09-18 19:50:34 +02:00
|
|
|
}
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
/** ALERT MESSAGES **/
|
|
|
|
.alert-message { @extend .alert; }
|
|
|
|
.alert-messag.success { @extend .alert-success; }
|
|
|
|
.alert-message.error { @extend .alert-error; }
|
|
|
|
|
|
|
|
/** AVATARS **/
|
2012-11-23 17:51:38 +01:00
|
|
|
img.avatar { float: left; margin-right: 12px; width: 40px; border: 1px solid #ddd; padding: 1px; }
|
2012-11-23 17:33:43 +01:00
|
|
|
img.avatar.s16 { width: 16px; height: 16px; margin-right: 6px; }
|
|
|
|
img.avatar.s24 { width: 24px; height: 24px; margin-right: 8px; }
|
|
|
|
img.avatar.s32 { width: 32px; height: 32px; margin-right: 10px; }
|
|
|
|
img.lil_av { padding-left: 4px; padding-right: 3px; }
|
2012-11-19 20:34:05 +01:00
|
|
|
img.small { width: 80px; }
|
2012-08-29 20:23:43 +02:00
|
|
|
|
|
|
|
/** HELPERS **/
|
2012-11-29 17:09:27 +01:00
|
|
|
.nothing_here_message {
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
|
|
|
color: #666;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 36px;
|
|
|
|
}
|
|
|
|
|
2012-11-23 17:51:38 +01:00
|
|
|
p.slead { color: #456; font-size: 16px; margin-bottom: 12px; font-weight: 200; line-height: 24px; }
|
2012-09-19 08:14:07 +02:00
|
|
|
|
|
|
|
/** FORMS **/
|
|
|
|
input[type='search'].search-text-input {
|
|
|
|
background-image: url("icon-search.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 10px;
|
2012-11-23 17:33:43 +01:00
|
|
|
padding-left: 25px;
|
2012-09-19 08:14:07 +02:00
|
|
|
@include border-radius(4px);
|
2012-11-23 17:51:38 +01:00
|
|
|
border: 1px solid #ccc;
|
2012-09-19 08:14:07 +02:00
|
|
|
}
|
2012-11-19 20:34:05 +01:00
|
|
|
|
2012-12-14 04:14:05 +01:00
|
|
|
input[type='text'].danger {
|
|
|
|
background: #F2DEDE!important;
|
|
|
|
border-color: #D66;
|
|
|
|
text-shadow: 0 1px 1px #fff
|
|
|
|
}
|
|
|
|
|
2012-11-19 20:34:05 +01:00
|
|
|
fieldset legend { font-size: 17px; }
|
2012-12-13 20:44:55 +01:00
|
|
|
|
|
|
|
/** PAGINATION **/
|
|
|
|
.gitlab_pagination {
|
|
|
|
span a { color: $link_color; }
|
|
|
|
.prev, .next, .current, .page a {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
.current {
|
|
|
|
border-bottom: 2px solid $style_color;
|
|
|
|
}
|
|
|
|
}
|