Last active
August 29, 2015 13:57
-
-
Save FalkoJoseph/9875666 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************** | |
WINDOW | |
***************************************/ | |
#titlebar { | |
-webkit-user-select: none; | |
-webkit-app-region: drag; | |
padding: 10px; | |
border-bottom: 1px solid #292929; | |
box-shadow: 0 1px 1px rgba(0,0,0,0.05); | |
color: #ffffff; | |
text-shadow: 0 -1px 0px rgba(0,0,0,0.2); | |
position: relative; | |
z-index: 1001; | |
background-image: -webkit-linear-gradient(top, rgb(100, 102, 99), rgb(76, 76, 76)); | |
.controls { | |
-webkit-app-region: no-drag; | |
position: absolute; | |
.btn { | |
float: left; | |
height: 13px; | |
width: 13px; | |
margin-right: 8px; | |
background-size: 70px; | |
background-image: url(assets/[email protected]); | |
&:active { | |
background-image: url(assets/[email protected]); | |
} | |
&.close { | |
background-position: 0 0; | |
&:hover { | |
background-position: 0 109px; | |
} | |
} | |
&.min { | |
background-position: 121px 0; | |
&:hover { | |
background-position: 121px 109px; | |
} | |
} | |
&.max { | |
background-position: 102px 0; | |
&:hover { | |
background-position: 102px 109px; | |
} | |
} | |
} | |
} | |
.title { | |
text-align: center; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment