prellele/trame

View on GitHub
app/assets/stylesheets/application.css.scss

Summary

Maintainability
Test Coverage
/*
 *= require bootstrap_and_overrides
 *= require bootstrap-datetimepicker
 *= require bootstrapSwitch
 *= require donuts
 *= require bootstrap-datetimepicker
 *= require bootstrap-flashmessage
 *= require_self
 *= require_tree .
 */

html,
body {
  height: 100%;
}

#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -60px;
}

#push,
#footer {
  height: 60px;
}
#footer {
  background-color: #f5f5f5;
}

#wrap > .container {
  padding-top: 60px;
}
.container .credit {
  margin: 20px 0;
  text-align: center;
}


h1.header{
  display:inline;
}
.nav li.main{
  a{ 
    text-transform: uppercase;
  } 
}

.form-signin {
  max-width: 300px;
  padding: 19px 29px 29px;
  margin: 80px auto 20px;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin input[type="text"],
.form-signin input[type="email"],
.form-signin input[type="password"] {
  font-size: 16px;
  height: auto;
  margin-bottom: 15px;
  padding: 7px 9px;
}

.statistics li{
  margin-bottom:25px;
}

.home_index{
  #trackings_table{
    .td-description{
      max-width: 200px;
    }
    .td-project_name{
      max-width: 200px;
    }
  }
}

#trackings_table {
  .td-description {
    max-width: 400px;
  }
  .td-duration {
    width: 100px;
  }
  .td-date {
    width: 150px;
  }
  .td-project_name {
    width: 170px; 
  }
  .td-username {
    width: 120px;
  }
  .td-created_at {
    max-width: 130px;
  }
  .td-actions {
    width: 140px;
  }
  .td-billable {
    width: 20px;
  }
}
.row-tracking{
  padding-top:5px;
  #tracking_description{
    max-width: 672px;
  }
  .date{
    padding-left: -10px;
  }
  .billable{
    vertical-align: top;
  }
  #tracking_minutes{
  }

  #tracking_end_time{
    
  }
  #tracking_start_time{
  }
}

.tooltip {
  color: black;
}

.navbar .brand:hover {
  color: rgb(0, 0, 0);
}

.form-inline {
  .field_with_errors {
    display: inline-block;
    input {
      background-color: darken(red, 10%);
    }
  }
}
ul.rights{
  list-style: none;

  li{
    margin-bottom: 10px;
  }
}

ul.projects {
  list-style: none;
}

ul.trackings {
  list-style: none;
}

li.project {
  h2.project-name {
    display: inline;
  }
  .project-info {
    width: 100%;
    display: inline;
  }
}

.nowrap {
  overflow: hidden;
  white-space: nowrap;
}

.additionals {
  text-align: left;
  vertical-align: center;
  height: 40px;
  width: 110px;
  margin-top: 10px;
  display:block;
  ul{
    list-style: none;

    li{
    display: inline;
    }
  }
}

.reports {
  .td-description {
    max-width: 700px;
  }
  .td-billable {
    width: 20px;
  }
  .td-username {
    width: 100px;
  }
  .td-date {
    width: 130px;
  }
  .td-duration {
    width: 70px;
  }
}

.home_index{
  .td-duration{
    width: 80px;
  }
}

.charts{
  padding-bottom:15px;
}

.projects{
  
}

.btn-header{
  float:right;
}

div.user_edit{
   input{
    float: right;
    display: inline;
  }
}

ul.user_edit{
  float: right;
  li{
    float: right;
    list-style:none;
  }
  label{
    display:inline;
    vertical-align:sub;
    margin-right: 15px;
  }
}

.dropdown img {
  width: 30px;
  margin-right: 5px;
}

.row-fluid .additionals{
  width: 20.5%;
}

.filter-form{
  .multiselect{
    max-width: 160px;
  }
}
.selectbox {
  float:left;
  min-width:175px;
  background: none repeat scroll 0% 0% rgb(255, 255, 255);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25), 0px -1px 0px rgba(0, 0, 0, 0.1) inset;
  color: rgb(51, 51, 51);
  padding: 8px;
  line-height: 18px;
  cursor: pointer;
  border-top: 1px solid rgb(221, 221, 221);
  height: 1.3em;
  margin-bottom: 20px;
  margin-right: 20px;
}
.metrics {
    text-align: left;
    display: none;
}
.metrics div {
    border-top: 3px solid rgb(88, 88, 88);
    margin: 20px;
    width: 180px;
    color: rgb(51, 51, 51);
    text-align: center;
    padding: 30px 4px;
    background: none repeat scroll 0% 0% padding-box rgb(255, 255, 255);
    height: 70px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.metrics div span {
    display: block;
    font-size: 30px;
    font-weight: bold;
    padding: 0px 0px 25px;
    letter-spacing: -1px;
}
a {
    color: rgb(40, 150, 221);
    text-decoration: none;
}
.metrics div h4 {
    font-size: 14px;
    color: rgb(153, 153, 153);
    text-transform: uppercase;
}
ul.footer {
  margin-top: 20px;
  float: right;
   display: inline;
}
ul.footer li {
   display: inline;
   margin: 0 20px 0 20px;
}