spaCy/website/assets/css/_components/_misc.sass

45 lines
840 B
Sass
Raw Normal View History

2016-10-03 21:19:13 +03:00
//- ----------------------------------
//- 💫 COMPONENTS > MISC
//- ----------------------------------
2016-03-31 17:24:48 +03:00
.x-terminal
2016-10-03 21:19:13 +03:00
background: $color-subtle
color: $color-front
border-radius: 10px
2016-03-31 17:24:48 +03:00
width: 100%
2016-10-03 21:19:13 +03:00
.x-terminal__icons
2016-03-31 17:24:48 +03:00
position: absolute
2016-10-03 21:19:13 +03:00
padding: 10px
&:before,
&:after,
span
@include size(15px)
display: inline-block
float: left
border-radius: 50%
margin-right: 10px
2016-03-31 17:24:48 +03:00
&:before
2016-10-03 21:19:13 +03:00
content: ""
background: #e4514f
2016-03-31 17:24:48 +03:00
span
2016-10-03 21:19:13 +03:00
background: #3ec930
2016-03-31 17:24:48 +03:00
&:after
2016-10-03 21:19:13 +03:00
content: ""
background: #f4c025
.x-terminal__code
background: $color-front
color: $color-back
margin: 0
border: none
border-bottom-left-radius: 10px
border-bottom-right-radius: 10px
2016-03-31 17:24:48 +03:00
width: 100%
2016-10-03 21:19:13 +03:00
max-width: 100%
2016-03-31 17:24:48 +03:00
white-space: pre-wrap