ui_basic.scss 2.08 KB
/**
 * This file represent some UI that can be changed 
 * during web app restyle or theme select. 
 * 
 * Next items should be placed there
 * - link colors
 * - header styles
 * - main menu styles
 *
 */
.ui_basic { 
  /*
   * Common styles
   *
   */
  a {
    color: $link_color;
    &:hover { 
      text-decoration:none; 
      color: $style_color;
    }
  }


  /*
   *  Application Header
   *
   */
  header { 
    width:100%;
    padding:0;
    margin:0;
    top:1px;
    left:0;
    background: #F1F1F1; /* for non-css3 browsers */
    border-bottom: 1px solid #ccc; 
    box-shadow: 0 -1px 0 white inset;
    -moz-box-shadow: 0 -1px 0 white inset;
    -webkit-box-shadow: 0 -1px 0 white inset;
    z-index:10;
    height:60px;

    .app_logo {
      width:230px;
      float:left;

      a { 
        float:left;

        h1 { 
          float:left;
          margin-left:5px;
          font-size:20px;
          line-height:34px;
          font-weight:bold;
          color:#aaa;
          text-shadow: 0 1px 1px #FFF;
        }

        &.home {
          img { 
            float: left;
            position: relative;
            top: -9px;
            width:46px;

          }
        }
      }
    }
    .wrapper { 
      margin:auto;
      min-width:$min_app_width;
      max-width:$max_app_width;
      position:relative;
      padding:15px 0;

      .top_panel_content { 
        margin:0 $app_padding;
      }
    }

    .admin_link { 
      width: 16px;
      height: 16px;
      padding: 5px;
      margin-right: 15px;
      float:right;
    }

    .project_name {
      float:left;
      width:360px;
      margin:0;
      margin-right:30px;
      font-size:20px;
      line-height:34px;
      font-weight:bold;
      color:$style_color;
      text-shadow: 0 1px 1px #FFF;
    }

    .search { 
      float: right;
      margin-right: 55px;

      .search-input { 
        width:130px;
        background-image: url("icon-search.png");
        background-repeat: no-repeat;
        background-position: 10px;
        padding-left:25px;
      }
    }
  }
  /*
   *  End of Application Header
   *
   */
}