Edit font colors
This commit is contained in:
parent
55e66be6e4
commit
e0b8293ee1
19 changed files with 63 additions and 38 deletions
|
|
@ -47,14 +47,14 @@ class PostModal extends React.Component {
|
||||||
return (
|
return (
|
||||||
<div className="modal post-modal">
|
<div className="modal post-modal">
|
||||||
<div className="post">
|
<div className="post">
|
||||||
<button
|
<span
|
||||||
className="button post__close-button"
|
className="button post__close-button"
|
||||||
onClick={() => this.props.unSelectPost()}
|
onClick={() => this.props.unSelectPost()}
|
||||||
>
|
>
|
||||||
Close <i className="gg-close"></i>
|
Close <i className="gg-close"></i>
|
||||||
</button>
|
</span>
|
||||||
<div className="post__header">
|
<div className="post__header">
|
||||||
<h1 className={titleClassName}>{`${post.title} `}</h1>
|
<h2 className={titleClassName}>{`${post.title} `}</h2>
|
||||||
<div className="post__meta-info">
|
<div className="post__meta-info">
|
||||||
<span className="post__date">{publicationDate}</span>
|
<span className="post__date">{publicationDate}</span>
|
||||||
<a
|
<a
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ class CategoryItem extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="category__info" onClick={() => this.handleSelect()}>
|
<div className="category__info" onClick={() => this.handleSelect()}>
|
||||||
<h4>{this.props.category.name}</h4>
|
<span>{this.props.category.name}</span>
|
||||||
<span className="badge">{this.props.category.unread}</span>
|
<span className="badge">{this.props.category.unread}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,9 @@ class RuleItem extends React.Component {
|
||||||
<li className={className} onClick={() => this.handleSelect()}>
|
<li className={className} onClick={() => this.handleSelect()}>
|
||||||
<div className="rules__info">
|
<div className="rules__info">
|
||||||
{favicon}
|
{favicon}
|
||||||
<h5 className="rules__title" title={this.props.rule.name}>
|
<span className="rules__title" title={this.props.rule.name}>
|
||||||
{this.props.rule.name}
|
{this.props.rule.name}
|
||||||
</h5>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span className="badge">{this.props.rule.unread}</span>
|
<span className="badge">{this.props.rule.unread}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
font-family: Rubik, sans-serif;
|
font-family: Rubik, sans-serif;
|
||||||
color: $default-font-color;
|
color: $font-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|
||||||
border-radius: 5px;
|
|
||||||
|
|
||||||
&__info {
|
&__info {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
background-color: $white;
|
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
@ -19,10 +17,11 @@
|
||||||
&__item {
|
&__item {
|
||||||
margin: 0px 10px;
|
margin: 0px 10px;
|
||||||
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
& a {
|
& a {
|
||||||
@extend .button;
|
@extend .button;
|
||||||
|
|
||||||
|
font-size: 18px !important;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
&--read {
|
&--read {
|
||||||
color: $gainsboro;
|
color: $gainsboro;
|
||||||
}
|
}
|
||||||
|
|
@ -42,7 +40,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__date {
|
&__date {
|
||||||
align-self: center;
|
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -53,9 +50,6 @@
|
||||||
padding: 10px 0 30px 0;
|
padding: 10px 0 30px 0;
|
||||||
width: 75%;
|
width: 75%;
|
||||||
|
|
||||||
line-height: 1.5;
|
|
||||||
font-size: 18px;
|
|
||||||
|
|
||||||
& p {
|
& p {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
@ -79,6 +73,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 1% 2% 0 0;
|
margin: 1% 2% 0 0;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
|
background-color: $gainsboro;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: lighten($gainsboro, +1%);
|
background-color: lighten($gainsboro, +1%);
|
||||||
|
|
@ -102,7 +97,7 @@
|
||||||
top: 25%;
|
top: 25%;
|
||||||
width: 10%;
|
width: 10%;
|
||||||
|
|
||||||
color: lighten($default-font-color, +10%);
|
color: lighten($font-color, +10%);
|
||||||
|
|
||||||
& h5 {
|
& h5 {
|
||||||
margin: 10px 0 0 0;
|
margin: 10px 0 0 0;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
padding: 5px 5px 5px 20px;
|
padding: 5px 5px 5px 20px;
|
||||||
|
|
||||||
border-radius: 5px;
|
|
||||||
|
|
||||||
& * {
|
& * {
|
||||||
padding: 0 2px 0 2px;
|
padding: 0 2px 0 2px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
background-color: lighten($pewter-blue, +20%);
|
background-color: $gainsboro;
|
||||||
|
|
||||||
font-size: small;
|
font-size: small;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,10 +37,10 @@
|
||||||
|
|
||||||
&--primary {
|
&--primary {
|
||||||
color: $white !important;
|
color: $white !important;
|
||||||
background-color: darken($azureish-white, +20%);
|
background-color: $button-blue;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $azureish-white;
|
background-color: lighten($button-blue, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
.h1 {
|
.h1 {
|
||||||
|
color: $header-color;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
@extend .h1;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,7 @@
|
||||||
.h2 {
|
.h2 {
|
||||||
|
color: $header-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
@extend .h2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,7 @@
|
||||||
.h3 {
|
.h3 {
|
||||||
|
color: $header-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
@extend .h3;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
7
src/newsreader/scss/elements/h4/_h4.scss
Normal file
7
src/newsreader/scss/elements/h4/_h4.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
.h4 {
|
||||||
|
color: $header-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
@extend .h4;
|
||||||
|
}
|
||||||
1
src/newsreader/scss/elements/h4/index.scss
Normal file
1
src/newsreader/scss/elements/h4/index.scss
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
@import './h4';
|
||||||
7
src/newsreader/scss/elements/h5/_h5.scss
Normal file
7
src/newsreader/scss/elements/h5/_h5.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
.h5 {
|
||||||
|
color: $header-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
@extend .h5;
|
||||||
|
}
|
||||||
1
src/newsreader/scss/elements/h5/index.scss
Normal file
1
src/newsreader/scss/elements/h5/index.scss
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
@import "./h5";
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
@import "badge/index";
|
@import './badge/index';
|
||||||
@import "button/index";
|
@import './button/index';
|
||||||
@import "help-text/index";
|
@import './help-text/index';
|
||||||
@import "input/index";
|
@import './input/index';
|
||||||
@import "label/index";
|
@import './label/index';
|
||||||
@import "link/index";
|
@import './link/index';
|
||||||
@import "h1/index";
|
@import './h1/index';
|
||||||
@import "h2/index";
|
@import './h2/index';
|
||||||
@import "h3/index";
|
@import './h3/index';
|
||||||
@import "small/index";
|
@import './h4/index';
|
||||||
@import "select/index";
|
@import './h5/index';
|
||||||
|
@import './small/index';
|
||||||
|
@import './select/index';
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ $light-green: rgba(230, 247, 185, 1);
|
||||||
$light-orange: rgba(237, 212, 178, 1);
|
$light-orange: rgba(237, 212, 178, 1);
|
||||||
$light-red: rgba(255, 118, 117, 1);
|
$light-red: rgba(255, 118, 117, 1);
|
||||||
|
|
||||||
$success-green: rgba(46,204,113, 1);
|
$success-green: rgba(89, 181, 128, 1);
|
||||||
$error-red: lighten(rgba(231, 76, 60, 1), 10%);
|
$error-red: lighten(rgba(231, 76, 60, 1), 10%);
|
||||||
|
|
||||||
$confirm-green: $success-green;
|
$confirm-green: $success-green;
|
||||||
|
|
@ -30,8 +30,10 @@ $cancel-red: $error-red;
|
||||||
|
|
||||||
$border-gray: rgba(227, 227, 227, 1);
|
$border-gray: rgba(227, 227, 227, 1);
|
||||||
|
|
||||||
|
$button-blue: rgba(111, 164, 196, 1);
|
||||||
$focus-blue: darken($azureish-white, +10%);
|
$focus-blue: darken($azureish-white, +10%);
|
||||||
$default-font-color: rgba(48, 51, 53, 1);
|
$font-color: rgba(48, 51, 53, 1);
|
||||||
|
$header-color: rgba(100, 101, 102, 1);
|
||||||
|
|
||||||
$white: rgba(255, 255, 255, 1);
|
$white: rgba(255, 255, 255, 1);
|
||||||
$black: rgba(0, 0, 0, 1);
|
$black: rgba(0, 0, 0, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue