diff options
| author | Ofer Lehr <ofer@oferlehr.com> | 2014-12-01 01:37:55 +0200 |
|---|---|---|
| committer | Ofer Lehr <ofer@oferlehr.com> | 2014-12-01 01:37:55 +0200 |
| commit | c7502ef8e03274282712fd03847b3088ee860981 (patch) | |
| tree | 23067cc30105911d0b11e75c16efa7bc104ceac4 /res/css | |
| parent | f92ea38fff179613edb543b6435750c0ed64e573 (diff) | |
fixed broken fonts, div positioning and search bar drop shadow
Diffstat (limited to 'res/css')
| -rw-r--r-- | res/css/modules/Typography.scss | 16 | ||||
| -rw-r--r-- | res/css/modules/colors.scss | 5 | ||||
| -rw-r--r-- | res/css/partials/base.scss | 12 | ||||
| -rw-r--r-- | res/css/partials/reset.scss | 4 | ||||
| -rw-r--r-- | res/css/partials/search-bar.scss | 11 | ||||
| -rw-r--r-- | res/css/partials/task-alert.scss | 13 | ||||
| -rw-r--r-- | res/css/partials/top-bar.scss | 3 | ||||
| -rw-r--r-- | res/css/style.css | 40 |
8 files changed, 52 insertions, 52 deletions
diff --git a/res/css/modules/Typography.scss b/res/css/modules/Typography.scss index 03d4a5b4..8a7d8fe7 100644 --- a/res/css/modules/Typography.scss +++ b/res/css/modules/Typography.scss @@ -2,18 +2,18 @@ @font-face { font-family: 'Source_Regular'; - src: url('../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot'); /* IE9 Compat Modes */ - src: url('../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.woff') format('woff'), /* Modern Browsers */ - url('../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.ttf') format('truetype'); /* Safari, Android, iOS */ + src: url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot'); /* IE9 Compat Modes */ + src: url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.woff') format('woff'), /* Modern Browsers */ + url('../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.ttf') format('truetype'); /* Safari, Android, iOS */ } @font-face { font-family: 'Source_Semibold'; - src: url('../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot'); /* IE9 Compat Modes */ - src: url('../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.woff') format('woff'), /* Modern Browsers */ - url('../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.ttf') format('truetype'); /* Safari, Android, iOS */ + src: url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot'); /* IE9 Compat Modes */ + src: url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.woff') format('woff'), /* Modern Browsers */ + url('../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.ttf') format('truetype'); /* Safari, Android, iOS */ } //Font size diff --git a/res/css/modules/colors.scss b/res/css/modules/colors.scss index bfefa5a5..bb8520de 100644 --- a/res/css/modules/colors.scss +++ b/res/css/modules/colors.scss @@ -6,4 +6,7 @@ $cyan: #33c2e0; $blue: #004681; $purple: #8b3ab0; $orange: #ff8b11; -$yellow: #fad900;
\ No newline at end of file +$yellow: #fad900; +$light-cyan: #D3F2F8; +$dark-cyan: #8eb6bf; +$darker-cyan: #1D6E7F;
\ No newline at end of file diff --git a/res/css/partials/base.scss b/res/css/partials/base.scss index 7e2679f5..da6b7a68 100644 --- a/res/css/partials/base.scss +++ b/res/css/partials/base.scss @@ -44,7 +44,7 @@ a:active { //input box stuff input{ background-color: white; - color: #363636; //$dark-grey + color: $dark-grey; border: 0; &:focus { border: 0; @@ -55,23 +55,23 @@ input{ } ::-webkit-input-placeholder { /* WebKit browsers */ - color: #919095;//$mid-grey + color: $mid-grey; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #919095;//$mid-grey + color: $mid-grey; opacity: 1; } ::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #919095;//$mid-grey + color: $mid-grey; opacity: 1; } :-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #919095;//$mid-grey + color: $mid-grey; } .powered-by{ position:fixed; - color: #363636;//$dark-grey + color: $dark-grey; bottom:10px; right:10px; vertical-align: middle; diff --git a/res/css/partials/reset.scss b/res/css/partials/reset.scss index 86e14741..1a2e6b39 100644 --- a/res/css/partials/reset.scss +++ b/res/css/partials/reset.scss @@ -20,8 +20,8 @@ time, mark, audio, video { padding: 0; border: 0; font-size: 100%; - font: inherit; - font-family: 'Source Sans Pro', sans-serif; + /*font: inherit; */ + font-family: $base-font-family; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ diff --git a/res/css/partials/search-bar.scss b/res/css/partials/search-bar.scss index c78e62c3..b9c37f40 100644 --- a/res/css/partials/search-bar.scss +++ b/res/css/partials/search-bar.scss @@ -1,13 +1,7 @@ .search-bar{ - position: fixed; - top: $top-bar-height; width:100%; height:$search-bar-height; - box-shadow:black; - alpha:0.3; - distance:1; background: white; - border: 1px solid #919095;//$mid-grey -webkit-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3); box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3); @@ -27,3 +21,8 @@ left: $doc-margin; top: $top-bar-height+($search-bar-height - $search-icon-height)/2; } + +input { + font-family: $base-font-family; + font-size: $h3-size; +}
\ No newline at end of file diff --git a/res/css/partials/task-alert.scss b/res/css/partials/task-alert.scss index a1233ce2..bd8ef12e 100644 --- a/res/css/partials/task-alert.scss +++ b/res/css/partials/task-alert.scss @@ -1,17 +1,17 @@ .task-alert{ - position:fixed; - top: $top-bar-height+$search-bar-height+4px; + position:relative; width: 100%; height:$task-alert-height; - background-color: #D3F2F8;//$light-cyan - border-top: #1D6E7F;//$dark-cyan - border-bottom: #1D6E7F;//$dark-cyan + background-color: $light-cyan; + color: $darker-cyan; + border-top: 1px solid $dark-cyan; + border-bottom: 1px solid $dark-cyan; + z-index: -1; } .task-desc{ position:fixed; width:100%; - color: #1D6E7F;//$dark-cyan height: $task-desc-height; top: $top-bar-height + $search-bar-height + ($task-alert-height - $task-desc-height)/2; text-align: center; @@ -21,7 +21,6 @@ .task-close-text { position:fixed; top: $top-bar-height + $search-bar-height + ($task-alert-height - $task-desc-height)/2 + 1 ; - color: #1D6E7F;//$dark-cyan right: 70px; font-size: $h4-size; } diff --git a/res/css/partials/top-bar.scss b/res/css/partials/top-bar.scss index 22fa64ac..85961d41 100644 --- a/res/css/partials/top-bar.scss +++ b/res/css/partials/top-bar.scss @@ -1,5 +1,5 @@ .top-bar{ - position:fixed; + position:relative; top:0; left:0; width:100%; @@ -12,6 +12,7 @@ font-family: $semibold-font-family; color: $light-grey; margin: 10px $doc-margin 10px $doc-margin; + font-size: $h3-size; } .user-area { diff --git a/res/css/style.css b/res/css/style.css index 3553e52f..5f545235 100644 --- a/res/css/style.css +++ b/res/css/style.css @@ -1,15 +1,15 @@ @import url(vendor/ui.css); @font-face { font-family: 'Source_Regular'; - src: url("../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot"); + src: url("../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot"); /* IE9 Compat Modes */ - src: url("../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.woff") format("woff"), url("../../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.ttf") format("truetype"); + src: url("../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.woff") format("woff"), url("../font/sourcesanspro_regular/SourceSansPro-Regular-webfont.ttf") format("truetype"); /* Safari, Android, iOS */ } @font-face { font-family: 'Source_Semibold'; - src: url("../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot"); + src: url("../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot"); /* IE9 Compat Modes */ - src: url("../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot?#iefix") format("embedded-opentype"), url("../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.woff") format("woff"), url("../../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.ttf") format("truetype"); + src: url("../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.eot?#iefix") format("embedded-opentype"), url("../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.woff") format("woff"), url("../font/sourcesanspro_semibold/SourceSansPro-Semibold-webfont.ttf") format("truetype"); /* Safari, Android, iOS */ } html, body { height: 100%; @@ -97,8 +97,8 @@ time, mark, audio, video { padding: 0; border: 0; font-size: 100%; - font: inherit; - font-family: 'Source Sans Pro', sans-serif; + /*font: inherit; */ + font-family: "Source_Regular", sans-serif; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ @@ -359,15 +359,9 @@ table { border-color: #303030; } .search-bar { - position: fixed; - top: 36px; width: 100%; height: 48px; - box-shadow: black; - alpha: 0.3; - distance: 1; background: white; - border: 1px solid #919095; -webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3); box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3); } @@ -386,19 +380,23 @@ table { left: 70px; top: 50px; } +input { + font-family: "Source_Regular", sans-serif; + font-size: 18px; } + .task-alert { - position: fixed; - top: 88px; + position: relative; width: 100%; height: 48px; - background-color: #D3F2F8; - border-top: #1D6E7F; - border-bottom: #1D6E7F; } + background-color: #d3f2f8; + color: #1d6e7f; + border-top: 1px solid #8eb6bf; + border-bottom: 1px solid #8eb6bf; + z-index: -1; } .task-desc { position: fixed; width: 100%; - color: #1D6E7F; height: 20px; top: 98px; text-align: center; @@ -407,7 +405,6 @@ table { .task-close-text { position: fixed; top: 99px; - color: #1D6E7F; right: 70px; font-size: 14px; } @@ -417,7 +414,7 @@ table { right: 50px; } .top-bar { - position: fixed; + position: relative; top: 0; left: 0; width: 100%; @@ -428,7 +425,8 @@ table { float: left; font-family: "Source_Semibold", sans-serif; color: #f5f5fa; - margin: 10px 70px 10px 70px; } + margin: 10px 70px 10px 70px; + font-size: 18px; } .user-area { float: right; |
