Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .title-bar {
- width: 100%;
- height: 31px;
- box-shadow: 0px 0px 20px 0px black;
- background: #171717a3;
- .title {
- position: absolute;
- left: 10px;
- color: #fff;
- top: 7px;
- font-family: 'Baloo Bhai';
- font-size: 11px
- }
- .buttons {
- .exit {
- position: absolute;
- font-size: 10px;
- font-family: sans-serif;
- top: 0px;
- right: 0px;
- cursor: pointer;
- background: transparent;
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- .exit:hover {
- background: red;
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- .minimize {
- right: 53px;
- position: absolute;
- font-size: 10px;
- font-family: sans-serif;
- top: 0px;
- cursor: pointer;
- background: transparent;
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- .minimize:hover {
- background: rgb(0, 140, 255);
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- .maximize {
- right: 27px;
- position: absolute;
- font-size: 10px;
- font-family: sans-serif;
- top: 0px;
- cursor: pointer;
- background: transparent;
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- .maximize:hover {
- background: rgb(0, 140, 255);
- padding: 10px;
- text-align: center;
- color: white;
- transition: .2s
- }
- }
- }
- <div class="title-bar noselect" style="-webkit-app-region: drag">
- <div class="title">Hornet</div>
- <div class="buttons">
- <div class="minimize noselect" onclick="action('minimize');" style="-webkit-app-region: none">-</div>
- <div class="maximize noselect" onclick="action('maximize');" style="-webkit-app-region: none">□</div>
- <div class="exit noselect" onclick="action('exit');" style="-webkit-app-region: none">X</div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement