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

43 lines
787 B
Sass
Raw Normal View History

2016-10-31 18:04:15 +00:00
//- 💫 CSS > COMPONENTS > MISC
2016-03-31 14:24:48 +00:00
.x-terminal
2016-10-31 18:04:15 +00:00
background: $color-subtle-light
2016-10-03 18:19:13 +00:00
color: $color-front
2016-10-31 18:04:15 +00:00
padding: 4px
border: 1px dotted $color-subtle
border-radius: 5px
2016-03-31 14:24:48 +00:00
width: 100%
2016-10-03 18:19:13 +00:00
.x-terminal__icons
2016-03-31 14:24:48 +00:00
position: absolute
2016-10-03 18:19:13 +00:00
padding: 10px
&:before,
&:after,
span
@include size(15px)
display: inline-block
float: left
border-radius: 50%
margin-right: 10px
2016-03-31 14:24:48 +00:00
&:before
2016-10-03 18:19:13 +00:00
content: ""
2016-10-31 18:04:15 +00:00
background: $color-red
2016-03-31 14:24:48 +00:00
span
2016-10-31 18:04:15 +00:00
background: $color-green
2016-03-31 14:24:48 +00:00
&:after
2016-10-03 18:19:13 +00:00
content: ""
2016-10-31 18:04:15 +00:00
background: $color-yellow
2016-10-03 18:19:13 +00:00
.x-terminal__code
margin: 0
border: none
2016-10-31 18:04:15 +00:00
border-bottom-left-radius: 5px
border-bottom-right-radius: 5px
2016-03-31 14:24:48 +00:00
width: 100%
2016-10-03 18:19:13 +00:00
max-width: 100%
2016-03-31 14:24:48 +00:00
white-space: pre-wrap