[Pkg-owncloud-commits] [owncloud] 56/69: move font back from Light to Regular for body text on normal-res screens, fix #18954
David Prévot
taffit at moszumanska.debian.org
Wed Nov 11 02:04:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 0d034528229af28c24767be1dabb27c749f6f55c
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date: Fri Oct 30 04:47:00 2015 +0100
move font back from Light to Regular for body text on normal-res screens, fix #18954
---
core/css/apps.css | 4 ++--
core/css/fonts.css | 10 ++++++++++
core/css/header.css | 9 +++++++++
core/css/mobile.css | 8 --------
core/css/styles.css | 6 +++++-
core/fonts/OpenSans-Regular.woff | Bin 0 -> 20544 bytes
settings/css/settings.css | 3 ++-
7 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/core/css/apps.css b/core/css/apps.css
index ee68c45..8fcd30c 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -561,11 +561,11 @@ button.loading {
.section h2 {
font-size: 20px;
margin-bottom: 12px;
- font-weight: normal;
+ font-weight: 300;
}
.section h3 {
font-size: 15px;
- font-weight: normal;
+ font-weight: 300;
margin: 12px 0;
}
/* slight position correction of checkboxes and radio buttons */
diff --git a/core/css/fonts.css b/core/css/fonts.css
index de2742c..2a89403 100644
--- a/core/css/fonts.css
+++ b/core/css/fonts.css
@@ -1,3 +1,13 @@
+/* for low-res screens, use Regular font-weight instead of Light */
+ at media (-webkit-max-device-pixel-ratio: 1.3), (max-resolution: 124.8dpi) {
+ @font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: normal;
+ src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
+ }
+}
+
@font-face {
font-family: 'Open Sans';
font-style: normal;
diff --git a/core/css/header.css b/core/css/header.css
index 3697502..37f06ef 100644
--- a/core/css/header.css
+++ b/core/css/header.css
@@ -119,6 +119,7 @@
position: relative;
color: #fff;
font-size: 16px;
+ font-weight: 300;
margin: 0;
margin-top: -24px;
padding: 7px 0 7px 5px;
@@ -352,3 +353,11 @@
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
opacity: 1;
}
+
+/* do not show display name when profile picture is present */
+#header .avatardiv.avatardiv-shown + #expandDisplayName {
+ display: none;
+}
+#header #expand {
+ display: block;
+}
diff --git a/core/css/mobile.css b/core/css/mobile.css
index 26f7b85..288ae29 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -26,14 +26,6 @@
display: none;
}
-/* do not show display name on mobile when profile picture is present */
-#header .avatardiv.avatardiv-shown + #expandDisplayName {
- display: none;
-}
-#header #expand {
- display: block;
-}
-
/* do not show update notification on mobile */
#update-notification {
display: none !important;
diff --git a/core/css/styles.css b/core/css/styles.css
index 4408f69..5e511ef 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -27,7 +27,7 @@ select:hover {
body {
background-color: #ffffff;
- font-weight: 300;
+ font-weight: 400;
font-size: .8em;
line-height: 1.6em;
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
@@ -258,6 +258,9 @@ button, .button,
border: 1px solid rgba(240,240,240,.9);
cursor: pointer;
}
+select, .button.multiselect {
+ font-weight: 400;
+}
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus,
button:hover, button:focus,
@@ -590,6 +593,7 @@ input[type="submit"].enabled {
#body-login input[type="password"],
#body-login input[type="email"] {
border: none;
+ font-weight: 300;
}
/* Nicely grouping input field sets */
diff --git a/core/fonts/OpenSans-Regular.woff b/core/fonts/OpenSans-Regular.woff
new file mode 100644
index 0000000..2abc3ed
Binary files /dev/null and b/core/fonts/OpenSans-Regular.woff differ
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 5fa9b30..60ba805 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -19,6 +19,7 @@ input#openid, input#webdav { width:20em; }
margin-top: -30px;
}
.clientsbox h2 {
+ font-weight: 300;
font-size: 20px;
margin: 35px 0 10px;
}
@@ -26,7 +27,7 @@ input#openid, input#webdav { width:20em; }
margin-top: 10px;
}
.clientsbox a {
- font-weight: bold;
+ font-weight: 600;
}
#displaynameerror {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list