123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- @import "bootstrap-sprockets";
- @import "bootstrap";
- @import "font-awesome";
- $gray-darker: lighten(#000, 13.5%);
- $gray-dark: lighten(#000, 20%);
- $gray: lighten(#000, 33.5%);
- $gray-light: lighten(#000, 60%);
- $gray-lighter: lighten(#000, 93.5%);
- $gray-lightest: lighten(#000, 97.25%);
- // Global Styles
- body {
- background-color: $gray-lightest;
- }
- // Wrappers
- #wrapper {
- width: 100%;
- }
- #page-wrapper {
- padding: 0 15px;
- min-height: 568px;
- background-color: white;
- }
- @media(min-width:768px) {
- #page-wrapper {
- position: inherit;
- margin: 0 0 0 250px;
- padding: 0 30px;
- border-left: 1px solid darken($gray-lightest, 6.5%);
- }
- }
- // Forms
- textarea {
- max-width: 100%;
- }
- // --Chips
- .chip-container {
- display: inline-block;
- div {
- display: inline-block;
- border-radius: 5px;
- border: 1px dotted #c5c5c5;
- background-color: #fff;
- padding: 2px;
- font-size: 11px;
- cursor: pointer;
- margin-right: 2px;
- }
- }
- .chips {
- &:hover {
- cursor: text;
- }
- input {
- background: none;
- border: 0;
- display: inline-block;
- padding: 0 !important;
- width: 300px !important;
- }
- // Search
- .results {
- position: absolute;
- margin-top: 6px;
- margin-left: -6px;
- width: 500px;
- background-color: #fff;
- overflow: hidden;
- border: 1px solid #ccc;
- border-top: none;
- list-style: none;
- padding-left: 5px;
- cursor: pointer;
- z-index: 1;
- }
- }
- // Navigation
- // --Topbar
- .navbar-top-links {
- margin-right: 0;
- }
- .navbar-top-links li {
- display: inline-block;
- }
- .navbar-top-links li:last-child {
- margin-right: 15px;
- }
- .navbar-top-links li a {
- padding: 15px;
- min-height: 50px;
- }
- .navbar-top-links .dropdown-menu li {
- display: block;
- }
- .navbar-top-links .dropdown-menu li:last-child {
- margin-right: 0;
- }
- .navbar-top-links .dropdown-menu li a {
- padding: 3px 20px;
- min-height: 0;
- }
- .navbar-top-links .dropdown-menu li a div {
- white-space: normal;
- }
- .navbar-top-links .dropdown-messages,
- .navbar-top-links .dropdown-tasks,
- .navbar-top-links .dropdown-alerts {
- width: 310px;
- min-width: 0;
- }
- .navbar-top-links .dropdown-messages {
- margin-left: 5px;
- }
- .unread-messages {
- color: red;
- }
- .navbar-top-links .dropdown-user {
- right: 0;
- left: auto;
- }
- // --Sidebar
- .sidebar {
- .sidebar-nav.navbar-collapse {
- padding-left: 0;
- padding-right: 0;
- }
- }
- .sidebar .sidebar-search {
- padding: 15px;
- }
- .sidebar ul li {
- border-bottom: 1px solid darken($gray-lightest, 6.5%);
- a {
- &.active {
- background-color: $gray-lighter;
- }
- }
- }
- .sidebar .arrow {
- float: right;
- }
- .sidebar .fa.arrow:before {
- content: "\f104";
- }
- .sidebar .active > a > .fa.arrow:before {
- content: "\f107";
- }
- .sidebar .nav-second-level li,
- .sidebar .nav-third-level li {
- border-bottom: none !important;
- }
- .sidebar .nav-second-level li a {
- padding-left: 37px;
- }
- .sidebar .nav-third-level li a {
- padding-left: 52px;
- }
- @media(min-width:768px) {
- .sidebar {
- z-index: 1;
- position: absolute;
- width: 250px;
- margin-top: 51px;
- }
- .navbar-top-links .dropdown-messages,
- .navbar-top-links .dropdown-tasks,
- .navbar-top-links .dropdown-alerts {
- margin-left: auto;
- }
- }
- // Footer
- footer {
- text-align: center;
- a {
- color: $gray;
- &:hover {
- color: $gray-dark;
- }
- }
- }
|