From 5829fcd68534885ffee8762d54b203b53d771621 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 1 Oct 2018 23:37:29 +0200 Subject: [PATCH 1/4] Change heading weights from Light to Semibold for better information architecture Signed-off-by: Jan-Christoph Borchardt --- apps/files_sharing/css/public.scss | 1 - core/css/apps.scss | 10 +++++++--- core/css/guest.css | 8 ++++++-- core/css/header.scss | 6 +++--- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/apps/files_sharing/css/public.scss b/apps/files_sharing/css/public.scss index 50dfa3e9c5..c524283317 100644 --- a/apps/files_sharing/css/public.scss +++ b/apps/files_sharing/css/public.scss @@ -164,7 +164,6 @@ thead { position: relative; font-weight: 300; font-size: 11px; - opacity: .57; overflow: hidden; text-overflow: ellipsis; } diff --git a/core/css/apps.scss b/core/css/apps.scss index f294f8aa51..a9e5a41910 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -18,16 +18,20 @@ /* BASE STYLING ------------------------------------------------------------ */ +h2, +h3, +h4 { + font-weight: 600; +} + h2 { font-size: 20px; - font-weight: 300; margin-bottom: 12px; line-height: 140%; } h3 { font-size: 15px; - font-weight: 300; margin: 12px 0; } @@ -842,7 +846,7 @@ $popovericon-size: 16px; // Required right-distance is half menu icon size + right padding // = 16px/2 + 14px = 22px // popover right margin is 5px, arrow width is 9px to center and border is 1px - // 22px - 9px - 5px - 1px = 7px + // 22px - 9px - 5px - 1px = 7px right: 7px; /* change this to adjust the arrow position */ border: solid transparent; diff --git a/core/css/guest.css b/core/css/guest.css index fc926688c4..1d5b266eda 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -48,15 +48,19 @@ em { } /* heading styles */ +h2, +h3, +h4 { + font-weight: 600; +} + h2 { font-size: 20px; - font-weight: 300; margin-bottom: 12px; line-height: 140%; } h3 { font-size: 15px; - font-weight: 300; margin: 12px 0; } diff --git a/core/css/header.scss b/core/css/header.scss index 4c0f05f9cc..1356ef4266 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -213,7 +213,7 @@ .header-appname { color: var(--color-primary-text); font-size: 16px; - font-weight: 300; + font-weight: 600; margin: 0; padding: 0; padding-right: 5px; @@ -357,12 +357,12 @@ nav[role='navigation'] { &:active { color: var(--color-primary-text); - #expandDisplayName, + #expandDisplayName, .avatardiv{ border-radius: 50%; border: 2px solid var(--color-primary-text); margin: -2px; - } + } .avatardiv{ background-color: var(--color-primary-text); } From b93ee7f515d4bb4eedb7c3657549e5fde2ea67aa Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 2 Oct 2018 12:02:09 +0200 Subject: [PATCH 2/4] Change h2 to h3 on personal settings page Signed-off-by: Jan-Christoph Borchardt --- settings/css/settings.scss | 4 +- .../settings/personal/personal.info.php | 38 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 22e999061f..fb7f5a22a8 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -213,7 +213,7 @@ select { clear: both; } > div { - h2 { + h3 { position: relative; display: inline-flex; flex-wrap: nowrap; @@ -1569,4 +1569,4 @@ doesnotexist:-o-prefocus, .strengthify-wrapper { user-select: none; } } -} \ No newline at end of file +} diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php index a0d766f88f..9919df521f 100644 --- a/settings/templates/settings/personal/personal.info.php +++ b/settings/templates/settings/personal/personal.info.php @@ -40,14 +40,14 @@ vendor_style('jcrop/css/jquery.Jcrop');
-

+

-

+
@@ -75,7 +75,7 @@ vendor_style('jcrop/css/jquery.Jcrop');
-

t('Details')); ?>

+

t('Details')); ?>

t('You are a member of the following groups:')); ?>

@@ -102,14 +102,14 @@ vendor_style('jcrop/css/jquery.Jcrop');

-

+

-

+ value="" @@ -126,14 +126,14 @@ vendor_style('jcrop/css/jquery.Jcrop');
-

+

-

+
-

+

-

+ value="" placeholder="t('Your phone number')); ?>" @@ -191,14 +191,14 @@ vendor_style('jcrop/css/jquery.Jcrop');
-

+

-

+ placeholder="t('Your postal address')); ?>" value="" @@ -213,14 +213,14 @@ vendor_style('jcrop/css/jquery.Jcrop');
-

+

-

+
-

+

-

+
-

+

-

+