finished navbar, forms, links, buttons styles
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
@ -5,8 +7,9 @@
|
|||||||
@gray-light: #e0e0e0;
|
@gray-light: #e0e0e0;
|
||||||
@gray: #737373;
|
@gray: #737373;
|
||||||
@gray-dark: #404040;
|
@gray-dark: #404040;
|
||||||
|
@gray-darker: #121212;
|
||||||
|
|
||||||
@brand-primary: #3372df;
|
@brand-primary: #2ac5ee;
|
||||||
@brand-success: #0f9d58;
|
@brand-success: #0f9d58;
|
||||||
@brand-warning: #f4b400;
|
@brand-warning: #f4b400;
|
||||||
@brand-danger: #cb4437;
|
@brand-danger: #cb4437;
|
||||||
@ -15,15 +18,23 @@
|
|||||||
// Typography
|
// Typography
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
|
@font-size-base: 13px;
|
||||||
|
@font-family-base: 'Montserrat', sans-serif;
|
||||||
@text-color: @gray-dark;
|
@text-color: @gray-dark;
|
||||||
@headings-font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
|
|
||||||
@text-muted: @gray;
|
@text-muted: @gray;
|
||||||
@link-color: @brand-primary;
|
@link-color: @brand-primary;
|
||||||
|
@link-hover-color: @gray-darker;
|
||||||
|
a {
|
||||||
|
transition: all .4s cubic-bezier(.24,.45,.46,.92);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Buttons
|
// Buttons
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
|
|
||||||
@btn-default-border: #e6e6e6;
|
@btn-default-border: #e6e6e6;
|
||||||
@btn-default-color: #3372df;
|
@btn-default-color: #3372df;
|
||||||
@btn-primary-border: darken(@brand-primary, 8%);
|
@btn-primary-border: darken(@brand-primary, 8%);
|
||||||
@ -33,17 +44,16 @@
|
|||||||
@btn-info-border: darken(@brand-info, 8%);
|
@btn-info-border: darken(@brand-info, 8%);
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
font-size: 16px;
|
padding: 10px 16px;
|
||||||
border-radius: 0;
|
border: 0;
|
||||||
padding: 12px 32px;
|
border-radius: 3px;
|
||||||
|
transition: all .4s cubic-bezier(.24,.45,.46,.92);
|
||||||
|
|
||||||
&:focus {
|
&:hover {
|
||||||
outline: none;
|
color: #fff;
|
||||||
|
background-color: @gray-darker;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-default,
|
.btn-default,
|
||||||
.btn-primary,
|
.btn-primary,
|
||||||
.btn-success,
|
.btn-success,
|
||||||
@ -57,20 +67,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-social {
|
.btn-social {
|
||||||
padding: 12px 64px;
|
padding: 10px 50px;
|
||||||
|
|
||||||
:first-child {
|
:first-child {
|
||||||
width: 48px;
|
width: 38px;
|
||||||
line-height: 48px;
|
line-height: 38px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-link {
|
.btn-link {
|
||||||
text-decoration: underline;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #3372df;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
color: @gray-darker;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,12 +88,12 @@
|
|||||||
// Forms
|
// Forms
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
@input-border-radius: 0;
|
@input-border-radius: 2px;
|
||||||
@input-border-focus: #2598f9;
|
@input-border-focus: #999;
|
||||||
|
@input-border: #f0f0f0;
|
||||||
.form-control:focus {
|
@input-color: #444;
|
||||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
|
@input-color-placeholder: #999;
|
||||||
}
|
@input-height-base: 48px;
|
||||||
|
|
||||||
// Form states and alerts
|
// Form states and alerts
|
||||||
// -------------------------
|
// -------------------------
|
||||||
@ -115,19 +125,19 @@
|
|||||||
// Navbar
|
// Navbar
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
@navbar-default-bg: #4285f4;
|
@navbar-height: 60px;
|
||||||
@navbar-default-link-color: #fff;
|
@navbar-default-bg: rgba(255,255,255,0.95);
|
||||||
@navbar-default-link-hover-color: #fff;
|
@navbar-default-link-color: @gray-darker;
|
||||||
@navbar-default-link-active-color: #fff;
|
@navbar-default-link-active-color: @brand-primary;
|
||||||
@navbar-default-link-hover-bg: rgba(255,255,255,0.2);
|
@navbar-default-link-active-bg: transparent;
|
||||||
@navbar-default-link-active-bg: rgba(255,255,255,0.2);
|
@navbar-default-link-hover-color: @brand-primary;
|
||||||
@navbar-default-color: #fff;
|
@navbar-default-link-hover-bg: transparent;
|
||||||
@navbar-default-brand-hover-color: #fff;
|
@navbar-default-brand-color: @gray-darker;
|
||||||
@navbar-default-toggle-icon-bar-bg: #fff;
|
@navbar-default-brand-hover-color: @brand-primary;
|
||||||
@navbar-default-toggle-hover-bg: rgba(255,255,255,0.2);
|
|
||||||
|
|
||||||
.navbar-default {
|
.navbar-default {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
box-shadow: 0 1px 5px rgba(0,0,0,.15);
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@ -135,9 +145,7 @@
|
|||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
> li > a {
|
> li > a {
|
||||||
font-size: 16px;
|
transition: color .4s cubic-bezier(.24,.45,.46,.92);
|
||||||
font-weight: 300;
|
|
||||||
transition: background-color 0.2s ease-out;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user