v1.5.9 Added some css to modal
This commit is contained in:
parent
68d2b65814
commit
b024d6e821
|
@ -6914,8 +6914,6 @@ nav > .pagination {
|
||||||
/* Stay in place */
|
/* Stay in place */
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
/* Sit on top */
|
/* Sit on top */
|
||||||
padding-top: 100px;
|
|
||||||
/* Location of the box */
|
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -6942,9 +6940,25 @@ nav > .pagination {
|
||||||
border: 2px solid #888;
|
border: 2px solid #888;
|
||||||
width: 700px;
|
width: 700px;
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
|
top: -50px;
|
||||||
|
height: 80%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding-bottom: 120px;
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content::-webkit-scrollbar-track {
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The Close Button */
|
/* The Close Button */
|
||||||
|
@ -6963,6 +6977,10 @@ nav > .pagination {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-content > center > img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.tbl {
|
.tbl {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
display: none; /* Hidden by default */
|
display: none; /* Hidden by default */
|
||||||
position: fixed; /* Stay in place */
|
position: fixed; /* Stay in place */
|
||||||
z-index: 1; /* Sit on top */
|
z-index: 1; /* Sit on top */
|
||||||
padding-top: 100px; /* Location of the box */
|
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%; /* Full width */
|
width: 100%; /* Full width */
|
||||||
|
@ -23,9 +22,24 @@
|
||||||
border: 2px solid #888;
|
border: 2px solid #888;
|
||||||
width: 700px;
|
width: 700px;
|
||||||
min-width: 400px;
|
min-width: 400px;
|
||||||
|
top: -50px;
|
||||||
|
height: 80%;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding-bottom: 120px;
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
}
|
||||||
|
.modal-content::-webkit-scrollbar-track {
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-content::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The Close Button */
|
/* The Close Button */
|
||||||
|
@ -41,3 +55,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-content > center > img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
url: '{{route('events.preview')}}',
|
url: '{{route('events.preview')}}',
|
||||||
data: {'preview':id},
|
data: {'preview':id},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
modalNews.style.display = "block";
|
modalNews.style.display = "flex";
|
||||||
var l = JSON.parse(data);
|
var l = JSON.parse(data);
|
||||||
console.log(l);
|
console.log(l);
|
||||||
$("#name").html(l.name);
|
$("#name").html(l.name);
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
url: '{{route('guides.preview')}}',
|
url: '{{route('guides.preview')}}',
|
||||||
data: {'preview':id},
|
data: {'preview':id},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
modalNews.style.display = "block";
|
modalNews.style.display = "flex";
|
||||||
var l = JSON.parse(data);
|
var l = JSON.parse(data);
|
||||||
console.log(l);
|
console.log(l);
|
||||||
$("#name").html(l.name);
|
$("#name").html(l.name);
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
url: '{{route('menuplans.preview')}}',
|
url: '{{route('menuplans.preview')}}',
|
||||||
data: {'preview':id},
|
data: {'preview':id},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
modalNews.style.display = "block";
|
modalNews.style.display = "flex";
|
||||||
var l = JSON.parse(data);
|
var l = JSON.parse(data);
|
||||||
$("#week").html("Menuplan for uge " + l.week);
|
$("#week").html("Menuplan for uge " + l.week);
|
||||||
$("#monday").html(l.monday);
|
$("#monday").html(l.monday);
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
url: '{{route('news.preview')}}',
|
url: '{{route('news.preview')}}',
|
||||||
data: {'preview':id},
|
data: {'preview':id},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
modalNews.style.display = "block";
|
modalNews.style.display = "flex";
|
||||||
var l = JSON.parse(data);
|
var l = JSON.parse(data);
|
||||||
$("#titleEvent").html(l.subname);
|
$("#titleEvent").html(l.subname);
|
||||||
$("#dateEvent").html(l.news_expiration_date);
|
$("#dateEvent").html(l.news_expiration_date);
|
||||||
|
|
Loading…
Reference in New Issue