MainWindow { height: 100% display: flex flex-direction: column -darwin { div.top { padding-left: 70px } } div.top { display: flex; background: #fff; padding: 10px; border-bottom: 2px solid #e4edff; box-shadow: 0 0 3px #7f7f7f; position: relative; z-index: 2; span { input.search { padding: 2px 4px; border: 01px solid #c7c6c6; border-radius: 4px; background: #ffffff; color: #656565; font-size: 120%; margin-top: -3px; width: 180px; } a { padding: 2px 8px; border: 2px solid #c7c6c6; border-radius: 4px; background: #dedede; color: #656565; font-size: 120%; cursor: pointer; margin-left: 5px; text-decoration: none !important :hover { color: black border-color: #888 } -selected { border-color: #444 background: #CCC color: black } -add { border-color: #498849 background-color: #255D24 text-shadow: 1px 1px 1px #000 color: white :active { background-color: #1F331F !important } :hover { background-color: #356D34 border-color: #4CB54C } } } } span.history { a { opacity: 0.3 -active { opacity: 1 } } a + a { margin-left: 0 } } span.appTitle { flex: 1; text-align: center; font-size: 130%; color: #757575; letter-spacing: 0.1em; font-weight: bold; font-weight: normal; -webkit-app-region: drag; } } div.info { a.message { display: block padding: 10px background: #314427 transition: color 0.2s, background-color 0.2s :hover { text-decoration: none color: white background: #315427 } } box-shadow: 0 0 3px black overflow: hidden animation: 0.5s slide-in position: relative } div.main { flex: 1 display: flex div.view { [hidden] { display: none } display: flex flex-direction: column flex: 1 div { -webkit-user-select: text } } } div.bottom { position: relative box-shadow: 0 0 3px #222 background: #222 align-items: center display: flex padding: 5px audio { color: #EEE ::-webkit-media-controls-panel { background: transparent } ::-webkit-media-controls-current-time-display { color: inherit } width: 100% } } } @keyframes slide-in { 0% { max-height: 0 } 100% { max-height: 100px } }