File: D:/HostingSpaces/SBogers10/hours.komma.pro/resources/assets/sass/app.scss
//Fonts
@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
//Variables
@import "variables";
//Bootstrap
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
@import "datePickerCss";
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}
a.active {
cursor: default;
}
.dev-banner {
color: red;
text-align: center;
padding: 0;
h1 {
margin-top: 11px;
}
}
.navbar-header {
clear: both;
}
.progress {
overflow: visible;
position: relative;
border-radius: 0;
}
.bar-zero, .bar-budget {
position: absolute;
top: 22px;
font-size: 12px;
color: #666;
}
.bar-budget {
right: 0px;
}
.bar-budget-over {
right: 0;
margin-left: -3px;
&:before {
content: "";
border-left: solid 1px #666;
position: absolute;
height: 27px;
top: -25px;
left: 3px;
}
}
.progress-bar {
max-width: 100%;
}
.project_progress_bar, .subproject_progress_bar {
min-height: 44px;
}
.icon-bug:before {
content: "";
background-image: url('../images/bug.svg');
background-size: 18px;
background-repeat: no-repeat;
display: block;
height: 20px;
width: 20px;
}
.glyphicon {
cursor: pointer;
}
.glyphicon-bulled {
background-color: #bf5329;
border-radius: 50px;
width: 13px;
height: 13px;
}
body {
height: 100%;
font-variant-numeric: lining-nums;
-webkit-font-feature-settings: "ss01";
font-feature-settings: "ss01";
#app {
min-height: 100vh;
.navbar {
.navbar-nav
li.active
a {
font-weight: bold;
background-color: unset;
text-decoration: underline;
}
.dropdown {
.notification {
font-size: 22px;
}
.badge {
position: absolute;
top: 7px;
left: 23px;
background-color: #e2445c;
}
.dropdown-menu {
&.dropdown-messages {
min-width: 300px;
li {
a {
white-space: inherit !important;
}
div {
width: 400px;
}
}
}
}
}
}
.content {
padding-bottom: 60px;
.error-page {
.headline {
font-size: 200px;
}
}
.nav-tabs {
margin-bottom: -1px;
li a {
cursor: pointer;
}
}
.expenseOrTask {
width: 100%;
a {
color: #b5bbc0;
&.active {
color: #636b6f;
font-weight: bold;
}
}
}
.collapseDescription {
span {
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
transform: rotate(45deg);
color: red;
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}
&.collapsed {
span {
-ms-transform: rotate(0deg); /* IE 9 */
-webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
transform: rotate(0deg);
color: #3097D1;
}
}
}
.clickable-row {
a.deleteModal {
span.glyphicon-trash {
padding: 17%;
width: 100%;
text-align: right;
}
}
&:hover {
cursor: pointer;
background: #f5f5f5;
}
&.active {
background-color: #ededed;
td {
background-color: transparent;
}
}
}
.locked-row {
cursor: not-allowed;
}
#maand {
.table {
tbody {
td {
width: 85px !important;
height: 72px !important;
&.active {
background-color: #e4e4e4 !important;
}
a {
display: block;
height: 100%;
color: #636b6f;
text-decoration: none;
cursor: pointer;
}
}
}
}
}
}
.project, .subproject, .company, .absence {
border: 1px solid #dddddd;
background: #fff;
position: relative;
display: table;
width: 100%;
margin-top: -1px;
&.active:before {
border-left: 5px solid #2ab27b;
}
&.inactive:before {
border-left: 5px solid #f0ad4e;
}
&.deleted:before {
border-left: 5px solid #bf5329;
}
.tasks {
padding: 10px 0;
a {
margin-right: 5px;
}
}
.project-counter {
padding: 15px 15px 0 15px !important;
}
.glyphicon-ok.check {
padding: 20px;
font-size: 35px;
line-height: 44px;
color: #52a555;
text-align: center;
width: 72px;
height: 87px;
cursor: default;
}
.title {
padding-left: 0;
h4 {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
width: 100%;
max-width: 420px;
padding-bottom: 10px;
}
}
.trash {
text-align: right;
}
}
.subproject {
padding-top: 10px;
}
#dag .table > thead > tr > th {
border-bottom: none;
&:first-child {
border-left: solid 1px #dddddd;
}
&:last-child {
border-right: solid 1px #dddddd;
}
}
.table tr.not_in_weektotal {
background: repeating-linear-gradient(
45deg,
#ffffff,
#ffffff 10px,
#F5F5F5 10px,
#f5f5f5 20px
);
}
}
footer {
position: relative;
margin-top: -72px;
width: 100%;
padding: 1rem;
background-color: #efefef;
text-align: center;
#development {
a {
color: #B2B2B2;
text-decoration: none;
span {
-moz-transition: color 0.2s ease;
-o-transition: color 0.2s ease;
-webkit-transition: color 0.2s ease;
-ms-transition: color 0.2s ease;
transition: color 0.2s ease;
}
}
a:hover {
:nth-child(2) {
text-decoration: underline;
color: #3097d1;
}
}
}
}
.optionPopup {
position: fixed;
bottom: -35px;
box-shadow: 0 22px 104px -6px rgba(0, 0, 0, .34);
width: 55%;
left: 22.5%;
z-index: 9000;
border-radius: 5px;
height: 0px;
transition: all 0.3s ease;
&.active {
height: 63px;
bottom: 35px;
}
.project {
height: 100%;
margin-bottom: 0 !important;
border-radius: 5px !important;
display: flex !important;
.colored-tile {
display: flex;
width: 63px;
border-radius: 5px 0 0 5px;
background: #1abc9c;
flex-direction: column;
.counter {
position: relative;
color: #fff;
font-size: 30px;
top: calc(50% - 27px);
left: calc(50% - 8px);
}
}
.title-tile {
display: flex;
flex-direction: column;
justify-content: center;
flex: 1;
.title {
padding-left: 20px;
margin-top: 11px;
}
}
.option-tile {
padding: 13px;
display: flex;
flex-direction: column;
text-align: center;
margin-right: 20px;
cursor: pointer;
}
.option-tile:hover {
background: #f9f9f9
}
.cancel-tile {
display: flex;
width: 63px;
cursor: pointer;
flex-direction: column;
justify-content: center;
text-align: center;
border-left: 2px solid #f1f1f1;
}
.cancel-tile:hover {
background: #f7f7f7
}
}
}
td {
&.nombore {
position: relative;
left: 0;
padding: 0 !important;
transition: all 0.3s ease-out;
width: 39px;
height: 39px;
label {
margin-bottom: 0 !important;
display: block;
height: 100%;
}
.slider {
background: #1abc9c;
overflow: hidden;
width: 13%;
height: 100%;
transition: width 0.3s ease;
&.active {
width: 100%;
}
input {
position: relative;
margin-left: 13px;
top: calc(50% - 12px);
}
}
}
&.nombore:hover {
.slider {
width: 100%;
}
}
}
.error-container {
margin: 15px;
}
}
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
#loading {
display: block;
position: fixed;
width: 150px;
height: 150px;
left: -50%;
margin-left: -75px;
top: 50%;
margin-top: -75px;
background: transparent url(/images/komma_logo_los.svg);
animation: spin 1s linear infinite reverse;
opacity: 0.1;
z-index: 50;
}
/* For Firefox */
input[type='number'] {
-moz-appearance: textfield;
}
/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.ui-spinner {
overflow: visible;
width: 100%;
}
.ui-spinner-input {
margin: 0;
padding-left: 0.6em;
/*border: none;*/
color: #636b6f;
}
.ui-button, .ui-button:hover {
background: none;
border: 1px solid #d3d3d3;
}
.ui-button:hover {
background: #efefef;
}
.ui-spinner a.ui-spinner-button {
border-top-style: solid;
border-bottom-style: solid;
border-right-style: solid;
}
.ui-spinner a.ui-spinner-up {
border-bottom-style: none;
}
.ui-widget-content, .ui-widget.ui-widget-content {
border: none;
}
.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
font-family: unset;
}
.form-control.has-error {
height: auto;
}
.importResultsHolder {
border: solid 1px #ccc;
overflow: scroll;
white-space: nowrap;
max-height: 500px;
}
#pjaxContainer > .container > .row > .col-md-12 > .alert-info {
display: none;
position: fixed;
top: 57px;
left: 0;
width: 100%;
padding: 25px;
text-align: center;
opacity: 0.8;
}
#app {
.settings {
.project {
border: none;
border-top: none;
border-bottom: none;
background: none;
border-radius: 0;
margin-bottom: 0;
margin-top: 0;
position: relative;
display: table;
width: 100%;
h2, h3 {
font-size: 16px;
}
}
}
}
#projectForm .ui-spinner,
#subprojectForm .ui-spinner,
#budgetContent .ui-spinner,
#newBudgetContent .ui-spinner {
width: 100%;
}
.panel-body {
padding: 15px;
}
.projectOverview,
.subprojectOverview,
.companyOverview {
.panel-body {
padding: 0;
}
}
.project-details {
margin: 20px 0 10px 0;
padding-top: 30px;
padding-bottom: 15px;
border-top: solid 1px #dedede;
}
.stats {
width: 100%;
padding: 20px 44px 42px 44px;
background-color: #f9f9f9;
border-top: solid 1px #dedede;
border-bottom: solid 1px #dedede;
.col-md-8, .col-md-4, .col-md-3, .col-md-7 {
margin-bottom: 2px;
}
h3 {
border-bottom: solid 2px;
}
h5 {
font-weight: bold;
font-size: 1.1em;
}
.line {
border: solid 1px;
height: 0;
width: 100%;
margin: 10px 0;
display: block;
}
.plus {
font-size: 2em;
font-weight: bold;
line-height: 0.8em;
}
.value {
text-align: right;
}
}
.chart {
margin: 20px 0 0 0;
padding: 40px 15px 40px 15px;
border-bottom: solid 1px #dedede;
}
.subprojects, .projects {
padding-top: 50px;
padding-bottom: 60px;
border-bottom: solid 1px #dedede;
background-color: #f9f9f9;
}
.projects {
border-top: solid 1px #dedede;
}
.costs {
padding-top: 20px;
padding-bottom: 20px;
border-bottom: solid 1px #dedede;
}
.members {
padding-top: 10px;
padding-bottom: 30px;
background-color: #f9f9f9;
}
.tasks {
padding-top: 30px;
padding-bottom: 30px;
border-bottom: solid 1px #dedede;
}
.subproject-filters {
padding-top: 0;
padding-bottom: 30px;
}
.subproject-hours {
padding-top: 10px;
padding-bottom: 0;
background-color: #f9f9f9;
table tr {
&:last-child {
border-bottom: 1px solid #ddd;
}
td {
background-color: white;
&:last-child {
border-right: 1px solid #ddd;
}
}
}
}
#app {
.content {
.hours {
.nav-tabs {
margin-bottom: -11px !important;
}
.panel-body {
padding: 15px
}
textarea {
resize: vertical
}
}
}
}