104 lines
2.4 KiB
SCSS
104 lines
2.4 KiB
SCSS
// ----------------------------------------------------------------------------
|
|
// Sass declarations
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// row-size is a magic number used for scaling. It will make things bigger
|
|
// or smaller but always in proportion with each other. Feel free to change
|
|
// this to reflect your personal needs.
|
|
$row-size: 1em;
|
|
|
|
$blue: #30A2BD;
|
|
$white: #ffffff;
|
|
$base-color: darken($blue, 20%);
|
|
|
|
$base-color-dark: darken($base-color, 10%);
|
|
$base-color-light: lighten($base-color, 10%);
|
|
$base-color-lighter: lighten($base-color, 5%);
|
|
$base-color-lightest: lighten($base-color, 45%);
|
|
|
|
$text-color: $white;
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Widget-project-completion styles
|
|
// ----------------------------------------------------------------------------
|
|
.widget.widget-progress-bars {
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 5px;
|
|
position:relative;
|
|
background-color: $base-color;
|
|
vertical-align: baseline;
|
|
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing:border-box;
|
|
}
|
|
|
|
.title {
|
|
color: $text-color;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.rows-container {
|
|
height: 85%;
|
|
width:100%;
|
|
color: $text-color;
|
|
font-size: $row-size;
|
|
text-align:center;
|
|
padding-bottom: 12px;
|
|
}
|
|
|
|
.row {
|
|
height:0%;
|
|
width:100%;
|
|
vertical-align: middle;
|
|
display:table;
|
|
transition-property: height;
|
|
transition-duration: 0.3s;
|
|
transition-timing-function: linear;
|
|
}
|
|
|
|
.row-content {
|
|
padding-left: 5px;
|
|
display:table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.project-name {
|
|
display:inline-block;
|
|
width:35%;
|
|
padding-right: $row-size;
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
text-overflow: ellipsis;
|
|
overflow:hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.outer-progress-bar {
|
|
display:inline-block;
|
|
width: 65%;
|
|
vertical-align: middle;
|
|
border: ($row-size / 3) solid $base-color-dark;
|
|
border-radius: 2 * $row-size;
|
|
background-color: $base-color-lighter;
|
|
|
|
.inner-progress-bar {
|
|
background-color: $base-color-dark;
|
|
border-radius: $row-size / 2;
|
|
color: $white;
|
|
white-space: pre;
|
|
}
|
|
}
|
|
|
|
.zebra-stripe {
|
|
background-color: $base-color-light;
|
|
}
|
|
|
|
.updated-at {
|
|
color: rgba(0, 0, 0, 0.6);
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
} |