Merge branch 'staging' into workgroups

This commit is contained in:
yflory
2017-01-06 11:17:17 +01:00
10 changed files with 41 additions and 18 deletions

View File

@@ -337,6 +337,12 @@ html.cp,
font-family: Georgia,Cambria,serif;
height: 100;
}
.cp:not(.poll) #language-selector {
position: absolute;
top: 0px;
right: 0px;
display: inline-block;
}
.cp {
/* buttons */
/* Tables
@@ -348,11 +354,6 @@ html.cp,
font-weight: 400;
line-height: 2rem;
}
.cp #language-selector {
position: absolute;
top: 0px;
right: 0px;
}
.cp a.github-corner > svg {
fill: #00ADEE;
color: #302B28;
@@ -652,7 +653,7 @@ html.cp,
}
.cp form.realtime table input[type="text"],
.cp div.realtime table input[type="text"] {
height: 100%;
height: auto;
border: 1px solid #302B28;
width: 80%;
}
@@ -902,3 +903,6 @@ html.cp,
.cp div#modal #addtime {
border-bottom-left-radius: 5px;
}
#cors-store {
display: none;
}

View File

@@ -18,12 +18,13 @@
onload('[timeoutError] could not load iframe at ' + src);
}, timeout);
iframe.setAttribute('id', 'cors-store');
iframe.onload = function (e) {
onload(void 0, iframe, e);
window.clearTimeout(to);
};
iframe.setAttribute('src', src);
iframe.style.display = 'none';
parent.appendChild(iframe);
};

View File

@@ -14,6 +14,15 @@ html.cp, .cp body {
height: 100;
}
.cp:not(.poll) {
#language-selector {
position: absolute;
top: 0px;
right: 0px;
display: inline-block;
}
}
.cp {
body {
@@ -22,12 +31,6 @@ body {
line-height: 2rem;
}
#language-selector {
position: absolute;
top: 0px;
right: 0px;
}
a.github-corner > svg {
fill: @cp-blue;
color: @base;
@@ -359,7 +362,7 @@ form.realtime, div.realtime {
input {
&[type="text"] {
height: 100%;
height: auto;
border: 1px solid @base;
width: 80%;
}
@@ -625,3 +628,7 @@ div.modal, div#modal {
}
}
// hack for our cross-origin iframe
#cors-store {
display: none;
}

View File

@@ -242,6 +242,7 @@
right: 0;
span:not(.cryptpad-lag) {
vertical-align: top;
display: inline-block;
}
@media screen and (max-width: @media-narrow-screen) {
top: 3em;

View File

@@ -247,6 +247,7 @@
}
.cryptpad-toolbar-top .cryptpad-user span:not(.cryptpad-lag) {
vertical-align: top;
display: inline-block;
}
@media screen and (max-width: 400px) {
.cryptpad-toolbar-top .cryptpad-user {