Skip to content

Commit

Permalink
Imported from brave-ui: Merge pull request brave#319 from brave/ntp-u…
Browse files Browse the repository at this point in the history
…pdate2

Remaining NTP Updates
  • Loading branch information
cezaraugusto authored Dec 20, 2018
2 parents bf1a06c + 17304dd commit cbd77c4
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions components/brave_new_tab_ui/components/stats/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import styled from '../../../theme'

export const StyledStatsItemContainer = styled<{}, 'ul'>('ul')`
display: block;
display: flex;
flex-wrap: wrap;
font-weight: 400;
margin: 0;
padding: 0;
Expand All @@ -21,53 +22,44 @@ export const StyledStatsItemContainer = styled<{}, 'ul'>('ul')`
`

export const StyledStatsItem = styled<{}, 'li'>('li')`
vertical-align: middle;
list-style-type: none;
font-size: inherit;
font-family: inherit;
&:first-child {
color: rgb(243, 144, 48);
color: #FB542B;
}
&:nth-child(2) {
color: rgb(254, 82, 29);
color: #B02FFB;
}
&:nth-child(3) {
color: rgb(7, 150, 250);
color: #4C54D2;
}
&:last-child {
color: rgb(153, 153, 153);
color: #FFF;
}
`

export const StyledStatsItemCounter = styled<{}, 'span'>('span')`
color: inherit;
font-family: ${p => p.theme.fontFamily.heading};
font-size: 44px;
font-size: 46px;
font-weight: 400;
line-height: 53px;
width: 7ch;
letter-spacing: -0.4px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
`

export const StyledStatsItemText = styled<{}, 'span'>('span')`
color: rgb(153, 153, 153);
color: #FFF;
font-size: 20px;
margin-left: 4px;
font-family: ${p => p.theme.fontFamily.heading};
line-height: 24px;
margin-left: 3px;
display: inline;
letter-spacing: 0;
`

export const StyledStatsItemDescription = styled<{}, 'div'>('div')`
font-size: 13px;
font-size: 14px;
font-weight: 400;
color: rgb(255, 255, 255);
line-height: 24px;
margin-left: 3px;
color: #FFF;
font-family: ${p => p.theme.fontFamily.heading};
`

0 comments on commit cbd77c4

Please sign in to comment.