diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-07-29 16:31:45 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-07-29 16:31:45 +0200 |
commit | 033eacefd1e5e77d071f89f6cbd8c346fae0c696 (patch) | |
tree | 6d76c344512f85ac80f3127b339ddc455fb54aea | |
parent | 332492548fbbff1d1d06286a5d5880cf4beee507 (diff) | |
download | nextcloud-server-033eacefd1e5e77d071f89f6cbd8c346fae0c696.tar.gz nextcloud-server-033eacefd1e5e77d071f89f6cbd8c346fae0c696.zip |
use inline confirm button style for password-protected links, ref #15176
-rw-r--r-- | apps/files_sharing/css/authenticate.css | 1 | ||||
-rw-r--r-- | apps/files_sharing/templates/authenticate.php | 3 | ||||
-rw-r--r-- | core/css/styles.css | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/apps/files_sharing/css/authenticate.css b/apps/files_sharing/css/authenticate.css index 15e3e7a2fc5..ac76d4c6870 100644 --- a/apps/files_sharing/css/authenticate.css +++ b/apps/files_sharing/css/authenticate.css @@ -1,5 +1,4 @@ #password { - width: 190px !important; padding: 10px; margin: 6px; } diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php index e3aa62b9ece..769b7929144 100644 --- a/apps/files_sharing/templates/authenticate.php +++ b/apps/files_sharing/templates/authenticate.php @@ -19,7 +19,8 @@ autocomplete="off" autocapitalize="off" autocorrect="off" autofocus /> <img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/> - <input type="submit" value="" class="svg icon-confirm" /> + <input type="submit" value="" + class="svg icon-confirm input-button-inline" /> </p> </fieldset> </form> diff --git a/core/css/styles.css b/core/css/styles.css index e019b874f61..db81f850303 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -278,6 +278,14 @@ input[type="submit"].enabled { border: 1px solid #5e5; } +.input-button-inline { + position: absolute !important; + right: 0; + background-color: transparent !important; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; + opacity: .3; +} + /* CONTENT ------------------------------------------------------------------ */ |