bulma/docs/_sass/old/twitter.sass

188 lines
7.9 KiB
Sass
Raw Normal View History

2019-10-13 15:11:19 +00:00
// $tw-black: #1c2022
$tw-black: $text-strong
2017-08-11 12:19:57 +00:00
$tw-blue: #2b7bb9
$tw-grey: #697882
2018-04-10 11:48:58 +00:00
$tw-border: #e1e8ed
2017-08-11 12:19:57 +00:00
2017-09-01 07:09:39 +00:00
.bd-tws-home
2019-10-13 15:11:19 +00:00
background-color: $scheme-main-bis
2017-07-30 17:22:13 +00:00
2017-08-14 11:44:24 +00:00
.bd-tw
2019-10-13 15:11:19 +00:00
background-color: $scheme-main-bis
2018-04-09 21:25:26 +00:00
border-radius: $radius-large
2017-08-11 12:19:57 +00:00
color: $tw-grey
2017-07-30 17:22:13 +00:00
flex-shrink: 0
font-family: Helvetica, Roboto, "Segoe UI", Calibri, sans-serif
font-size: 16px
2018-04-10 11:48:58 +00:00
max-width: 420px
2017-08-11 12:19:57 +00:00
padding: 20px
2019-04-07 15:28:01 +00:00
text-align: left
2018-04-11 15:07:35 +00:00
&.bd-is-white
2019-10-13 15:11:19 +00:00
background-color: $scheme-main
2017-08-11 12:19:57 +00:00
2017-08-14 11:44:24 +00:00
.bd-tw-header
2017-08-11 12:19:57 +00:00
align-items: stretch
display: flex
justify-content: flex-start
2017-08-14 11:44:24 +00:00
.bd-tw-author
2017-08-11 12:19:57 +00:00
align-items: center
color: $tw-black
display: flex
line-height: 1.2
&:hover
color: $tw-blue
2017-08-14 11:44:24 +00:00
.bd-tw-avatar
2017-08-11 12:19:57 +00:00
flex-shrink: 0
height: 36px
margin-right: 9px
width: 36px
img
border-radius: 290486px
display: block
height: 36px
width: 36px
2017-08-14 11:44:24 +00:00
.bd-tw-fullname
2019-04-07 15:28:01 +00:00
color: $text-strong
2017-08-11 12:19:57 +00:00
display: block
font-size: 16px
font-weight: 700
2017-08-14 11:44:24 +00:00
.bd-tw-username
2017-08-11 12:19:57 +00:00
color: $tw-grey
display: block
font-size: 14px
2017-08-14 11:44:24 +00:00
.bd-tw-content
2017-08-11 12:19:57 +00:00
color: $tw-black
font-size: 16px
2017-07-30 17:22:13 +00:00
line-height: 1.4
2017-08-11 12:19:57 +00:00
margin-top: 14px
2017-07-30 17:22:13 +00:00
a
2017-08-11 12:19:57 +00:00
color: $tw-blue
.Emoji
height: 1.25em
padding: 0 .05em 0 .1em
vertical-align: -.2em
width: 1.25em
2017-08-14 11:44:24 +00:00
.bd-tw-date
2017-08-11 12:19:57 +00:00
font-size: 14px
line-height: 1.4
margin-top: 3.2px
a
color: $tw-grey
&:hover
color: $tw-blue
.Tweet-actions
align-items: center
2017-10-09 08:42:07 +00:00
display: flex
2017-08-11 12:19:57 +00:00
margin-top: 8.4px
.Tweet-action
margin-right: 1.25rem
.TweetAction
align-items: center
display: flex
height: 24px
min-width: 24px
&:hover
.Icon--replyEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%231DA1F2%22%20d%3D%22M14.046%202.242l-4.148-.01h-.002c-4.374%200-7.8%203.427-7.8%207.802%200%204.098%203.186%207.206%207.465%207.37v3.828c0%20.108.045.286.12.403.143.225.385.347.633.347.138%200%20.277-.038.402-.118.264-.168%206.473-4.14%208.088-5.506%201.902-1.61%203.04-3.97%203.043-6.312v-.017c-.006-4.368-3.43-7.788-7.8-7.79zm3.787%2012.972c-1.134.96-4.862%203.405-6.772%204.643V16.67c0-.414-.334-.75-.75-.75h-.395c-3.66%200-6.318-2.476-6.318-5.886%200-3.534%202.768-6.302%206.3-6.302l4.147.01h.002c3.532%200%206.3%202.766%206.302%206.296-.003%201.91-.942%203.844-2.514%205.176z%22%2F%3E%3C%2Fsvg%3E)
.Icon--retweetEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%2317BF63%22%20d%3D%22M23.77%2015.67c-.292-.293-.767-.293-1.06%200l-2.22%202.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414%200-.75.336-.75.75s.336.75.75.75h5.85c1.24%200%202.25%201.01%202.25%202.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06%200s-.294.768%200%201.06l3.5%203.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767%200-1.06zm-10.66%203.28H7.26c-1.24%200-2.25-1.01-2.25-2.25V6.46l2.22%202.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768%200-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06%200l-3.5%203.5c-.294.292-.294.767%200%201.06s.767.293%201.06%200l2.22-2.22V16.7c0%202.068%201.683%203.75%203.75%203.75h5.85c.414%200%20.75-.336.75-.75s-.337-.75-.75-.75z%22%2F%3E%3C%2Fsvg%3E)
.Icon--heartEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23E0245E%22%20d%3D%22M12%2021.638h-.014C9.403%2021.59%201.95%2014.856%201.95%208.478c0-3.064%202.525-5.754%205.403-5.754%202.29%200%203.83%201.58%204.646%202.73.813-1.148%202.353-2.73%204.644-2.73%202.88%200%205.404%202.69%205.404%205.755%200%206.375-7.454%2013.11-10.037%2013.156H12zM7.354%204.225c-2.08%200-3.903%201.988-3.903%204.255%200%205.74%207.035%2011.596%208.55%2011.658%201.52-.062%208.55-5.917%208.55-11.658%200-2.267-1.822-4.255-3.902-4.255-2.528%200-3.94%202.936-3.952%202.965-.23.562-1.156.562-1.387%200-.015-.03-1.426-2.965-3.955-2.965z%22%2F%3E%3C%2Fsvg%3E)
.Tweet-action--retweet:hover
.TweetAction-stat
color: #17BF63
.Tweet-action--heart:hover
.TweetAction-stat
color: #E0245E
.TweetAction-icon
background-size: contain
height: 20px
width: 20px
.TweetAction-stat
color: $tw-grey
font-size: 14px
margin-left: 5px
margin-top: 1px
.Icon--replyEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23657786%22%20d%3D%22M14.046%202.242l-4.148-.01h-.002c-4.374%200-7.8%203.427-7.8%207.802%200%204.098%203.186%207.206%207.465%207.37v3.828c0%20.108.045.286.12.403.143.225.385.347.633.347.138%200%20.277-.038.402-.118.264-.168%206.473-4.14%208.088-5.506%201.902-1.61%203.04-3.97%203.043-6.312v-.017c-.006-4.368-3.43-7.788-7.8-7.79zm3.787%2012.972c-1.134.96-4.862%203.405-6.772%204.643V16.67c0-.414-.334-.75-.75-.75h-.395c-3.66%200-6.318-2.476-6.318-5.886%200-3.534%202.768-6.302%206.3-6.302l4.147.01h.002c3.532%200%206.3%202.766%206.302%206.296-.003%201.91-.942%203.844-2.514%205.176z%22%2F%3E%3C%2Fsvg%3E)
.Icon--retweetEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23657786%22%20d%3D%22M23.77%2015.67c-.292-.293-.767-.293-1.06%200l-2.22%202.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414%200-.75.336-.75.75s.336.75.75.75h5.85c1.24%200%202.25%201.01%202.25%202.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06%200s-.294.768%200%201.06l3.5%203.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767%200-1.06zm-10.66%203.28H7.26c-1.24%200-2.25-1.01-2.25-2.25V6.46l2.22%202.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768%200-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06%200l-3.5%203.5c-.294.292-.294.767%200%201.06s.767.293%201.06%200l2.22-2.22V16.7c0%202.068%201.683%203.75%203.75%203.75h5.85c.414%200%20.75-.336.75-.75s-.337-.75-.75-.75z%22%2F%3E%3C%2Fsvg%3E)
.Icon--heartEdge
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23657786%22%20d%3D%22M12%2021.638h-.014C9.403%2021.59%201.95%2014.856%201.95%208.478c0-3.064%202.525-5.754%205.403-5.754%202.29%200%203.83%201.58%204.646%202.73.813-1.148%202.353-2.73%204.644-2.73%202.88%200%205.404%202.69%205.404%205.755%200%206.375-7.454%2013.11-10.037%2013.156H12zM7.354%204.225c-2.08%200-3.903%201.988-3.903%204.255%200%205.74%207.035%2011.596%208.55%2011.658%201.52-.062%208.55-5.917%208.55-11.658%200-2.267-1.822-4.255-3.902-4.255-2.528%200-3.94%202.936-3.952%202.965-.23.562-1.156.562-1.387%200-.015-.03-1.426-2.965-3.955-2.965z%22%2F%3E%3C%2Fsvg%3E)
+mobile
2017-09-01 07:09:39 +00:00
.bd-tws-home
2017-08-11 12:19:57 +00:00
padding: 1.5rem
2017-09-01 07:09:39 +00:00
.bd-tw:not(:last-child)
margin-bottom: 1.5rem
2017-08-11 12:19:57 +00:00
+tablet
2017-09-01 07:09:39 +00:00
.bd-tws-home
2017-08-11 12:19:57 +00:00
padding: 3rem
2017-09-01 07:09:39 +00:00
.bd-tw + .bd-tw
margin-top: 1.5rem
+until($desktop)
.bd-tws-love
.bd-tw:not(:last-child)
margin-bottom: 1.5rem
2017-08-11 12:19:57 +00:00
+desktop
2017-09-01 07:09:39 +00:00
.bd-tws-home
2017-08-11 12:19:57 +00:00
min-height: 595px
2017-09-01 07:09:39 +00:00
.bd-tws-love
display: flex
flex-wrap: wrap
margin: -0.75rem
.bd-tw
margin: 0.75rem
width: calc(33.3333% - 1.5rem)
2017-08-11 12:19:57 +00:00
+widescreen
2017-09-01 07:09:39 +00:00
.bd-tws-home
2017-08-11 12:19:57 +00:00
min-height: 653px
+fullhd
2017-09-01 07:09:39 +00:00
.bd-tws-home
2017-08-11 12:19:57 +00:00
min-height: 632px
2017-07-30 17:22:13 +00:00
.twitter-tweet:not(.twitter-tweet-rendered)
2019-10-13 15:11:19 +00:00
background-color: $scheme-main
2018-04-10 11:48:58 +00:00
border: 1px solid $tw-border
2017-07-30 17:22:13 +00:00
border-radius: 5px
2017-08-11 12:19:57 +00:00
color: $tw-grey
2017-07-30 17:22:13 +00:00
font-size: 14px
padding: 20px 20px 11.6px
a
color: currentColor
&:hover
text-decoration: underline
p
2017-08-11 12:19:57 +00:00
color: $tw-black
2017-07-30 17:22:13 +00:00
font-size: 16px
margin-bottom: 3.2px
a
2017-08-11 12:19:57 +00:00
color: $tw-blue
2017-07-30 17:22:13 +00:00
.twitter-tweet-rendered
border: none
border-radius: 0
margin: 0 !important
2017-08-11 12:19:57 +00:00
padding: 0 !important