cleanup #1

Merged
bence merged 5 commits from cleanup into master 2023-04-08 02:00:56 +02:00
13 changed files with 0 additions and 129 deletions

View File

@ -385,13 +385,6 @@ main {
padding: 6px 12px;
}
main.full {
position: relative;
width: 100%;
height: calc(100% - 40px);
padding: 0;
}
footer {
background-color: #869ab9;
padding: 3px 6px;
@ -411,20 +404,6 @@ div.buttonContainer>button {
margin: 0 auto;
}
#cookiesNotice {
position: fixed;
left: 0;
bottom: 0;
right: 0;
margin: 20px;
background-color: #eeeeee;
border: solid #888888 1px;
border-radius: 3px;
padding: 10px;
text-align: center;
z-index: 10;
}
#loading {
position: fixed;
width: 64px;
@ -446,45 +425,6 @@ div.box {
box-sizing: border-box;
}
.circleControl {
position: absolute;
width: 60px;
bottom: 20px;
right: 10px;
}
.circleControl .controlItem {
position: relative;
height: 60px;
margin-top: 10px;
opacity: 70%;
cursor: pointer;
}
.circleControl .controlItem:hover {
opacity: 100%;
}
.circleControl .controlItem div {
position: absolute;
width: 100%;
height: 100%;
}
.circleControl .controlBackground {
width: 100%;
height: 100%;
opacity: 50%;
}
.circleControl .controlIcon {
width: 75%;
height: 75%;
margin: auto;
margin-top: 50%;
transform: translateY(-50%);
}
@media screen and (max-width: 599px) {
header h1 span {
display: none;
@ -511,12 +451,6 @@ div.box {
div.box {
width: initial;
}
.circleControl {
width: 45px;
}
.circleControl .controlItem {
height: 45px;
}
}
@media screen and (min-width: 600px) {
@ -546,12 +480,6 @@ div.box {
padding-top: 10px;
padding-bottom: 10px;
}
.circleControl {
width: 45px;
}
.circleControl .controlItem {
height: 45px;
}
}
@media screen and (min-height: 400px) and (max-height: 499px) {

View File

@ -1,6 +1,5 @@
var RVR = {
isSecure: window.location.protocol === 'https:',
cookiesAgreed: false,
sessionAvailableHooks: {},
initGoogleAnalitics: function () {

View File

@ -9,9 +9,6 @@ if [ -f ${ROOT_DIR}/installed ]; then
exit 1
fi
echo "Installing NPM packages..."
(cd ${ROOT_DIR}/multi && npm install)
echo "Installing Yarn packages..."
(cd ${ROOT_DIR}/public/static && yarn install)

View File

@ -11,9 +11,6 @@ else
(cd ${ROOT_DIR} && composer install --dev)
fi
echo "Installing NPM packages..."
(cd ${ROOT_DIR}/multi && npm install)
echo "Installing Yarn packages..."
(cd ${ROOT_DIR}/public/static && yarn install)

0
tests/.gitkeep Normal file
View File

View File

@ -1,22 +0,0 @@
@css(test1.css)
@js(test1.js)
@js(test2_<?= $some['expression'] ?>)
@extra
<?php phpinfo() ?>
@endextra
@extends(parent)
@section(section1)
<div>Test HTML with @extends - section 1</div>
@endsection
@section(section2)
<div>Test HTML with @extends - section 2</div>
@endsection
@extra
<?php $a = 'test_string' ?>
EXTRA
@endextra

View File

@ -1,5 +0,0 @@
@extends(parent1)
@extends(parent2)
<div>Test HTML with multiple @extends</div>

View File

@ -1,6 +0,0 @@
@extends(parent)
@section(section1)
@section(section2)
<div>Test HTML with opening @section before previous closed</div>

View File

@ -1,4 +0,0 @@
@extends(parent)
<div>Test HTML with @endsection when no section is open</div>
@endsection

View File

@ -1,3 +0,0 @@
@section(section1)
<div>Test HTML with @section but without @extends</div>

View File

@ -1,4 +0,0 @@
@css(test.css)
@js(test.js)
@js(test_<?= $some['expression'] ?>)
<div>Test HTML with @css and @js</div>

View File

@ -1,5 +0,0 @@
@extends(parent)
@section(section1)
<div>Test HTML with @extends</div>
@endsection

View File

@ -1 +0,0 @@
<div>Test HTML without @extends</div>