Files
butterfly/sass/_fx.sass
2014-05-12 10:01:49 +02:00

52 lines
1.4 KiB
Sass

/* *-* coding: utf-8 *-* */
/* This file is part of butterfly */
/* butterfly Copyright (C) 2014 Florian Mounier */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
$fg: #fff !default
$shadow: 6px !default
$shadow-alpha: .5 !default
.terminal
text-shadow: 0 0 $shadow rgba($fg, $shadow-alpha)
transition: 200ms
&.bell
-webkit-filter: blur(2px)
&.skip
-webkit-filter: sepia(1)
&.selection
-webkit-filter: unquote("saturate(2)")
&.dead
-webkit-filter: unquote("grayscale(1)")
&:after
content: "CLOSED"
font-size: 15em
display: flex
justify-content: center
align-items: center
position: fixed
top: 0
left: 0
width: 100%
height: 100%
transform: rotate(-45deg)
opacity: .2
font-weight: 900