mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-08 14:31:28 +02:00
v.0.5.1
This commit is contained in:
parent
261527905b
commit
554378b49b
65 changed files with 824 additions and 715 deletions
41
_sass/vendor/bootstrap/_theme.scss
vendored
41
_sass/vendor/bootstrap/_theme.scss
vendored
|
@ -7,7 +7,6 @@
|
|||
@import "mixins";
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Buttons
|
||||
// --------------------------------------------------
|
||||
|
@ -28,12 +27,16 @@
|
|||
&.active {
|
||||
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
||||
}
|
||||
|
||||
.badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Mixin for generating new styles
|
||||
@mixin btn-styles($btn-color: #555) {
|
||||
@include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
|
||||
@include reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
|
||||
@include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
|
||||
background-repeat: repeat-x;
|
||||
border-color: darken($btn-color, 14%);
|
||||
|
||||
|
@ -49,6 +52,7 @@
|
|||
border-color: darken($btn-color, 14%);
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&:disabled,
|
||||
&[disabled] {
|
||||
background-color: darken($btn-color, 12%);
|
||||
|
@ -74,7 +78,6 @@
|
|||
.btn-danger { @include btn-styles($btn-danger-bg); }
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Images
|
||||
// --------------------------------------------------
|
||||
|
@ -85,7 +88,6 @@
|
|||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Dropdowns
|
||||
// --------------------------------------------------
|
||||
|
@ -103,7 +105,6 @@
|
|||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Navbar
|
||||
// --------------------------------------------------
|
||||
|
@ -111,13 +112,14 @@
|
|||
// Default navbar
|
||||
.navbar-default {
|
||||
@include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
|
||||
@include reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
||||
@include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
||||
border-radius: $navbar-border-radius;
|
||||
$shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
|
||||
@include box-shadow($shadow);
|
||||
|
||||
.navbar-nav > .open > a,
|
||||
.navbar-nav > .active > a {
|
||||
@include gradient-vertical($start-color: darken($navbar-default-bg, 5%), $end-color: darken($navbar-default-bg, 2%));
|
||||
@include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
|
||||
@include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
||||
}
|
||||
}
|
||||
|
@ -129,10 +131,11 @@
|
|||
// Inverted navbar
|
||||
.navbar-inverse {
|
||||
@include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
|
||||
@include reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
||||
@include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
|
||||
|
||||
.navbar-nav > .open > a,
|
||||
.navbar-nav > .active > a {
|
||||
@include gradient-vertical($start-color: $navbar-inverse-bg, $end-color: lighten($navbar-inverse-bg, 2.5%));
|
||||
@include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
|
||||
@include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
||||
}
|
||||
|
||||
|
@ -149,6 +152,17 @@
|
|||
border-radius: 0;
|
||||
}
|
||||
|
||||
// Fix active state of dropdown items in collapsed mode
|
||||
@media (max-width: $grid-float-breakpoint-max) {
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #fff;
|
||||
@include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
|
@ -175,7 +189,6 @@
|
|||
.alert-danger { @include alert-styles($alert-danger-bg); }
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Progress bars
|
||||
// --------------------------------------------------
|
||||
|
@ -200,7 +213,7 @@
|
|||
// Reset the striped class because our mixins don't do multiple gradients and
|
||||
// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
|
||||
.progress-bar-striped {
|
||||
@include gradient-striped();
|
||||
@include gradient-striped;
|
||||
}
|
||||
|
||||
|
||||
|
@ -218,8 +231,11 @@
|
|||
text-shadow: 0 -1px 0 darken($list-group-active-bg, 10%);
|
||||
@include gradient-vertical($start-color: $list-group-active-bg, $end-color: darken($list-group-active-bg, 7.5%));
|
||||
border-color: darken($list-group-active-border, 7.5%);
|
||||
}
|
||||
|
||||
.badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
|
@ -245,7 +261,6 @@
|
|||
.panel-danger > .panel-heading { @include panel-heading-styles($panel-danger-heading-bg); }
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Wells
|
||||
// --------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue