Ability to open files in readonly mode

Fix CSS issues
This commit is contained in:
yflory
2017-01-10 15:04:02 +01:00
parent f74d0a46a4
commit 2be5db9540
8 changed files with 128 additions and 53 deletions

View File

@@ -91,8 +91,7 @@
}
.cryptpad-state {
line-height: 30px; /* equivalent to 26px + 2*2px margin used for buttons */
float: left;
line-height: 32px; /* equivalent to 26px + 2*2px margin used for buttons */
}
.rightside-button {
@@ -324,6 +323,10 @@
text-transform: uppercase;
}
.cryptpad-toolbar-username {
line-height: 32px;
button {
line-height: initial;
}
}
.lag {
height: 15px !important;

View File

@@ -96,9 +96,8 @@
}
}
.cryptpad-toolbar .cryptpad-state {
line-height: 30px;
line-height: 32px;
/* equivalent to 26px + 2*2px margin used for buttons */
float: left;
}
.cryptpad-toolbar .rightside-button {
float: right;
@@ -332,6 +331,12 @@
font-weight: bold;
text-transform: uppercase;
}
.cryptpad-toolbar-username {
line-height: 32px;
}
.cryptpad-toolbar-username button {
line-height: initial;
}
.lag {
height: 15px !important;
width: 15px !important;

View File

@@ -210,6 +210,7 @@ define(function () {
out.fc_newfolder = "Nouveau dossier";
out.fc_rename = "Renommer";
out.fc_open = "Ouvrir";
out.fc_open_ro = "Ouvrir (lecture seule)";
out.fc_delete = "Supprimer";
out.fc_restore = "Restaurer";
out.fc_remove = "Supprimer définitivement";

View File

@@ -212,6 +212,7 @@ define(function () {
out.fc_newfolder = "New folder";
out.fc_rename = "Rename";
out.fc_open = "Open";
out.fc_open_ro = "Open (read-only)";
out.fc_delete = "Delete";
out.fc_restore = "Restore";
out.fc_remove = "Delete permanently";