summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/assets/javascripts/ui/site/LayoutsModal.js2
-rwxr-xr-xpublic/assets/stylesheets/app.css15
2 files changed, 8 insertions, 9 deletions
diff --git a/public/assets/javascripts/ui/site/LayoutsModal.js b/public/assets/javascripts/ui/site/LayoutsModal.js
index 8eaf081..ef6a36c 100644
--- a/public/assets/javascripts/ui/site/LayoutsModal.js
+++ b/public/assets/javascripts/ui/site/LayoutsModal.js
@@ -19,7 +19,7 @@ var LayoutsIndex = View.extend({
this.$form.hide()
this.$noTemplates.show()
}
- this.$templates.empty()
+ this.$templates.children("span").remove()
data.forEach(function(room){
var $span = $("<span>")
$span.data("slug", room.slug)
diff --git a/public/assets/stylesheets/app.css b/public/assets/stylesheets/app.css
index 901932a..b8702f6 100755
--- a/public/assets/stylesheets/app.css
+++ b/public/assets/stylesheets/app.css
@@ -356,29 +356,28 @@ iframe.embed {
text-align: center;
overflow: hidden;
background-size: cover;
- background-repeat: no-repeat;
}
.room .images {
position: absolute;
top: 0; left: 0;
- z-index: -1;
+ z-index: 2;
width: 100%;
height: 100%;
text-align: center;
overflow: hidden;
}
.room .images img {
- width: 50%;
+ width: 30%;
position: absolute;
}
.room .images[data-mediacount='1'] img:nth-child(1) { left: 20%; top: 20%; }
-.room .images[data-mediacount='2'] img:nth-child(1) { left: 51%; bottom: 0%; width: auto; height: 100%; }
-.room .images[data-mediacount='2'] img:nth-child(2) { right: 51%; bottom: 0%; width: auto; height: 100%; }
+.room .images[data-mediacount='2'] img:nth-child(1) { left: 51%; bottom: 0%; width: auto; height: 30%; }
+.room .images[data-mediacount='2'] img:nth-child(2) { right: 51%; bottom: 0%; width: auto; height: 30%; }
.room .images[data-mediacount='3'] img:nth-child(1) { right: 51%; bottom: 41%; }
-.room .images[data-mediacount='3'] img:nth-child(2) { left: 51%; bottom: 0%; width:auto; height:100%;}
+.room .images[data-mediacount='3'] img:nth-child(2) { left: 51%; bottom: 0%; width:auto; height:30%;}
.room .images[data-mediacount='3'] img:nth-child(3) { right: 51%; top: 61%; }
.room .images[data-mediacount='4'] img:nth-child(1) { right: 51%; bottom: 41%; }
@@ -696,8 +695,7 @@ border-left: 1px solid black;
}
.templates span .image {
background-position: center;
- background-size: contain;
- background-repeat: no-repeat;
+ background-size: cover;
background-color: #fff;
width: 20vw;
height: 15vw;
@@ -1654,6 +1652,7 @@ input[type="range"]::-webkit-slider-thumb {
.settings.info {
right: auto;
left: 10px;
+ width: 230px;
}
.vvbox h4 {