13 changed files with 2425 additions and 500 deletions
@ -1,174 +0,0 @@ |
|||||||
body { |
|
||||||
background-color: #e7e7e7; |
|
||||||
overflow-y: auto; |
|
||||||
} |
|
||||||
|
|
||||||
.container { |
|
||||||
margin: 20px auto 20px auto; |
|
||||||
} |
|
||||||
|
|
||||||
.tracker-action-button { |
|
||||||
margin-top: 10px; |
|
||||||
padding: 1px 5px 1px 5px; |
|
||||||
width: 100%; |
|
||||||
} |
|
||||||
|
|
||||||
.delete-tracker-button { |
|
||||||
margin-top: 10px; |
|
||||||
margin-bottom: 15px; |
|
||||||
padding: 1px 5px 1px 5px; |
|
||||||
width: 100%; |
|
||||||
} |
|
||||||
|
|
||||||
.side-button-right { |
|
||||||
font-size: 1.7em; |
|
||||||
} |
|
||||||
|
|
||||||
.add-tracker-button { |
|
||||||
font-size: 1.7em; |
|
||||||
} |
|
||||||
|
|
||||||
.navbar-brand { |
|
||||||
width: 100%; |
|
||||||
} |
|
||||||
|
|
||||||
.logo-nav { |
|
||||||
max-height: 35px; |
|
||||||
margin: 5px; |
|
||||||
} |
|
||||||
|
|
||||||
nav { |
|
||||||
border-radius: 45px; |
|
||||||
} |
|
||||||
|
|
||||||
nav, .card { |
|
||||||
margin-bottom: 20px; |
|
||||||
} |
|
||||||
|
|
||||||
.modal-content { |
|
||||||
max-width: 1000px; |
|
||||||
} |
|
||||||
|
|
||||||
.btn-full-width { |
|
||||||
width: 100%; |
|
||||||
} |
|
||||||
|
|
||||||
.timeTracking { |
|
||||||
height: 635px; |
|
||||||
overflow-y: scroll; |
|
||||||
margin-bottom: 0; |
|
||||||
padding-bottom: 0; |
|
||||||
} |
|
||||||
|
|
||||||
.ticket-history { |
|
||||||
list-style: none; |
|
||||||
padding-left: 0; |
|
||||||
} |
|
||||||
|
|
||||||
.trackingNameField { |
|
||||||
max-height: 1em; |
|
||||||
margin-bottom: 1px; |
|
||||||
} |
|
||||||
|
|
||||||
#settingsModal .modal-dialog, |
|
||||||
#showTicketsModal .modal-dialog, |
|
||||||
#showArchivedTicketsModal .modal-dialog { |
|
||||||
max-width: 900px; |
|
||||||
} |
|
||||||
|
|
||||||
.btn { |
|
||||||
text-transform: initial !important; |
|
||||||
} |
|
||||||
|
|
||||||
.brand-title { |
|
||||||
margin-left: 2em; |
|
||||||
margin-top: 0.5em; |
|
||||||
} |
|
||||||
|
|
||||||
#settingsModal .form-group { |
|
||||||
margin-bottom: 0.5em; |
|
||||||
} |
|
||||||
|
|
||||||
.search-field { |
|
||||||
display: inline-block; |
|
||||||
max-width: 85%; |
|
||||||
margin-left: 5%; |
|
||||||
} |
|
||||||
|
|
||||||
#left-menu { |
|
||||||
position: fixed; |
|
||||||
top: 0; |
|
||||||
left: 0; |
|
||||||
height: 100%; |
|
||||||
width: 90px; |
|
||||||
|
|
||||||
align-content: center; |
|
||||||
background-color: #bdbdbd; |
|
||||||
border-right: 1px solid grey; |
|
||||||
padding: 0; |
|
||||||
} |
|
||||||
|
|
||||||
#content { |
|
||||||
margin-left: 90px; |
|
||||||
max-width: 85vw; |
|
||||||
} |
|
||||||
|
|
||||||
.bottom-menu-item { |
|
||||||
width: 100%; |
|
||||||
margin-bottom: 1em; |
|
||||||
} |
|
||||||
|
|
||||||
.btn-switcher { |
|
||||||
width: 100%; |
|
||||||
} |
|
||||||
|
|
||||||
.container { |
|
||||||
margin-top: 1em; |
|
||||||
} |
|
||||||
|
|
||||||
.form-control { |
|
||||||
margin-bottom: 1em; |
|
||||||
} |
|
||||||
|
|
||||||
.switch-portal-button { |
|
||||||
margin-bottom: 0.5em; |
|
||||||
} |
|
||||||
|
|
||||||
.col-board-inner { |
|
||||||
border-right: 1px solid grey; |
|
||||||
} |
|
||||||
|
|
||||||
#board-view h5 { |
|
||||||
text-align: center; |
|
||||||
text-transform: uppercase; |
|
||||||
color: dimgrey; |
|
||||||
line-height: 0.7em; |
|
||||||
word-spacing: 1px; |
|
||||||
} |
|
||||||
|
|
||||||
.snippet-space-item { |
|
||||||
display: none; |
|
||||||
} |
|
||||||
|
|
||||||
.CodeMirror { |
|
||||||
border-radius: 5px; |
|
||||||
margin-top: 1em; |
|
||||||
} |
|
||||||
|
|
||||||
.btn-wide { |
|
||||||
width: 5em; |
|
||||||
margin-top: 1em; |
|
||||||
margin-left: 1em; |
|
||||||
} |
|
||||||
|
|
||||||
.finished-task { |
|
||||||
text-decoration: line-through; |
|
||||||
} |
|
||||||
|
|
||||||
#trackerTasksModal a li { |
|
||||||
color: black !important; |
|
||||||
} |
|
||||||
|
|
||||||
#trackerTasksModal input[type=range] { |
|
||||||
width: 100%; |
|
||||||
} |
|
@ -0,0 +1,176 @@ |
|||||||
|
@import '~izitoast/dist/css/iziToast.min.css'; |
||||||
|
@import "~bootswatch/dist/materia/bootstrap.min.css"; |
||||||
|
|
||||||
|
body { |
||||||
|
background-color: #e7e7e7; |
||||||
|
} |
||||||
|
|
||||||
|
.container { |
||||||
|
margin: 20px auto 20px auto; |
||||||
|
} |
||||||
|
|
||||||
|
.tracker-action-button { |
||||||
|
margin-top: 10px; |
||||||
|
padding: 1px 5px 1px 5px; |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.delete-tracker-button { |
||||||
|
margin-top: 10px; |
||||||
|
margin-bottom: 15px; |
||||||
|
padding: 1px 5px 1px 5px; |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.side-button-right { |
||||||
|
font-size: 1.7em; |
||||||
|
} |
||||||
|
|
||||||
|
.add-tracker-button { |
||||||
|
font-size: 1.7em; |
||||||
|
} |
||||||
|
|
||||||
|
.navbar-brand { |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.logo-nav { |
||||||
|
max-height: 35px; |
||||||
|
margin: 5px; |
||||||
|
} |
||||||
|
|
||||||
|
nav { |
||||||
|
border-radius: 45px; |
||||||
|
} |
||||||
|
|
||||||
|
nav, .card { |
||||||
|
margin-bottom: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.modal-content { |
||||||
|
max-width: 1000px; |
||||||
|
} |
||||||
|
|
||||||
|
.btn-full-width { |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.timeTracking { |
||||||
|
height: 635px; |
||||||
|
overflow-y: scroll; |
||||||
|
margin-bottom: 0; |
||||||
|
padding-bottom: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.ticket-history { |
||||||
|
list-style: none; |
||||||
|
padding-left: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.trackingNameField { |
||||||
|
max-height: 1em; |
||||||
|
margin-bottom: 1px; |
||||||
|
} |
||||||
|
|
||||||
|
#settingsModal .modal-dialog, |
||||||
|
#showTicketsModal .modal-dialog, |
||||||
|
#showArchivedTicketsModal .modal-dialog { |
||||||
|
max-width: 900px; |
||||||
|
} |
||||||
|
|
||||||
|
.btn { |
||||||
|
text-transform: initial !important; |
||||||
|
} |
||||||
|
|
||||||
|
.brand-title { |
||||||
|
margin-left: 2em; |
||||||
|
margin-top: 0.5em; |
||||||
|
} |
||||||
|
|
||||||
|
#settingsModal .form-group { |
||||||
|
margin-bottom: 0.5em; |
||||||
|
} |
||||||
|
|
||||||
|
.search-field { |
||||||
|
display: inline-block; |
||||||
|
max-width: 85%; |
||||||
|
margin-left: 5%; |
||||||
|
} |
||||||
|
|
||||||
|
#left-menu { |
||||||
|
position: fixed; |
||||||
|
top: 0; |
||||||
|
left: 0; |
||||||
|
height: 100%; |
||||||
|
width: 90px; |
||||||
|
|
||||||
|
align-content: center; |
||||||
|
background-color: #bdbdbd; |
||||||
|
border-right: 1px solid grey; |
||||||
|
padding: 0; |
||||||
|
} |
||||||
|
|
||||||
|
#content { |
||||||
|
margin-left: 90px; |
||||||
|
max-width: 85vw; |
||||||
|
} |
||||||
|
|
||||||
|
.bottom-menu-item { |
||||||
|
width: 100%; |
||||||
|
margin-bottom: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
.btn-switcher { |
||||||
|
width: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
.container { |
||||||
|
margin-top: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
.form-control { |
||||||
|
margin-bottom: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
.switch-portal-button { |
||||||
|
margin-bottom: 0.5em; |
||||||
|
} |
||||||
|
|
||||||
|
.col-board-inner { |
||||||
|
border-right: 1px solid grey; |
||||||
|
} |
||||||
|
|
||||||
|
#board-view h5 { |
||||||
|
text-align: center; |
||||||
|
text-transform: uppercase; |
||||||
|
color: dimgrey; |
||||||
|
line-height: 0.7em; |
||||||
|
word-spacing: 1px; |
||||||
|
} |
||||||
|
|
||||||
|
.snippet-space-item { |
||||||
|
display: none; |
||||||
|
} |
||||||
|
|
||||||
|
.CodeMirror { |
||||||
|
border-radius: 5px; |
||||||
|
margin-top: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
.btn-wide { |
||||||
|
width: 5em; |
||||||
|
margin-top: 1em; |
||||||
|
margin-left: 1em; |
||||||
|
} |
||||||
|
|
||||||
|
.finished-task { |
||||||
|
text-decoration: line-through; |
||||||
|
} |
||||||
|
|
||||||
|
#trackerTasksModal a li { |
||||||
|
color: black !important; |
||||||
|
} |
||||||
|
|
||||||
|
#trackerTasksModal input[type=range] { |
||||||
|
width: 100%; |
||||||
|
} |
@ -1,18 +0,0 @@ |
|||||||
function oneOf(collection) { |
|
||||||
return collection[Math.floor(Math.random()*collection.length)]; |
|
||||||
} |
|
||||||
|
|
||||||
function playSound(sound, extension = null) { |
|
||||||
let audio = new Audio('/timetrack/assets/audio/' + sound + (extension ?? '.mp3')); |
|
||||||
audio.play(); |
|
||||||
} |
|
||||||
|
|
||||||
function getRandomID() { |
|
||||||
let text = ''; |
|
||||||
const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; |
|
||||||
|
|
||||||
for (let i = 0; i < 10; i++) { |
|
||||||
text += possible.charAt(Math.floor(Math.random() * possible.length)); |
|
||||||
} |
|
||||||
return text; |
|
||||||
} |
|
Loading…
Reference in new issue