Fix horizontal scrollbar in edge

This commit is contained in:
yflory 2017-02-28 18:02:12 +01:00
parent 345d2faab2
commit f130fd0598
14 changed files with 64 additions and 82 deletions

View File

@ -50,10 +50,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -61,10 +61,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -50,10 +50,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -61,10 +61,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -50,10 +50,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -61,10 +61,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -714,7 +714,7 @@ html.cp,
background-color: #000;
opacity: 0.35;
}
.cp #noscriptContainer {
.cp noscript #noscriptContainer {
color: black;
position: absolute;
top: 50px;
@ -723,7 +723,7 @@ html.cp,
right: 0;
z-index: 2;
}
.cp #noscriptContainer #noscript {
.cp noscript #noscriptContainer #noscript {
width: 1000px;
display: flex;
align-items: center;
@ -732,8 +732,6 @@ html.cp,
margin-left: auto;
margin-right: auto;
position: relative;
}
.cp #noscriptContainer #noscript noscript {
font-size: 25px;
text-align: center;
color: #fff;

View File

@ -15,8 +15,6 @@ define([
$(function () {
var $main = $('#mainBlock');
$('#noscriptContainer').remove();
// Language selector
var $sel = $('#language-selector');
Cryptpad.createLanguageSelector(undefined, $sel);

View File

@ -50,10 +50,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -61,10 +61,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">
@ -92,7 +91,6 @@
<h2 data-localization="policy_choices"></h2>
<p data-localization="policy_choices_open"></p>
<p data-localization="policy_choices_vpn"></p>
<p data-localization="policy_choices_ads"></p>
<br />
</div>

View File

@ -1,7 +1,7 @@
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -9,7 +9,6 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>

View File

@ -253,24 +253,24 @@ body.html {
opacity: 0.35;
}
}
#noscriptContainer {
color: black;
position: absolute;
top: @topbar-height;
left: 0;
bottom: 0;
right: 0;
z-index: 2;
#noscript {
width: 1000px;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
margin-left: auto;
margin-right: auto;
position: relative;
noscript {
noscript {
#noscriptContainer {
color: black;
position: absolute;
top: @topbar-height;
left: 0;
bottom: 0;
right: 0;
z-index: 2;
#noscript {
width: 1000px;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
margin-left: auto;
margin-right: auto;
position: relative;
font-size: 25px;
text-align: center;
color: @main-color;

View File

@ -50,10 +50,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -61,10 +61,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -40,21 +40,20 @@
<a href="/contact.html" data-localization="contact">Contact</a>
</span>
</div>
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
<hr>
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
<div class="mainOverlay"></div>
<div id="noscript">
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
<hr>
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</div>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -13,8 +13,6 @@ define([
var $main = $('#mainBlock');
var Messages = Cryptpad.Messages;
$('#noscriptContainer').remove();
// Language selector
var $sel = $('#language-selector');
Cryptpad.createLanguageSelector(undefined, $sel);

View File

@ -37,21 +37,20 @@
<a href="/contact.html" data-localization="contact">Contact</a>
</span>
</div>
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
<hr>
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
<div class="mainOverlay"></div>
<div id="noscript">
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
<hr>
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</div>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">

View File

@ -16,8 +16,6 @@ define([
$(function () {
var $main = $('#mainBlock');
$('#noscriptContainer').remove();
// Language selector
var $sel = $('#language-selector');
Cryptpad.createLanguageSelector(undefined, $sel);

View File

@ -51,10 +51,10 @@
</div>
<div id="noscriptContainer">
<noscript>
<div id="noscriptContainer">
<div class="mainOverlay"></div>
<div id="noscript">
<noscript>
<p>
<strong>OOPS</strong> In order to do encryption in your browser, Javascript is really <strong>really</strong> required.
</p>
@ -62,10 +62,9 @@
<p>
<strong>OUPS</strong> Afin de pouvoir réaliser le chiffrement dans votre navigateur, Javascript est <strong>vraiment</strong> nécessaire.
</p>
</noscript>
</div>
</div>
</noscript>
<div id="mainBlock" class="hidden">