1
0
mirror of https://github.com/kremalicious/hyper-mac-pro.git synced 2024-11-25 19:18:30 +01:00
hyper-mac-pro/styles.css

165 lines
3.6 KiB
CSS
Raw Normal View History

2017-05-10 01:55:44 +02:00
:root {
--tab-height: 35px;
--tab-background: linear-gradient(to bottom, #898989 0%, #676767 100%);
--tab-background-hover: linear-gradient(to bottom, #777 0%, #595959 100%);
--tab-background-inactive: linear-gradient(to bottom, #7d7d7d 0%, #5e5e5e 100%);
--tab-background-blur: linear-gradient(to bottom, #606060 0%, #555 100%);
--tab-background-blur-active: linear-gradient(to bottom, #666 0%, #595959 100%);
2017-05-10 01:55:44 +02:00
--tab-border-color: #5e5e5e;
--tab-text-color: #030303;
--tab-text-color-inactive: #363636;
}
.hyper_main { border: none; }
.header_header {
top: 0;
left: 0;
right: 0;
2017-05-12 12:55:29 +02:00
}
/* Create a half pixel top border */
.header_header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
z-index: 2;
background: #cfcfcf;
transform: scaleY(.5);
2017-05-10 01:55:44 +02:00
}
.tabs_nav {
background: var(--tab-background-inactive);
2017-05-10 01:55:44 +02:00
height: var(--tab-height);
line-height: var(--tab-height);
}
.no-tabs .tabs_nav {
background: var(--tab-background);
}
.blur .tabs_nav,
.no-tabs.blur .tabs_nav {
background: var(--tab-background-blur);
2017-05-10 01:55:44 +02:00
}
.tabs_list {
max-height: var(--tab-height);
}
.fullscreen .tabs_list {
margin-left: 0;
}
.tabs_nav .tab_tab {
background: var(--tab-background-inactive);
2017-05-10 01:55:44 +02:00
border-left: 1px solid var(--tab-border-color) !important;
border-bottom: 0;
transition: background .25s ease-out;
}
.no-tabs .tabs_nav .tab_tab {
background: var(--tab-background);
}
.blur .tabs_nav .tab_tab,
.no-tabs.blur .tabs_nav .tab_tab {
background: var(--tab-background-blur);
2017-05-10 01:55:44 +02:00
}
.tabs_nav .tab_text,
.tabs_nav .tabs_title {
height: var(--tab-height);
color: var(--tab-text-color-inactive);
text-shadow: 0 1px 0 rgba(255, 255, 255, .1);
transition: .25s ease-out;
}
.tabs_nav .tabs_title,
.fullscreen .tabs_nav .tab_text {
font-size: 13px;
}
.tabs_nav .tabs_title,
.tabs_nav .tabs_list .tab_active .tab_text {
color: var(--tab-text-color);
}
.blur .tabs_nav .tabs_title,
.blur .tabs_nav .tabs_list .tab_active .tab_text {
transition: none;
color: var(--tab-text-color-inactive);
}
2017-05-10 01:55:44 +02:00
.tabs_nav .tab_tab.tab_first:not(.tab_active) {
border-left: 0 !important;
}
.tabs_nav .tab_tab.tab_first:not(.tab_active):hover {
box-shadow: -1px 0 0 var(--tab-border-color);
}
.tabs_nav .tab_tab:not(.tab_active):hover {
background: var(--tab-background-hover);
2017-05-10 01:55:44 +02:00
}
.tabs_nav .tabs_list .tab_active {
background: var(--tab-background);
}
.blur .tabs_nav .tabs_list .tab_active {
background: var(--tab-background-blur-active);
2017-05-10 01:55:44 +02:00
}
.tabs_nav .tabs_list .tab_active .tab_text {
transition: none;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
text-shadow: 0 1px 0 rgba(255, 255, 255, .15);
z-index: 1;
}
.tabs_nav .tabs_borderShim {
display: none;
}
2017-05-12 18:04:42 +02:00
/* The close icon */
2017-05-10 01:55:44 +02:00
.tabs_nav .tabs_list .tab_icon {
z-index: 2;
right: auto;
left: 7px;
top: 11px;
color: var(--tab-text-color);
border-radius: 3px;
2017-05-12 18:04:42 +02:00
padding: 4px;
background-color: transparent;
2017-05-10 01:55:44 +02:00
filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .15));
}
.tabs_nav .tabs_list .tab_icon:hover {
color: var(--tab-text-color);
2017-05-12 18:04:42 +02:00
background-color: rgba(0, 0, 0, .12);
2017-05-10 01:55:44 +02:00
filter: none;
}
2017-05-12 18:04:42 +02:00
.tabs_nav .tabs_list .tab_active .tab_icon:hover {
background-color: rgba(0, 0, 0, .15);
}
2017-05-10 01:55:44 +02:00
.tabs_nav .tabs_list .tab_icon:active {
2017-05-12 18:04:42 +02:00
filter: none;
2017-05-10 01:55:44 +02:00
transition: none;
2017-05-12 18:04:42 +02:00
background-color: rgba(0, 0, 0, .2);
}
.tabs_nav .tabs_list .tab_active .tab_icon:active {
background-color: rgba(0, 0, 0, .22);
2017-05-10 01:55:44 +02:00
}
.terms_terms {
margin-top: var(--tab-height);
border-top: 1px solid #181818;
}