Pre template modifications

This commit is contained in:
2024-03-05 09:08:24 +01:00
parent e6a5fad2db
commit f23c9e3953
15 changed files with 531 additions and 64 deletions

View File

@@ -32,11 +32,11 @@ h4 {
}
label {
font-size: 1.2rem;
font-size: 1.0rem;
}
.input-field > label {
font-size: 1.2rem;
font-size: 1.0rem;
}
.table-wrapper {
@@ -86,7 +86,7 @@ td {
color: #F44336;
position: relative;
min-height: 18px;
font-size: 1.1rem;
font-size: 0.9rem;
}
@media only screen and (min-width: 993px) {
@@ -108,7 +108,7 @@ td {
height: 75px;
}
#advanced-tree-expand {
.expand {
color: rgba(0, 0, 0, 0.87);
}
@@ -137,12 +137,15 @@ label.active {
background-color: #f5f5f5;
}
.btn:active {
.btn:active, .btn-large:active, .btn-small:active {
background: #393939;
}
.btn:hover {
.btn:hover, .btn-large:hover, .btn-small:hover {
background: #212121;
}
.btn:focus, .btn-large, .btn-small {
background: #161616;
}
.btn.btn-round {
border-radius: 1.5rem;
@@ -166,6 +169,7 @@ label.active {
.insidebutton {
color: #161616;
background-color: #fff;
margin-top: 0rem;
display: inline-block;
float: left;
line-height: 2.5rem;
@@ -178,7 +182,7 @@ label.active {
transition: opacity 0.3s ease-out;
cursor: pointer;
font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
text-transform: none;
/*text-transform: none;*/
}
.insidebutton:hover {
@@ -195,6 +199,12 @@ label.active {
background-color: #737373;
}
::placeholder {
font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
font-size: 1rem;
color: #9e9e9e !important;
}
input.valid[type=text]:not(.browser-default) {
border-bottom: 1px solid #9e9e9e;
box-shadow: none;
@@ -208,3 +218,78 @@ input[type=text]:not(.browser-default).validate + label {
border: 2px solid #212121;
background-color: #212121;
}
sup {
/* vertical-align: top; */
font-size: 0.6em;
}
.icon-nav {
margin-top: 0.5rem;
margin-left: 0.5rem;
width: 2rem;
height: 2rem;
display: inline-block;
text-align: center;
border-radius: 2px;
cursor: pointer;
}
.whitecjvt {
background-color: #ffffff;
}
h6 {
font-size: 0.875rem;
line-height: 1.125rem;
letter-spacing: 0.16px;
font-weight: 600;
color: #161616;
font-size: 100%;
vertical-align: baseline;
}
h5 {
padding-top: 1.5rem;
color: #b3b3b3;
font-size: 12px;
font-weight: normal;
line-height: 1.33;
letter-spacing: 0.32px;
margin: 0px;
}
.footer-col-content {
position: relative;
margin-left: 1.5rem;
margin-right: 1.5rem;
height: 12rem;
border-left: 1px solid #666666;
color: white;
margin-bottom: 2rem;
}
.page-footer {
padding-top: 0px;
}
.footer-element {
width: 100%;
height: 300px;
border-radius: 2px;
}
.footer-element img, .footer-license {
width: 100%;
object-fit: contain;
position: absolute; /* Add position: absolute */
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
.em-1 {
font-size: 1em;
}

View File

@@ -0,0 +1 @@
<svg id="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><defs><style>.cls-1{fill:none;}</style></defs><title>logo--facebook</title><path d="M26.67,4H5.33A1.34,1.34,0,0,0,4,5.33V26.67A1.34,1.34,0,0,0,5.33,28H16.82V18.72H13.7V15.09h3.12V12.42c0-3.1,1.89-4.79,4.67-4.79.93,0,1.86,0,2.79.14V11H22.37c-1.51,0-1.8.72-1.8,1.77v2.31h3.6l-.47,3.63H20.57V28h6.1A1.34,1.34,0,0,0,28,26.67V5.33A1.34,1.34,0,0,0,26.67,4Z" transform="translate(0 0)"/><rect id="_Transparent_Rectangle_" data-name="&lt;Transparent Rectangle&gt;" class="cls-1" width="32" height="32"/></svg>

After

Width:  |  Height:  |  Size: 571 B

View File

@@ -0,0 +1 @@
<svg id="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><defs><style>.cls-1{fill:none;}</style></defs><title>logo--twitter</title><path d="M11.92,24.94A12.76,12.76,0,0,0,24.76,12.1c0-.2,0-.39,0-.59A9.4,9.4,0,0,0,27,9.18a9.31,9.31,0,0,1-2.59.71,4.56,4.56,0,0,0,2-2.5,8.89,8.89,0,0,1-2.86,1.1,4.52,4.52,0,0,0-7.7,4.11,12.79,12.79,0,0,1-9.3-4.71,4.51,4.51,0,0,0,1.4,6,4.47,4.47,0,0,1-2-.56v.05A4.53,4.53,0,0,0,9.5,17.83a4.53,4.53,0,0,1-2,.08A4.51,4.51,0,0,0,11.68,21,9.05,9.05,0,0,1,6.07,23,9.77,9.77,0,0,1,5,22.91a12.77,12.77,0,0,0,6.92,2" transform="translate(0)"/><rect id="_Transparent_Rectangle_" data-name="&lt;Transparent Rectangle&gt;" class="cls-1" width="32" height="32"/></svg>

After

Width:  |  Height:  |  Size: 699 B

18
static/icons/logo--x.svg Normal file
View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 27.5.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="svg5" xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1668.56 1221.19"
style="enable-background:new 0 0 1668.56 1221.19;" xml:space="preserve">
<style type="text/css">
.st0{stroke:#FFFFFF;stroke-miterlimit:10;}
.st1{fill:#FFFFFF;}
</style>
<g>
<circle class="st0" cx="834.28" cy="610.6" r="481.33"/>
<g id="layer1" transform="translate(52.390088,-25.058597)">
<path id="path1009" class="st1" d="M485.39,356.79l230.07,307.62L483.94,914.52h52.11l202.7-218.98l163.77,218.98h177.32
L836.82,589.6l215.5-232.81h-52.11L813.54,558.46L662.71,356.79H485.39z M562.02,395.17h81.46l359.72,480.97h-81.46L562.02,395.17
z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 916 B

BIN
static/images/aris.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
static/images/cjvt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/images/clarin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

BIN
static/images/ul.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

23
static/js/generic.js Normal file
View File

@@ -0,0 +1,23 @@
$(document).ready(function(){
$("#facebook_link").click(function(){
window.open("https://www.facebook.com/", "_blank");
});
$("#twitter_x_link").click(function(){
window.open("https://twitter.com/", "_blank");
});
$("#ul_link").click(function(){
window.open("https://www.uni-lj.si/", "_blank");
});
$("#aris_link").click(function(){
window.open("https://www.arrs.si/", "_blank");
});
$("#cjvt_link").click(function(){
window.open("https://www.cjvt.si/", "_blank");
});
$("#clarin_link").click(function(){
window.open("https://www.clarin.si/", "_blank");
});
$("#apache_link").click(function(){
window.open("https://www.apache.org/licenses/LICENSE-2.0", "_blank");
});
});

View File

@@ -128,6 +128,21 @@ document.addEventListener("DOMContentLoaded", function(event) {
$('#advanced-tree-expand i').text('add');
}
});
$('#compare-settings').hide();
var compareExpanded = false;
$('#compare-expand').bind('click', function(e) {
if (!compareExpanded){
compareExpanded = true;
$('#compare-settings').show('fast');
$('#compare-expand i').text('remove');
} else {
compareExpanded = false;
$('#compare-settings').hide('fast');
$('#compare-expand i').text('add');
}
});
});
$("#submit-form").submit( function(eventObj) {