freeCodeCamp/public/css/ios7.less

143 lines
2.8 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%;
}
[class^="fa-"],
[class*="fa-"] {
margin-right: 10px;
}
2013-12-04 08:11:14 +00:00
// 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 ====================================================================
.btn {
font-weight: 300;
margin: 0 10px 10px 0;
transition: all 0.15s;
2013-12-04 08:11:14 +00:00
&:active,
.active {
box-shadow: none;
}
}
2013-12-04 08:11:14 +00:00
.btn-default {
background: #bbbbbb;
border-color: #bbbbbb;
color: white; }
.btn-default .caret {
border-top-color: white; }
.btn-default:hover, .btn-default.active {
background: transparent;
color: #aaaaaa;
border-color: #bbbbbb; }
.btn-default:hover .caret, .btn-default.active .caret {
border-top-color: #bbbbbb; }
.btn-primary {
background: #007aff;
border-color: #007aff; }
.btn-primary:hover, .btn-primary.active {
background: transparent;
color: #007aff;
border-color: #007aff; }
.btn-primary:hover .caret, .btn-primary.active .caret {
border-top-color: #007aff; }
// Panel ======================================================================
.panel {
background-color: #fff;
border-radius: 0;
border: 0;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.panel-default {
> .panel-heading {
background-color: #fff;
border: 0;
height: 50px;
color: #007aff;
font-size: 15px;
font-weight: 400;
margin: 0;
padding: 15px 15px;
}
}
// Typography =================================================================
.page-header {
margin: 0;
border: 0;
h1 {
color: #5e5e5e;
font-weight: 300;
}
}
// Forms =================================================================
.form-control {
transition: all 0.4s;
box-shadow: none;
&: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);
}