local bootstrap
This commit is contained in:
parent
ea6b9b7039
commit
bc8253b5ac
7
src/bootstrap.min.css
vendored
Normal file
7
src/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -28,10 +28,8 @@ $purifier = new HTMLPurifier($purifier_config);
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css"
|
|
||||||
integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi"
|
|
||||||
crossorigin="anonymous">
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<link rel="stylesheet" href="bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<link rel="stylesheet" href="spinner.css">
|
<link rel="stylesheet" href="spinner.css">
|
||||||
<script src="turbolinks.js"></script>
|
<script src="turbolinks.js"></script>
|
||||||
|
@ -49,20 +47,18 @@ $purifier = new HTMLPurifier($purifier_config);
|
||||||
document.addEventListener('turbolinks:before-render', function () {
|
document.addEventListener('turbolinks:before-render', function () {
|
||||||
scrollPosition = [window.scrollX, window.scrollY];
|
scrollPosition = [window.scrollX, window.scrollY];
|
||||||
});
|
});
|
||||||
|
|
||||||
document.addEventListener('turbolinks:load', function () {
|
document.addEventListener('turbolinks:load', function () {
|
||||||
if (scrollPosition) {
|
if (scrollPosition) {
|
||||||
window.scrollTo.apply(window, scrollPosition);
|
window.scrollTo.apply(window, scrollPosition);
|
||||||
scrollPosition = null
|
scrollPosition = null
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return reload;
|
return reload;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
||||||
setInterval(function () {
|
setInterval(function () {
|
||||||
reloadWithTurbolinks();
|
// reloadWithTurbolinks();
|
||||||
}, 15000);
|
}, 15000);
|
||||||
|
|
||||||
|
|
||||||
|
@ -163,7 +159,7 @@ $purifier = new HTMLPurifier($purifier_config);
|
||||||
<div class="email-table">
|
<div class="email-table">
|
||||||
|
|
||||||
<div class="card email">
|
<div class="card email">
|
||||||
<div class="card-block header-shadow sticky-header">
|
<div class="card-block header-shadow">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<h3 class="card-title">
|
<h3 class="card-title">
|
||||||
|
@ -171,7 +167,7 @@ $purifier = new HTMLPurifier($purifier_config);
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 text-right">
|
<div class="col-sm-4 text-right">
|
||||||
<form class="form-inline float-xs-right">
|
<form>
|
||||||
|
|
||||||
<button type="button" class="btn btn-outline-info btn-sm"
|
<button type="button" class="btn btn-outline-info btn-sm"
|
||||||
style="display: inline-block"
|
style="display: inline-block"
|
||||||
|
|
|
@ -9,6 +9,10 @@ footer p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-block {
|
||||||
|
padding: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.email-table {
|
.email-table {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
@ -37,21 +41,11 @@ header {
|
||||||
box-shadow: 0 2px 2px rgba(182, 182, 182, 0.75);
|
box-shadow: 0 2px 2px rgba(182, 182, 182, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sticky-header {
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
background-color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.waiting-screen {
|
.waiting-screen {
|
||||||
padding: 40px 15px;
|
padding: 40px 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.min-height {
|
|
||||||
min-height: 400px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.random-column {
|
.random-column {
|
||||||
border-left: 1px dashed #333;
|
border-left: 1px dashed #333;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user