summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-04-02 16:45:07 +0200
committerGitHub <noreply@github.com>2017-04-02 16:45:07 +0200
commitf31dafe4a8656ddaf5d28d741cc2c62a1c6d5153 (patch)
treedbe7745df2715d588814a79e1cd4ec7297125192 /core
parent00562116722d3bffc9619bee5b61125cd9671271 (diff)
parent7788afaccf24954153383291a0dc6ba65f827a50 (diff)
downloadnextcloud-server-f31dafe4a8656ddaf5d28d741cc2c62a1c6d5153.tar.gz
nextcloud-server-f31dafe4a8656ddaf5d28d741cc2c62a1c6d5153.zip
Merge pull request #4183 from nextcloud/css-shortcuts-view
Add CSS for styling of keyboard shortcuts view
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss31
1 files changed, 30 insertions, 1 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 898a18ae9c9..0c31e5bae44 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -16,7 +16,7 @@
*
*/
-/* HEADING STYLING ---------------------------------------------------------- */
+/* BASE STYLING ---------------------------------------------------------- */
h2 {
font-size: 20px;
@@ -24,11 +24,13 @@ h2 {
margin-bottom: 12px;
line-height: 140%;
}
+
h3 {
font-size: 15px;
font-weight: 300;
margin: 12px 0;
}
+
/* do not use italic typeface style, instead lighter color */
em {
font-style: normal;
@@ -36,6 +38,33 @@ em {
opacity: .5;
}
+dl {
+ padding: 12px 0;
+}
+
+dt,
+dd {
+ display: inline-block;
+ padding: 12px;
+ padding-left: 0;
+}
+
+dt {
+ width: 130px;
+ white-space: nowrap;
+ text-align: right;
+}
+
+kbd {
+ padding: 4px 10px;
+ border: 1px solid #ccc;
+ box-shadow: 0 1px 0 rgba(0, 0, 0, .2);
+ border-radius: 3px;
+ display: inline-block;
+ white-space: nowrap;
+}
+
+
/* APP STYLING -------------------------------------------------------------- */
#app {