freeCodeCamp/public/css/ios7.less

94 lines
1.9 KiB
Plaintext
Raw Normal View History

// iOS 7 Bootstrap Theme
// Sahat Yalkabov
// -----------------------------------------------------
@import url("//fonts.googleapis.com/css?family=Lato:100,300,400,700");
// Variables =================================================================
@navbar-height: 45px;
// Global =====================================================================
2013-12-04 08:11:14 +00:00
body {
font-family: "Lato", sans-serif;
color: #666;
background: #e8e8e8;
min-height: 100%;
}
// Navbar =====================================================================
2013-12-04 08:11:14 +00:00
.navbar-default {
background: rgba(255, 255, 255, 0.95);
border: 0;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
2013-12-04 08:11:14 +00:00
.navbar-nav {
> li > a {
color: #999;
transition: all 0.3s;
&:hover,
&:focus {
color: #999;
background: rgba(0, 0, 0, 0.05);
}
}
> .active > a {
&,
&:focus {
color: #007aff;
background-color: transparent;
}
&:hover {
color: #007aff;
background: rgba(0, 0, 0, 0.05);
}
}
}
}
2013-12-04 08:11:14 +00:00
// Buttons ====================================================================
// Grid =======================================================================
[class*="col-xs"],
[class*="col-sm"],
[class*="col-md"],
[class*="col-lg"] {
background-color: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
// Typography =================================================================
.page-header {
margin: 0;
border: 0;
h1 {
color: #5e5e5e;
font-weight: 300;
}
}
// Forms =================================================================
.form-control {
transition: all 0.4s;
&:focus {
border-color: #007aff;
box-shadow: none;
}
}
label {
font-weight: normal;
}
// Params: text-color; border-color; background-color
.has-error {
.form-control-validation(#d9534f; #d9534f; #d9534f);
}