patterns.less 5.48 KiB
/*
	Patterns.less
	Repeatable UI elements outside the base styles provided from the scaffolding
*/
/* Top bar
-------------------------------------------------- */
body {
  padding-top: 60px;
  background-position: 0 40px;
div.topbar {
  #gradient > .vertical(#333, #222);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 40px;
  .box-shadow(0 1px 3px rgba(0,0,0,.5));
  a {
    color: #999;
    &:hover {
      color: #fff;
      text-decoration: none;
      background-color: rgba(255,255,255,.05);
  a#logo,
  ul li a {
    float: left;
    padding: 0 10px;
    line-height: 40px;
  // Logo
  a#logo {
    margin-left: -10px;
    margin-right: 10px;
    color: @gray-light;
    font-size: 20px;
    font-weight: 200;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    img {
      float: left;
      margin-top: 9px;
      margin-right: 6px;
    span {
  // Nav items
  ul {
    float: left;
    margin: 0;
    li {
      display: inline;
      a {
      &.active a {
        color: #fff;
        background-color: rgba(0,0,0,.5);
/* Page Headers