mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
172 lines
3.8 KiB
CSS
172 lines
3.8 KiB
CSS
/* Fix material icon vertical alignment when nested in various elements */
|
|
h1 .material-icons, h2 .material-icons, h3 .material-icons, h4 .material-icons,
|
|
.tab .material-icons {
|
|
line-height: inherit;
|
|
}
|
|
|
|
main {
|
|
margin-top: 48px;
|
|
}
|
|
|
|
table.ressource-list tr {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.parallax-container .parallax {
|
|
z-index: auto;
|
|
}
|
|
|
|
/* add custom bold class */
|
|
.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Change placholdertext color of file uplaod fields */
|
|
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
|
color: #9e9e9e;
|
|
opacity: 1; /* Firefox */
|
|
}
|
|
|
|
/* preloader circle in the size of a button icon */
|
|
.button-icon-spinner {
|
|
bottom: -5px !important;
|
|
right: 55px !important;
|
|
margin-right: 12px !important;
|
|
width: 19.5px !important;
|
|
height: 19.5px !important;
|
|
}
|
|
|
|
/*
|
|
* changes preoloader size etc. to fit visually better with the chip status
|
|
* indicator of jobs
|
|
*/
|
|
.status-spinner {
|
|
margin-bottom: -10px;
|
|
width: 30px !important;
|
|
height: 30px !important;
|
|
}
|
|
|
|
/* flat-interaction addition to show background color */
|
|
|
|
.flat-interaction {
|
|
background-color: #DCDCDC;
|
|
width: 100%;
|
|
margin-bottom: 3px;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.flat-interaction:hover {
|
|
background-color: #E6E6FA !important;
|
|
}
|
|
|
|
/* CSS for clickable th elements in tables. Needed for sortable table data with
|
|
list js. On click on th header elements will be sorted accordingly. Also a caret
|
|
indicator will show up how the column is sorted right now.; */
|
|
.sort {
|
|
cursor: pointer;
|
|
}
|
|
.sort:after {
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
content:"";
|
|
position: relative;
|
|
top:-10px;
|
|
right:-5px;
|
|
}
|
|
.sort.asc:after {
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-top: 5px solid #000000;
|
|
content:"";
|
|
position: relative;
|
|
top:13px;
|
|
right:-5px;
|
|
}
|
|
.sort.desc:after {
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 5px solid #000000;
|
|
content:"";
|
|
position: relative;
|
|
top:-10px;
|
|
right:-5px;
|
|
}
|
|
|
|
/* Sticy side elements */
|
|
.sticky {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 80px;
|
|
padding: 50px;
|
|
z-index: 999; /* tmp fix */
|
|
}
|
|
|
|
.show-if-only-child:not(:only-child) {
|
|
display: none !important;
|
|
}
|
|
|
|
/* class for expert view */
|
|
.expert-view {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* styles for resource lists */
|
|
.analyse-link[href=""] {
|
|
display: none;
|
|
}
|
|
.service[data-service]:before {
|
|
content: "help";
|
|
}
|
|
.service[data-service="corpus-analysis"]:before {
|
|
content: "search";
|
|
}
|
|
.service[data-service="file-setup"]:before {
|
|
content: "burst_mode";
|
|
}
|
|
.service[data-service="nlp"]:before {
|
|
content: "format_textdirection_l_to_r";
|
|
}
|
|
.service[data-service="ocr"]:before {
|
|
content: "find_in_page";
|
|
}
|
|
.status[data-status]:before {
|
|
content: attr(data-status);
|
|
}
|
|
.status[data-status] {
|
|
background-color: #f44336 !important; /* ~materialize "red" */
|
|
}
|
|
.status[data-status="unprepared"] {
|
|
background-color: #9e9e9e !important; /* ~materialize grey */
|
|
}
|
|
.status[data-status="submitted"] {
|
|
background-color: #9e9e9e !important; /* ~materialize grey */
|
|
}
|
|
.status[data-status="queued"] {
|
|
background-color: #2196f3 !important; /* ~materialize blue */
|
|
}
|
|
.status[data-status="running"] {
|
|
background-color: #ffc107 !important; /* ~materialize amber */
|
|
}
|
|
.status[data-status="complete"] {
|
|
background-color: #4caf50 !important; /* ~materialize green */
|
|
}
|
|
.status[data-status="prepared"] {
|
|
background-color: #4caf50 !important; /* ~materialize green */
|
|
}
|
|
.status[data-status="start analysis"] {
|
|
background-color: #2196f3 !important; /* ~materialize blue */
|
|
}
|
|
.status[data-status="analysing"] {
|
|
background-color: #4caf50 !important; /* ~materialize green */
|
|
}
|
|
.status[data-status="stop analysis"] {
|
|
background-color: #ff5722 !important; /* ~materialize deep-orange */
|
|
}
|