kumquat-buildroot/docs/css/bootswatch.less
Angelo Compagnucci 1fd3b59a96 docs: RWD website - upgrading bootswatch theme file
This patch updates to the latest bootstrap versione (3.3.0) and
contextually pushes the colour theme and fonts required by
our style. The patch provides source files (*.less) to
recompile bootstrap.min.css .

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-02 23:15:56 +01:00

128 lines
2.4 KiB
Plaintext

// Cerulean 3.3.0
// Bootswatch
// -----------------------------------------------------
@import url(//fonts.googleapis.com/css?family=Telex);
.btn-shadow(@color) {
#gradient > .vertical-three-colors(lighten(@color, 8%), @color, 60%, darken(@color, 4%));
filter: none;
border-bottom: 1px solid darken(@color, 10%);
}
// Navbar =====================================================================
.navbar {
.btn-shadow(@navbar-default-bg);
filter: none;
.box-shadow(0 1px 10px rgba(0, 0, 0, 0.1));
&-default {
.badge {
background-color: #fff;
color: @navbar-default-bg;
}
}
&-inverse {
#gradient > .vertical-three-colors(lighten(@navbar-inverse-bg, 8%), lighten(@navbar-inverse-bg, 4%), 60%, darken(@navbar-inverse-bg, 2%));
filter: none;
border-bottom: 1px solid darken(@navbar-inverse-bg, 10%);
.badge {
background-color: #fff;
color: @navbar-inverse-bg;
}
}
.navbar-nav > li > a,
&-brand {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
}
@media (max-width: @grid-float-breakpoint-max) {
.navbar {
.dropdown-header {
color: #fff;
}
}
}
// Buttons ====================================================================
.btn {
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
.caret {
border-top-color: #fff;
}
}
.btn-default {
.btn-shadow(@btn-default-bg);
&:hover {
color: @btn-default-color;
}
.caret {
border-top-color: @text-color;
}
}
.btn-default {
.btn-shadow(@btn-default-bg);
}
.btn-primary {
.btn-shadow(@btn-primary-bg);
}
.btn-success {
.btn-shadow(@btn-success-bg);
}
.btn-info {
.btn-shadow(@btn-info-bg);
}
.btn-warning {
.btn-shadow(@btn-warning-bg);
}
.btn-danger {
.btn-shadow(@btn-danger-bg);
}
// Typography =================================================================
// Tables =====================================================================
// Forms ======================================================================
// Navs =======================================================================
// Indicators =================================================================
// Progress bars ==============================================================
// Containers =================================================================
.panel-primary,
.panel-success,
.panel-warning,
.panel-danger,
.panel-info {
.panel-heading,
.panel-title {
color: #fff;
}
}