From e9a9aaf9101e2a7a0a8911fe4bbe292c0ee8c486 Mon Sep 17 00:00:00 2001 From: karolinaszczur Date: Fri, 25 Oct 2013 11:53:19 +0200 Subject: [PATCH] [ux] change font sizes on headings, port h3 to h4 on settings --- clientapp/templates.js | 2 +- clientapp/templates/pages/main.jade | 8 ++++---- public/css/_variables.styl | 8 ++++---- public/css/app/layout.styl | 4 ++-- public/css/otalk.css | 6 +++--- public/x-manifest.cache | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/clientapp/templates.js b/clientapp/templates.js index ff416ea..59c402d 100644 --- a/clientapp/templates.js +++ b/clientapp/templates.js @@ -196,7 +196,7 @@ exports.pages.groupchat = function anonymous(locals) { exports.pages.main = function anonymous(locals) { var buf = []; with (locals || {}) { - buf.push('

Current status

Change Avatar

Drag and drop a new avatar here

Add / Approve Contacts

    Desktop Integration

    '); + buf.push('

    Current status

    Change Avatar

    Drag and drop a new avatar here

    Add / Approve Contacts

      Desktop Integration

      '); } return buf.join(""); }; diff --git a/clientapp/templates/pages/main.jade b/clientapp/templates/pages/main.jade index c3ad091..f24536d 100644 --- a/clientapp/templates/pages/main.jade +++ b/clientapp/templates/pages/main.jade @@ -1,11 +1,11 @@ section.page.main div - h3 Current status + h4 Current status .status(contenteditable="true") div#avatarChanger - h3 Change Avatar + h4 Change Avatar div.uploadRegion p Drag and drop a new avatar here img @@ -13,12 +13,12 @@ section.page.main input#uploader(type="file") div - h3 Add / Approve Contacts + h4 Add / Approve Contacts input(type="text", class="inline")#addcontact button.addContact Add ul#contactrequests div - h3 Desktop Integration + h4 Desktop Integration button.enableAlerts Enable alerts button.primary.installFirefox Install app diff --git a/public/css/_variables.styl b/public/css/_variables.styl index 809ded5..081d447 100644 --- a/public/css/_variables.styl +++ b/public/css/_variables.styl @@ -52,10 +52,10 @@ $font-size-base = 14px $font-size-small = 12px $font-size-smaller = 10px -$font-size-h1 = 30px -$font-size-h2 = 24px -$font-size-h3 = 18px -$font-size-h4 = 14px +$font-size-h1 = 28px +$font-size-h2 = 22px +$font-size-h3 = 16px +$font-size-h4 = 12px $line-height-base = 18px $line-height-headings = 26px diff --git a/public/css/app/layout.styl b/public/css/app/layout.styl index 0004bb9..63532fd 100644 --- a/public/css/app/layout.styl +++ b/public/css/app/layout.styl @@ -12,9 +12,9 @@ body h1, h2, h3, h4 color: darken($gray, 30%) -h3 +h4 margin-top: 0 - font-size: $font-size-h3 + font-size: $font-size-h4 a color: $blue diff --git a/public/css/otalk.css b/public/css/otalk.css index 58b85c2..e4ff8b1 100644 --- a/public/css/otalk.css +++ b/public/css/otalk.css @@ -175,9 +175,9 @@ h3, h4 { color: #3c3c3c; } -h3 { +h4 { margin-top: 0; - font-size: 18px; + font-size: 12px; } a { color: #12acef; @@ -1345,7 +1345,7 @@ rgba(0,0,0,0.2) color: #fff; rgba(0,0,0,0.7) line-height: 1; - font-size: 18px; + font-size: 16px; } #calls .caller { margin: 0; diff --git a/public/x-manifest.cache b/public/x-manifest.cache index 5cfe9d8..264f83a 100644 --- a/public/x-manifest.cache +++ b/public/x-manifest.cache @@ -1,5 +1,5 @@ CACHE MANIFEST -# 0.0.1 1382653746877 +# 0.0.1 1382694727785 CACHE: /app.js