1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2025-01-14 07:08:06 -05:00

[ux] start porting andyet/style variables

This commit is contained in:
karolinaszczur 2013-10-23 17:15:02 +02:00
parent e4d0da624a
commit 90e4581b71
10 changed files with 41 additions and 38 deletions

View File

@ -1,9 +1,5 @@
@import _variables @import _variables
gotham()
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif
font-style: normal
roundall($round) roundall($round)
-moz-border-radius: $round -moz-border-radius: $round
-webkit-border-radius: $round -webkit-border-radius: $round

View File

@ -12,9 +12,20 @@ $textSecondary = #b7b7b7
$grayBackground = #f7f7f7 $grayBackground = #f7f7f7
$grayOutline = #e4e4e4 $grayOutline = #e4e4e4
// font sizes $font-family-gotham = 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif
$fontLarge = 20px // Font sizes
$fontMedium = 14px
$fontSmall = 12px
$font-size-large = 16px
$font-size-base = 14px
$font-size-small = 12px
$font-size-h1 = 30px
$font-size-h2 = 24px
$font-size-h3 = 18px
$font-size-h4 = 14px
$line-height-base = 18px
$line-height-headings = 26px
$font-weight-bold = 800

View File

@ -79,7 +79,7 @@ $callHeight = 80px
right: 1px solid rgba(255,255,255,.2) right: 1px solid rgba(255,255,255,.2)
width: 100px width: 100px
margin-right: 10px margin-right: 10px
font-size: 16px font-size: $font-size-large
color: rgba(0,0,0,.75) color: rgba(0,0,0,.75)
text_shadow(rgba(255,255,255,.5),0,1px,0) text_shadow(rgba(255,255,255,.5),0,1px,0)
float: left float: left
@ -102,7 +102,7 @@ $callHeight = 80px
roundall(30px) roundall(30px)
.callerName, .callTime .callerName, .callTime
font-weight: bold font-weight: $font-weight-bold
color: #fff color: #fff
text_shadow(rgba(0,0,0,.7),0,1px,0) text_shadow(rgba(0,0,0,.7),0,1px,0)
line-height: 1 line-height: 1

View File

@ -53,7 +53,7 @@
roundall(3px) roundall(3px)
text-transform: uppercase text-transform: uppercase
font-size: 9px font-size: 9px
font-weight: bold font-weight: $font-weight-bold
line-height: 20px line-height: 20px
color: lighten($baseText, 30%) color: lighten($baseText, 30%)
background: $grayOutline background: $grayOutline
@ -179,7 +179,7 @@
.timestamp .timestamp
font-size: 10px font-size: 10px
font-weight: bold font-weight: $font-weight-bold
color: lighten($activeBlue, 50%) color: lighten($activeBlue, 50%)
float: right float: right
display: block display: block
@ -210,7 +210,7 @@
width: 100% width: 100%
position: relative position: relative
height: 30px height: 30px
line-height: 18px line-height: $line-height-base
padding: 5px padding: 5px
background: white background: white

View File

@ -6,10 +6,10 @@ input[type=text], input[type=email], input[type=search], input[type=password], t
padding: 0 10px padding: 0 10px
background-color: white background-color: white
border: 1px solid $grayOutline border: 1px solid $grayOutline
font-size: $fontSmall font-size: $font-size-small
color: $baseText color: $baseText
borderbox() borderbox()
gotham() font-family: $font-family-gotham
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
-webkit-appearance: none -webkit-appearance: none
@ -36,7 +36,7 @@ label
display: block display: block
margin-bottom: 5px margin-bottom: 5px
font-size: 13px font-size: 13px
font-weight: bold font-weight: $font-weight-bold
color: $baseText color: $baseText
a.button a.button
@ -52,8 +52,8 @@ button, a.button
padding: 0 1em padding: 0 1em
color: white color: white
background: $activeBlue background: $activeBlue
font-size: $fontSmall font-size: $font-size-small
font-weight: bold font-weight: $font-weight-bold
text-decoration: none text-decoration: none
text-align: center text-align: center
cursor: pointer cursor: pointer

View File

@ -4,8 +4,8 @@
body body
background: white background: white
color: $baseText color: $baseText
gotham() font-family: $font-family-gotham
font-size: 16px font-size: $font-size-base
font-weight: 400 font-weight: 400
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased

View File

@ -58,7 +58,7 @@
margin: 0px margin: 0px
position: relative position: relative
min-height: 40px min-height: 40px
font-size: $fontSmall font-size: $font-size-small
color: #fff color: #fff
cursor: pointer cursor: pointer
transition: all .3s ease-in 0 transition: all .3s ease-in 0
@ -116,7 +116,7 @@
&.activeContact, &.offline.activeContact &.activeContact, &.offline.activeContact
background: white background: white
font-weight: bold font-weight: $font-weight-bold
.name .name
color: $baseText color: $baseText
@ -181,7 +181,7 @@
top: 5px top: 5px
left: 10px left: 10px
font-size: 10px font-size: 10px
font-weight: bold font-weight: $font-weight-bold
text-align: center text-align: center
background: rgba(0, 174, 239, .8) background: rgba(0, 174, 239, .8)

View File

@ -13,7 +13,7 @@
.uploadRegion .uploadRegion
padding: 15px padding: 15px
font-size: $fontSmall font-size: $font-size-small
roundall(3px) roundall(3px)
margin: 10px 0 margin: 10px 0
color: $textSecondary color: $textSecondary

View File

@ -243,8 +243,7 @@ body {
background: #fff; background: #fff;
color: #565656; color: #565656;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif; font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal; font-size: 14px;
font-size: 16px;
font-weight: 400; font-weight: 400;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
@ -256,7 +255,7 @@ h4 {
} }
h3 { h3 {
margin-top: 0; margin-top: 0;
font-size: 14px; font-size: $fontMedium;
} }
#pages { #pages {
position: absolute; position: absolute;
@ -456,7 +455,7 @@ h3 {
#roster li.offline.activeContact, #roster li.offline.activeContact,
#bookmarks li.offline.activeContact { #bookmarks li.offline.activeContact {
background: #fff; background: #fff;
font-weight: bold; font-weight: 800;
} }
#roster li.activeContact .name, #roster li.activeContact .name,
#bookmarks li.activeContact .name, #bookmarks li.activeContact .name,
@ -551,7 +550,7 @@ h3 {
top: 5px; top: 5px;
left: 10px; left: 10px;
font-size: 10px; font-size: 10px;
font-weight: bold; font-weight: 800;
text-align: center; text-align: center;
background: rgba(0,174,239,0.8); background: rgba(0,174,239,0.8);
} }
@ -701,7 +700,7 @@ h3 {
border-radius: 3px; border-radius: 3px;
text-transform: uppercase; text-transform: uppercase;
font-size: 9px; font-size: 9px;
font-weight: bold; font-weight: 800;
line-height: 20px; line-height: 20px;
color: #898989; color: #898989;
background: #e4e4e4; background: #e4e4e4;
@ -841,7 +840,7 @@ h3 {
} }
.messages .message .timestamp { .messages .message .timestamp {
font-size: 10px; font-size: 10px;
font-weight: bold; font-weight: 800;
color: #78daff; color: #78daff;
float: right; float: right;
display: block; display: block;
@ -1005,7 +1004,6 @@ textarea,
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif; font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-webkit-appearance: none; -webkit-appearance: none;
-webkit-transition: border 0.2s ease-in 0; -webkit-transition: border 0.2s ease-in 0;
@ -1038,7 +1036,7 @@ label {
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: 800;
color: #565656; color: #565656;
} }
a.button { a.button {
@ -1047,8 +1045,6 @@ a.button {
button, button,
a.button { a.button {
display: inline-block; display: inline-block;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-khtml-border-radius: 3px; -khtml-border-radius: 3px;
@ -1062,7 +1058,7 @@ a.button {
color: #fff; color: #fff;
background: #00aeef; background: #00aeef;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: 800;
text-decoration: none; text-decoration: none;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
@ -1205,7 +1201,7 @@ rgba(0,0,0,0.2)
} }
#calls .callerName, #calls .callerName,
#calls .callTime { #calls .callTime {
font-weight: bold; font-weight: 800;
color: #fff; color: #fff;
rgba(0,0,0,0.7) rgba(0,0,0,0.7)
line-height: 1; line-height: 1;

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 0.0.1 1382536313264 # 0.0.1 1382540896499
CACHE: CACHE:
/app.js /app.js