2014-10-21 14:45:54 +00:00
|
|
|
html, body {
|
2020-04-25 00:10:35 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
justify-content: stretch;
|
2020-04-05 19:19:07 +00:00
|
|
|
overflow: hidden;
|
2014-10-21 14:45:54 +00:00
|
|
|
position: relative;
|
2020-04-25 00:10:35 +00:00
|
|
|
width: 100vw;
|
2017-01-24 13:23:52 +00:00
|
|
|
}
|
2014-10-21 14:45:54 +00:00
|
|
|
#dashboard-nav {
|
2020-04-21 20:33:08 +00:00
|
|
|
background-color: var(--default-surface);
|
2014-10-21 14:45:54 +00:00
|
|
|
border: 0;
|
2020-04-21 20:33:08 +00:00
|
|
|
box-shadow: var(--dashboard-bar-shadow);
|
2020-04-05 19:19:07 +00:00
|
|
|
display: flex;
|
2020-04-25 00:10:35 +00:00
|
|
|
flex-shrink: 0;
|
2020-04-05 19:19:07 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
overflow-x: hidden;
|
2014-10-21 14:45:54 +00:00
|
|
|
padding: 0;
|
2020-04-05 19:19:07 +00:00
|
|
|
position: sticky;
|
2014-10-21 14:45:54 +00:00
|
|
|
top: 0;
|
2015-04-07 16:05:38 +00:00
|
|
|
width: 100%;
|
2014-10-21 14:45:54 +00:00
|
|
|
z-index: 10;
|
|
|
|
|
}
|
2020-04-10 22:17:12 +00:00
|
|
|
#dashboard-nav .logo {
|
2018-03-28 13:11:55 +00:00
|
|
|
align-items: center;
|
|
|
|
|
display: inline-flex;
|
2014-10-21 14:45:54 +00:00
|
|
|
padding: 0 0.5em;
|
2018-03-28 13:11:55 +00:00
|
|
|
width: 1.25em;
|
|
|
|
|
}
|
2020-04-10 22:17:12 +00:00
|
|
|
#dashboard-nav .logo > img {
|
2018-03-28 13:11:55 +00:00
|
|
|
width: 100%;
|
2014-10-21 14:45:54 +00:00
|
|
|
}
|
|
|
|
|
.tabButton {
|
2020-04-05 19:19:07 +00:00
|
|
|
border: 0;
|
2020-04-13 13:19:58 +00:00
|
|
|
border-bottom: 3px solid var(--bg-1);
|
2020-04-21 20:33:08 +00:00
|
|
|
border-top: 3px solid transparent;
|
2020-04-20 13:45:18 +00:00
|
|
|
color: var(--dashboard-tab-ink);
|
|
|
|
|
fill: var(--dashboard-tab-ink);
|
2020-04-21 20:33:08 +00:00
|
|
|
letter-spacing: 0.5px;
|
|
|
|
|
padding: 0.5em 1.4em calc(0.5em - 3px);
|
2014-10-21 14:45:54 +00:00
|
|
|
text-decoration: none;
|
2020-04-25 19:19:07 +00:00
|
|
|
user-select: none;
|
2020-04-05 19:19:07 +00:00
|
|
|
white-space: nowrap;
|
2014-10-21 14:45:54 +00:00
|
|
|
}
|
|
|
|
|
.tabButton:focus {
|
|
|
|
|
outline: 0;
|
|
|
|
|
}
|
|
|
|
|
.tabButton.selected {
|
2020-04-20 13:45:18 +00:00
|
|
|
border-bottom: 3px solid var(--dashboard-tab-active-ink);
|
|
|
|
|
color: var(--dashboard-tab-active-ink);
|
|
|
|
|
fill: var(--dashboard-tab-active-ink);
|
2014-10-21 14:45:54 +00:00
|
|
|
}
|
|
|
|
|
iframe {
|
2019-05-19 19:35:00 +00:00
|
|
|
background-color: transparent;
|
2014-10-21 14:45:54 +00:00
|
|
|
border: 0;
|
2020-04-25 00:10:35 +00:00
|
|
|
flex-grow: 1;
|
2019-05-19 19:35:00 +00:00
|
|
|
margin: 0;
|
2014-10-21 14:45:54 +00:00
|
|
|
padding: 0;
|
|
|
|
|
width: 100%;
|
2015-03-20 14:36:38 +00:00
|
|
|
}
|
2019-05-19 19:35:00 +00:00
|
|
|
#unsavedWarning {
|
|
|
|
|
box-shadow: rgba(128,128,128,0.4) 0 4px 4px;
|
|
|
|
|
display: none;
|
|
|
|
|
left: 0;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 20;
|
|
|
|
|
}
|
|
|
|
|
#unsavedWarning.on {
|
|
|
|
|
display: initial;
|
|
|
|
|
}
|
|
|
|
|
#unsavedWarning > div:first-of-type {
|
2020-04-13 13:19:58 +00:00
|
|
|
background-color: var(--bg-transient-notice);
|
2019-05-19 19:35:00 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
#unsavedWarning > div:last-of-type {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
}
|
2015-03-20 14:36:38 +00:00
|
|
|
|
2020-04-09 13:20:29 +00:00
|
|
|
body:not(.canUpdateShortcuts) .tabButton[data-pane="shortcuts.html"] {
|
2018-07-18 22:00:55 +00:00
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-22 15:17:58 +00:00
|
|
|
/* high dpi devices */
|
|
|
|
|
:root.hidpi .tabButton {
|
|
|
|
|
font-family: Metropolis, sans-serif;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-20 13:45:18 +00:00
|
|
|
/* hover-able devices */
|
|
|
|
|
:root.desktop .tabButton {
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
:root.desktop .tabButton:not(.selected) {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
:root.desktop .tabButton:not(.selected):hover {
|
|
|
|
|
background-color: var(--dashboard-tab-surface-hover);
|
2020-04-21 20:33:08 +00:00
|
|
|
border-bottom-color: var(--dashboard-tab-surface-hover);
|
2020-04-20 13:45:18 +00:00
|
|
|
}
|
|
|
|
|
|
2020-04-18 13:48:53 +00:00
|
|
|
/* touch-screen devices */
|
|
|
|
|
:root.mobile #dashboard-nav {
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
overflow-x: auto;
|
2014-10-21 14:45:54 +00:00
|
|
|
}
|
2020-04-18 13:48:53 +00:00
|
|
|
:root.mobile #dashboard-nav .logo {
|
|
|
|
|
display: none;
|
2020-04-10 22:17:12 +00:00
|
|
|
}
|