summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-09-20 11:30:31 +0200
committerGitHub <noreply@github.com>2017-09-20 11:30:31 +0200
commite43400eddbfdac765c8dcc5d90b4398e304dbaaf (patch)
tree209a75679806d30902ec20d402731a68d84207a9 /apps/files_sharing
parentf900ba8183c64f03079a594bd9f6c153e3bba9f4 (diff)
parent4faa5624030e7b8b74aae74534f4cd818da4fa0b (diff)
downloadnextcloud-server-e43400eddbfdac765c8dcc5d90b4398e304dbaaf.tar.gz
nextcloud-server-e43400eddbfdac765c8dcc5d90b4398e304dbaaf.zip
Merge pull request #5562 from nextcloud/link-password-style
Fix style of link share password input view
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/css/authenticate.css22
-rw-r--r--apps/files_sharing/templates/authenticate.php2
2 files changed, 17 insertions, 7 deletions
diff --git a/apps/files_sharing/css/authenticate.css b/apps/files_sharing/css/authenticate.css
index 16687916ac4..9b2d6769289 100644
--- a/apps/files_sharing/css/authenticate.css
+++ b/apps/files_sharing/css/authenticate.css
@@ -1,16 +1,26 @@
+form fieldset {
+ display: flex !important;
+ flex-direction: column;
+}
+
#password {
- padding: 10px;
- margin: 6px;
+ margin-right: 0 !important;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ height: 45px;
+ flex: 1 1 auto;
+ width: 100% !important;
+ min-width: 0; /* FF hack for to override default value */
}
input[type='submit'] {
width: 45px;
height: 45px;
- margin: 6px;
+ margin-left: 0 !important;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
}
fieldset > p {
- position: relative;
- display: flex;
- align-items: center;
+ display: inline-flex;
}
diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php
index fbc1d72a333..d9f19bbb579 100644
--- a/apps/files_sharing/templates/authenticate.php
+++ b/apps/files_sharing/templates/authenticate.php
@@ -5,7 +5,7 @@
script('files_sharing', 'authenticate');
?>
<form method="post">
- <fieldset>
+ <fieldset class="warning">
<?php if (!isset($_['wrongpw'])): ?>
<div class="warning-info"><?php p($l->t('This share is password-protected')); ?></div>
<?php endif; ?>