app/tabs.css (97 lines of code) (raw):
#nav {
background: #28292a;
display: flex;
padding-top: 2px;
user-select: none;
}
#nav .nav-button {
color: #fff;
cursor: pointer;
font-size: 24px;
padding: 4px 16px;
}
#nav #username {
color: #fff;
margin-bottom: auto;
margin-top: auto;
}
#nav #key-button:hover {
color: #5f9ea0;
}
#nav #key-button.authenticated {
color: #daa520;
}
.tab-group {
display: flex;
}
#nav .tab-group:not(:first-child) {
margin-left: 24px;
}
.tab-group .tab:first-child {
border-left: 1px solid #656565;
border-top-left-radius: 2px;
}
.tab-group .tab:last-child {
border-right: 1px solid #656565;
border-top-right-radius: 2px;
}
.tab {
border-bottom: 1px solid #656565;
border-top: 1px solid #656565;
color: #fff;
cursor: pointer;
font-weight: bold;
padding: 0.5em 1em;
white-space: nowrap;
}
.tab.filler {
border: none;
cursor: default;
flex-grow: 1;
margin-bottom: auto;
margin-top: auto;
}
body:not(.global-error) #global-error {
display: none;
}
body:not(.egg) #global-error .egg {
display: none;
}
#global-error {
color: #fa8072;
font-size: 12px;
}
#global-error .egg {
padding-left: 3px;
}
.tab:hover {
color: #5f9ea0;
}
.tab.selected {
background-color: #f8f8f8;
border-color: #28292a;
border-top: 1px solid #f8f8f8;
border-width: 1px 1px 0;
color: #28292a;
}
.tab-group .tab.selected:first-child {
border-left: 1px solid #f8f8f8;
}
.tab-group .tab.selected:last-child {
border-right: 1px solid #f8f8f8;
}
.tab:not(.selected) {
border-bottom: 1px solid #28292a;
}
.tab.disabled {
color: #656565;
}
#refresh-all-button {
margin-left: 24px;
}
.content:not(.selected) {
display: none;
}
.content {
margin: 16px;
}