// iOS 7 Bootstrap Theme // Sahat Yalkabov // ----------------------------------------------------- // Variables ================================================================= @navbar-height: 45px; // Global ===================================================================== body { color: #666; background: #e8e8e8; min-height: 100%; } [class^="fa-"], [class*="fa-"] { margin-right: 10px; } // Navbar ===================================================================== .navbar-default { background: rgba(255, 255, 255, 0.95); border: 0; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); .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); } } } } // Buttons ==================================================================== .btn { font-weight: 300; transition: all 0.15s; margin: 0 10px 10px 0; &:active, .active { box-shadow: none; } } .btn-default { background: #bbb; border-color: #bbb; color: #fff; &:hover, &.active { background: transparent; color: #aaa; border-color: #bbb; } } .btn-primary { background: #007aff; border-color: #007aff; &:hover, &.active { background: transparent; color: #007aff; border-color: #007aff; } } .facebook { background-color: #335397; border-color: #335397; &:focus, &:hover { background-color: transparent; color: #335397; } } // 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); } .radio, .checkbox { margin: 0 0 10px; } .radio-inline, .checkbox-inline { padding-top: 9px; margin-right: 20px; } .radio-inline + .radio-inline, .radio-inline + .checkbox-inline, .checkbox-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-left: 0; } input[type="checkbox"], input[type="radio"] { display: none; } input[type="checkbox"] + span:before, input[type="radio"] + span:before { content: ""; width: 18px; height: 18px; display: inline-block; vertical-align: middle; margin-right: 10px; margin-left: -20px; background: white; border-radius: 3px; border: 1px solid #c8c8c8; } input[type="checkbox"]:checked + span:before { background: #007aff url("../img/checkmark.png") no-repeat center center; border-color: #007aff; } @media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6 / 2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) { input[type="checkbox"]:checked + span:before { background-image: url("../img/checkmark@2x.png"); background-size: 14px 14px; } } input[type="radio"] { display: none; } input[type="radio"] + span { position: relative; } input[type="radio"] + span:before { border-radius: 50%; } input[type="radio"]:checked + span:after { content: ""; width: 8px; height: 8px; position: absolute; top: 6px; left: -15px; background-color: #007aff; border-radius: 50%; display: block; } // Misc =================================================================== .login-container { background-color: rgba(255, 255, 255, 0.95); border-radius: 40px; box-shadow: 0 0 50px rgba(0, 0, 0, 0.2); padding: 30px; width: 380px; height: 390px; text-align: center; position: absolute; top: 50%; left: 50%; margin: -190px 0 15px -190px; .form-group { position: relative; margin-bottom: 0; } .form-control { height: 48px; font-size: 15px; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid #d6d6d6; padding-left: 0; padding-right: 0; background: transparent; } .form-options { margin: 20px 0 30px; .checkbox { display: inline-block; margin: 0 0 10px; } } button[type="submit"] { position: absolute; top: 10px; right: 0; opacity: 0.5; font-family: "FontAwesome"; background: transparent; color: #888; border: 2px solid #888; width: 30px; height: 30px; border-radius: 50%; padding-left: 7px; line-height: 24px; &:hover { opacity: 1; } [class^="fa-"], [class*="fa-"] { margin-right: 0; } } }