summaryrefslogtreecommitdiffstats
path: root/core/css/guest.css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-19 16:19:37 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-23 15:18:37 +0200
commitb04ebd85537bb718acd7bfbea9a994b7acf51177 (patch)
treea06666f5b435ce33eb2d333ecbdc7d3c51cb24cb /core/css/guest.css
parent171fe69db7cbb674ff80ea4ed6d3506d5c409a05 (diff)
downloadnextcloud-server-b04ebd85537bb718acd7bfbea9a994b7acf51177.tar.gz
nextcloud-server-b04ebd85537bb718acd7bfbea9a994b7acf51177.zip
Round off buttons 'pill style' like on the website
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/guest.css')
-rw-r--r--core/css/guest.css19
1 files changed, 13 insertions, 6 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index 70fd8706f3b..ac12f171627 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -184,7 +184,7 @@ a.button {
margin: 5px;
padding: 11px 10px 9px;
outline: none;
- border-radius: 3px;
+ border-radius: 3px; /* --border-radius */
-webkit-appearance: none;
}
input[type='submit'],
@@ -201,6 +201,7 @@ select {
font-weight: bold;
color: #555;
border: none;
+ border-radius: 100px; /* --border-radius-pill */
cursor: pointer;
}
input[type='text'],
@@ -233,13 +234,19 @@ input.update-continue {
padding: 10px 20px;
color: #666 !important;
display: inline-block;
- border-radius: 3px;
+ border-radius: 100px; /* --border-radius-pill */
margin: 15px 5px;
}
.updateAnyways a.updateAnywaysButton:hover {
color: #222 !important;
}
+/* Get rid of the inside dotted line in Firefox */
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+}
+
input.primary,
button.primary,
a.primary {
@@ -397,7 +404,7 @@ form .warning input[type='checkbox']+label {
.two-factor-provider {
display: flex;
- border-radius: 3px;
+ border-radius: 3px; /* --border-radius */
margin: 12px 0;
border: 1px solid transparent;
text-align: left;
@@ -432,7 +439,7 @@ form .warning input[type='checkbox']+label {
width: 100%;
padding: 10px;
margin: 0 0 5px 0;
- border-radius: 3px;
+ border-radius: 100px; /* --border-radius-pill */
font-size: 20px;
}
.two-factor-primary {
@@ -489,7 +496,7 @@ form .warning input[type='checkbox']+label {
box-sizing: border-box;
background-color: #0082c9;
color: white;
- border-radius: 3px;
+ border-radius: 100px; /* --border-radius-pill */
}
/* fixes for update page TODO should be fixed some time in a proper way */
@@ -575,7 +582,7 @@ form #selectDbType label.ui-state-active {
color: #fff;
text-align: left;
word-wrap: break-word;
- border-radius: 10px;
+ border-radius: 10px; /* --border-radius-large */
cursor: default;
-moz-user-select: text;
-webkit-user-select: text;