2019-06-18 13:47:21 +03:00
|
|
|
:root {
|
2021-02-03 22:08:01 +03:00
|
|
|
/* Main menu variables */
|
2021-02-09 19:34:46 +03:00
|
|
|
--mainmenu-color-hover-bg: var(--whitegrey-l1);
|
2021-02-03 22:08:01 +03:00
|
|
|
--mainmenu-color-active: var(--black);
|
2021-02-04 19:25:42 +03:00
|
|
|
--mainmenu-color-active-bg: var(--whitegrey);
|
2021-02-09 19:34:46 +03:00
|
|
|
--mainmenu-width: 320px;
|
2021-02-05 14:04:36 +03:00
|
|
|
--mainmenu-padding: var(--main-layout-area-padding);
|
2021-11-03 13:24:56 +03:00
|
|
|
--contextualmenu-width: 360px;
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 16:55:14 +03:00
|
|
|
/* Utils */
|
|
|
|
.width-25 { width: 25%; }
|
|
|
|
.width-34 { width: 34%; }
|
|
|
|
.width-50 { width: 50%; }
|
|
|
|
.width-67 { width: 67%; }
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Global Layout
|
|
|
|
/* ---------------------------------------------------------- */
|
2015-04-24 16:44:18 +03:00
|
|
|
|
2018-05-01 12:57:20 +03:00
|
|
|
/* Main viewport, contains main content, and alerts */
|
|
|
|
/* Use `position: fixed`, covering full window area so scrolling on mobile doesn't trigger elastic scroll */
|
|
|
|
.gh-app {
|
2017-11-09 15:55:46 +03:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2015-04-24 16:44:18 +03:00
|
|
|
display: flex;
|
2015-05-18 17:20:43 +03:00
|
|
|
flex-direction: column;
|
2015-04-24 16:44:18 +03:00
|
|
|
overflow: hidden;
|
2015-10-23 20:18:39 +03:00
|
|
|
height: 100%;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2015-05-18 18:37:33 +03:00
|
|
|
/* Content viewport, contains everything else */
|
2015-05-19 11:15:16 +03:00
|
|
|
.gh-viewport {
|
2015-05-18 17:20:43 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
2015-08-25 19:01:26 +03:00
|
|
|
overflow: hidden;
|
2015-10-23 20:18:39 +03:00
|
|
|
max-height: 100%;
|
2015-05-18 17:20:43 +03:00
|
|
|
}
|
|
|
|
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-main {
|
2015-05-12 17:30:35 +03:00
|
|
|
position: relative;
|
2015-04-24 16:44:18 +03:00
|
|
|
flex-grow: 1;
|
2015-05-12 15:55:24 +03:00
|
|
|
display: flex;
|
2019-06-18 13:47:21 +03:00
|
|
|
flex-direction: column;
|
|
|
|
background: var(--main-bg-color);
|
2017-02-17 08:50:07 +03:00
|
|
|
overflow-y: auto;
|
2017-06-02 00:02:03 +03:00
|
|
|
/* prevent horizontal scroll in IE11 */
|
|
|
|
overflow-x: hidden;
|
2019-04-15 19:23:09 +03:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-main-white {
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
2021-02-04 20:19:39 +03:00
|
|
|
.gh-main-grey {
|
|
|
|
background: var(--whitegrey-l2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-grey-gradient {
|
|
|
|
background: linear-gradient(315deg,var(--whitegrey-l2),var(--white));
|
|
|
|
}
|
|
|
|
|
2021-02-16 20:12:24 +03:00
|
|
|
.gh-main-wide .gh-canvas {
|
|
|
|
max-width: 1600px;
|
|
|
|
}
|
|
|
|
|
2021-07-22 16:47:01 +03:00
|
|
|
.gh-main-fullwidth .gh-canvas {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-09-22 19:36:27 +03:00
|
|
|
/* Flexbox fix. https://github.com/TryGhost/Ghost/issues/5804#issuecomment-141416812 */
|
|
|
|
.gh-main > section {
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 100%;
|
2017-03-20 15:33:06 +03:00
|
|
|
position: relative; /* for the editor in safari */
|
2015-09-22 19:36:27 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-user-avatar {
|
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: block;
|
|
|
|
width: 34px;
|
|
|
|
height: 34px;
|
|
|
|
margin: 0px 8px 0 0;
|
|
|
|
background-position: 50%;
|
|
|
|
background-size: cover;
|
|
|
|
border-radius: 100%;
|
2021-02-11 18:24:40 +03:00
|
|
|
border: 1px solid var(--whitegrey);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Global Nav
|
|
|
|
/* ---------------------------------------------------------- */
|
2015-04-24 16:44:18 +03:00
|
|
|
|
2015-05-20 00:36:33 +03:00
|
|
|
.gh-nav {
|
2015-05-20 19:52:55 +03:00
|
|
|
position: relative;
|
2015-06-09 19:25:45 +03:00
|
|
|
z-index: 800;
|
2021-02-03 22:08:01 +03:00
|
|
|
flex: 0 0 var(--mainmenu-width);
|
2015-05-20 00:36:33 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-06-18 13:47:21 +03:00
|
|
|
min-width: 0;
|
2021-02-04 15:37:04 +03:00
|
|
|
/* background: linear-gradient(315deg,var(--whitegrey-l2),var(--white)); */
|
2015-05-20 00:36:33 +03:00
|
|
|
transform: translateX(0);
|
2021-02-05 14:04:36 +03:00
|
|
|
border-right: 1px solid var(--main-color-area-divider);
|
2021-10-19 20:30:05 +03:00
|
|
|
transition: flex-basis 250ms;
|
2021-10-20 15:04:05 +03:00
|
|
|
overflow: hidden;
|
2015-05-20 00:36:33 +03:00
|
|
|
}
|
|
|
|
|
2022-02-01 20:59:20 +03:00
|
|
|
.gh-nav-contributor {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
border-right: none;
|
|
|
|
background: unset;
|
|
|
|
width: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-nav-menu {
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-02-05 14:04:36 +03:00
|
|
|
height: var(--main-layout-vpanel-height);
|
2021-02-03 22:08:01 +03:00
|
|
|
padding: var(--mainmenu-padding);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-dropdown .dropdown-menu {
|
2021-09-08 15:00:24 +03:00
|
|
|
top: -324px;
|
2021-02-12 19:36:23 +03:00
|
|
|
left: -13px;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 10px 0 0;
|
2021-02-10 17:54:30 +03:00
|
|
|
box-shadow: var(--box-shadow-m);
|
2021-02-10 23:05:54 +03:00
|
|
|
min-width: 290px;
|
2021-02-12 19:36:23 +03:00
|
|
|
padding: 6px 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2022-02-01 20:59:20 +03:00
|
|
|
.gh-nav-menu-dropdown-contributor .dropdown-menu {
|
|
|
|
top: -272px;
|
|
|
|
}
|
|
|
|
|
2019-08-23 12:01:27 +03:00
|
|
|
.gh-nav-menu-dropdown .dropdown-menu>li>a,
|
|
|
|
.gh-nav-menu-dropdown .dropdown-menu>li>button {
|
2019-06-18 13:47:21 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
margin: 0;
|
|
|
|
width: unset;
|
2021-02-10 23:05:54 +03:00
|
|
|
padding: 8px 24px 9px;
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2019-08-23 12:01:27 +03:00
|
|
|
.gh-nav-menu-dropdown .dropdown-menu>li>button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-menu-dropdown .dropdown-menu .divider {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-dropdown .dropdown-menu svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2017-04-05 17:26:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-dropdown.ember-basic-dropdown--transitioning-in {
|
|
|
|
animation: fade-in-scale 0.2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-dropdown.ember-basic-dropdown--transitioning-out {
|
|
|
|
animation: fade-out 0.5s;
|
|
|
|
animation-fill-mode: forwards;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-nav-menu-icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 10px;
|
2017-05-07 20:14:29 +03:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2017-04-07 16:29:58 +03:00
|
|
|
background-color: transparent;
|
2022-05-27 17:20:40 +03:00
|
|
|
background-size: cover;
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 6px;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-details {
|
2019-06-18 13:47:21 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-04-24 16:44:18 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
padding-right: 10px;
|
2015-06-24 15:37:37 +03:00
|
|
|
min-width: 0; /* TODO: This is a bullshit Firefox hack */
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-02-03 22:08:01 +03:00
|
|
|
.gh-nav-menu-details-sitetitle {
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2019-02-22 12:43:35 +03:00
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2015-04-24 16:44:18 +03:00
|
|
|
line-height: 1.3em;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 700;
|
2021-02-03 22:08:01 +03:00
|
|
|
color: var(--black);
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-menu-details-user {
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
2015-05-14 16:45:37 +03:00
|
|
|
color: var(--midgrey);
|
2015-04-24 16:44:18 +03:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-size: 1.2rem;
|
|
|
|
line-height: 1.2em;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-body {
|
2019-03-21 12:33:14 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
2015-04-24 16:44:18 +03:00
|
|
|
flex-grow: 1;
|
|
|
|
overflow-y: auto;
|
2021-02-03 22:08:01 +03:00
|
|
|
padding: 0;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-10-20 15:04:05 +03:00
|
|
|
.gh-nav-main-enter-active,
|
|
|
|
.gh-nav-main-leave-active,
|
|
|
|
.gh-nav-contextual-enter-active,
|
|
|
|
.gh-nav-contextual-leave-active {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
2021-10-20 17:44:54 +03:00
|
|
|
transition: transform 400ms ease;
|
2021-10-20 15:04:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-main-enter-active,
|
|
|
|
.gh-nav-main-leave-active {
|
|
|
|
width: calc(var(--mainmenu-width) - 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-main-enter,
|
|
|
|
.gh-nav-main-leave-to {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-contextual-enter-active,
|
|
|
|
.gh-nav-contextual-leave-active {
|
2021-11-03 13:24:56 +03:00
|
|
|
width: calc(var(--contextualmenu-width) - 1px);
|
2021-10-20 15:04:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* For some reason the animate-in transition wasn't working with pure transforms */
|
|
|
|
/* Using `left` correctly positioned the starting state so we could then use opposite transforms */
|
|
|
|
.gh-nav-contextual-enter-active {
|
2021-11-03 13:24:56 +03:00
|
|
|
left: calc(var(--contextualmenu-width) - 1px);
|
2021-10-20 15:04:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-contextual-enter-to {
|
|
|
|
transform: translateX(-100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-contextual-leave {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-contextual-leave-to {
|
|
|
|
transform: translateX(calc(var(--mainmenu-width) - 1px));
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:05:54 +03:00
|
|
|
.gh-account-menu-header {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-02-12 19:36:23 +03:00
|
|
|
padding: 12px 24px;
|
2021-02-10 23:05:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-account-menu-header .gh-user-avatar {
|
2021-02-12 19:36:23 +03:00
|
|
|
width: 44px;
|
|
|
|
height: 44px;
|
|
|
|
flex-basis: 44px;
|
2021-02-10 23:05:54 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-12 19:36:23 +03:00
|
|
|
.gh-account-menu-header .gh-user-info {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:05:54 +03:00
|
|
|
.gh-account-menu-header .user-menu-signout {
|
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-user-name {
|
2022-08-02 13:04:14 +03:00
|
|
|
display: inline-block;
|
|
|
|
width: 188px;
|
2021-02-12 19:56:40 +03:00
|
|
|
margin: 1px 0 0;
|
2021-02-10 23:05:54 +03:00
|
|
|
padding: 0;
|
|
|
|
word-break: break-all;
|
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2021-02-10 23:05:54 +03:00
|
|
|
font-weight: 600;
|
2022-08-23 12:50:29 +03:00
|
|
|
line-height: 1;
|
2021-02-10 23:05:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-user-email {
|
2022-08-02 13:04:14 +03:00
|
|
|
display: inline-block;
|
|
|
|
width: 188px;
|
2022-08-23 12:50:29 +03:00
|
|
|
margin: 0;
|
2021-02-10 23:05:54 +03:00
|
|
|
padding: 0;
|
|
|
|
word-break: break-all;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 400;
|
2022-08-23 12:50:29 +03:00
|
|
|
line-height: 1;
|
2021-02-10 23:05:54 +03:00
|
|
|
color: var(--middarkgrey);
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
/* Global search
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-nav-btn-search {
|
2021-02-03 22:08:01 +03:00
|
|
|
padding: 8px 8px 5px;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 999px;
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 2px -8px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-btn-search svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-btn-search svg path {
|
|
|
|
fill: var(--black);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-btn-search:hover {
|
2021-02-03 22:08:01 +03:00
|
|
|
background: var(--mainmenu-color-hover-bg);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-search-modal {
|
|
|
|
position: relative;
|
|
|
|
margin: -32px;
|
|
|
|
}
|
|
|
|
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-nav-search {
|
|
|
|
position: relative;
|
2019-06-18 13:47:21 +03:00
|
|
|
min-width: 300px;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-search-input .ember-power-select-trigger {
|
2016-05-25 12:52:21 +03:00
|
|
|
outline: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
background: var(--white);
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: none;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-search-input .ember-power-select-trigger input {
|
|
|
|
height: 25px;
|
|
|
|
margin-left: 26px !important;
|
|
|
|
font-size: 1.5rem !important;
|
2015-09-02 10:57:29 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-search-icon {
|
2015-04-24 16:44:18 +03:00
|
|
|
position: absolute;
|
2019-06-18 13:47:21 +03:00
|
|
|
top: 23px;
|
|
|
|
left: 15px;
|
2015-04-24 16:44:18 +03:00
|
|
|
bottom: 0;
|
2015-08-28 19:35:06 +03:00
|
|
|
z-index: 1;
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 16px !important;
|
|
|
|
height: 16px !important;
|
|
|
|
line-height: 13px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
2015-04-24 16:44:18 +03:00
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-search-icon path {
|
|
|
|
stroke: none !important;
|
2021-02-04 18:52:19 +03:00
|
|
|
fill: var(--midgrey);
|
2017-04-07 18:23:45 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-search-tips {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(100% + 5px);
|
|
|
|
padding: 0 8px;
|
|
|
|
border-radius: 5px;
|
|
|
|
right: 0;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 600;
|
|
|
|
letter-spacing: 0.2px;
|
|
|
|
text-align: right;
|
|
|
|
background: none;
|
|
|
|
color: rgba(255, 255, 255, 0.9);
|
|
|
|
text-shadow: 0px 1px 4px rgba(0,0,0,0.3);
|
2018-05-01 13:41:38 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
@media (max-width: 800px) {
|
|
|
|
.gh-nav-search {
|
|
|
|
min-width: 220px;
|
|
|
|
}
|
2017-04-07 18:23:45 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
|
|
|
|
/* Navigation
|
|
|
|
/* ---------------------------------------------------------- */
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-nav-list {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 32px 0 0;
|
|
|
|
padding: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
list-style: none;
|
2019-02-22 12:43:35 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.6em;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-02-04 15:37:04 +03:00
|
|
|
.gh-nav-list:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-11-14 12:55:08 +03:00
|
|
|
.gh-nav-list li {
|
|
|
|
margin: 0;
|
2019-03-21 12:33:14 +03:00
|
|
|
padding: 0;
|
2016-11-14 12:55:08 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-nav-list-h {
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
2021-01-28 18:25:21 +03:00
|
|
|
padding: 10px 27px;
|
2019-03-21 12:33:14 +03:00
|
|
|
color: color-mod(var(--darkgrey));
|
2015-05-16 14:43:12 +03:00
|
|
|
text-overflow: ellipsis;
|
2019-02-22 12:43:35 +03:00
|
|
|
text-transform: uppercase;
|
2015-05-16 14:43:12 +03:00
|
|
|
white-space: nowrap;
|
2019-06-18 13:47:21 +03:00
|
|
|
letter-spacing: 0.4px;
|
|
|
|
font-size: 1.1rem;
|
2015-04-24 16:44:18 +03:00
|
|
|
line-height: 1.1em;
|
2019-02-22 12:43:35 +03:00
|
|
|
font-weight: 500;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list a,
|
|
|
|
.gh-nav-list button.main-menu-item {
|
2015-04-24 16:44:18 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-10-12 15:30:12 +03:00
|
|
|
color: var(--darkgrey-l1);
|
2015-04-24 16:44:18 +03:00
|
|
|
transition: none;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 400;
|
2021-02-08 16:55:14 +03:00
|
|
|
padding: 7px var(--mainmenu-padding) 7px calc(var(--mainmenu-padding) + 7px);
|
2022-07-21 10:58:22 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
height: 34px;
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
box-sizing: border-box;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list button.main-menu-item {
|
|
|
|
width: calc(100% - 12px);
|
|
|
|
}
|
|
|
|
|
2015-04-24 16:44:18 +03:00
|
|
|
.gh-nav-list .active {
|
2019-06-18 13:47:21 +03:00
|
|
|
position: relative;
|
2021-02-03 22:08:01 +03:00
|
|
|
color: var(--mainmenu-color-active);
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 700;
|
2021-02-03 22:08:01 +03:00
|
|
|
/* border: 1px solid var(--black);
|
|
|
|
padding: 7px calc(var(--mainmenu-padding) - 2px) 7px calc(var(--mainmenu-padding) + 5px); */
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list a:not(.active):hover,
|
|
|
|
.gh-nav-list button.main-menu-item:hover {
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--darkgrey);
|
2021-02-03 22:35:11 +03:00
|
|
|
background: var(--mainmenu-color-hover-bg);
|
2016-08-18 14:42:42 +03:00
|
|
|
opacity: 1;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2019-02-22 12:43:35 +03:00
|
|
|
/* Icons */
|
2021-10-20 18:07:17 +03:00
|
|
|
.gh-nav-list svg {
|
2021-02-03 22:08:01 +03:00
|
|
|
margin-right: 17px;
|
2021-02-11 13:45:14 +03:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
/* fill: var(--midgrey); */
|
2016-03-29 11:40:44 +03:00
|
|
|
line-height: 1;
|
2019-06-18 13:47:21 +03:00
|
|
|
transition: none;
|
2021-02-03 22:08:01 +03:00
|
|
|
z-index: 999;
|
2015-04-24 16:44:18 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list svg.force-fill path {
|
|
|
|
fill: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list a:not(.active):hover svg,
|
|
|
|
.gh-nav-list button.main-menu-item:hover svg {
|
2021-02-03 22:08:01 +03:00
|
|
|
fill: var(--black);
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-list .active svg {
|
2021-02-04 15:37:04 +03:00
|
|
|
fill: var(--black);
|
2015-08-31 09:04:09 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list a svg g,
|
|
|
|
.gh-nav-list button.main-menu-item svg g {
|
2019-09-30 11:56:44 +03:00
|
|
|
stroke: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list a:not(.active):hover svg g {
|
|
|
|
stroke: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .active svg g {
|
2021-02-03 22:08:01 +03:00
|
|
|
stroke: #8FD200;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-button-expand {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 8px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
left: 8px;
|
2021-02-10 17:54:30 +03:00
|
|
|
top: 9px;
|
2021-10-28 13:09:58 +03:00
|
|
|
z-index: 999;
|
2021-02-10 17:54:30 +03:00
|
|
|
opacity: 1;
|
2019-09-30 11:56:44 +03:00
|
|
|
}
|
|
|
|
|
2020-01-30 18:35:36 +03:00
|
|
|
.gh-nav-button-expand.expanded {
|
|
|
|
padding-left: 9px;
|
2021-02-10 17:54:30 +03:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav:hover .gh-nav-button-expand {
|
|
|
|
opacity: 1;
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-button-expand svg {
|
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-button-expand svg path {
|
|
|
|
stroke-width: 2.0px;
|
|
|
|
stroke: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-button-expand:hover svg path {
|
|
|
|
stroke: color-mod(var(--darkgrey) l(-5%));
|
|
|
|
}
|
|
|
|
|
2022-07-21 10:58:22 +03:00
|
|
|
.gh-nav-list a[data-test-nav='posts'] svg {
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-list .gh-secondary-action {
|
2019-02-22 12:43:35 +03:00
|
|
|
position: absolute;
|
|
|
|
z-index: 999;
|
2021-02-03 22:08:01 +03:00
|
|
|
padding: 10px;
|
2019-02-22 12:43:35 +03:00
|
|
|
margin: 0;
|
2021-02-03 22:08:01 +03:00
|
|
|
right: 12px;
|
2022-07-21 10:58:22 +03:00
|
|
|
top: 0px;
|
2019-06-18 13:47:21 +03:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity ease 0.2s;
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-list li:hover .gh-secondary-action {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-secondary-action span {
|
2021-02-03 22:08:01 +03:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2019-02-22 12:43:35 +03:00
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-08-31 09:04:09 +03:00
|
|
|
}
|
|
|
|
|
2019-05-07 16:29:59 +03:00
|
|
|
.gh-nav-list .gh-secondary-action span svg {
|
2019-03-21 12:33:14 +03:00
|
|
|
margin-right: 0;
|
2021-03-04 16:51:19 +03:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2021-02-16 14:23:34 +03:00
|
|
|
fill: color-mod(var(--middarkgrey) l(-10%));
|
2017-11-09 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list .gh-secondary-action:not(.icon-only):hover span {
|
2021-02-03 22:08:01 +03:00
|
|
|
background: var(--mainmenu-color-hover-bg);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-secondary-action:hover,
|
2021-02-10 23:14:38 +03:00
|
|
|
.gh-nav-list a.gh-secondary-action:hover {
|
2019-03-21 12:33:14 +03:00
|
|
|
background: none;
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
2019-05-07 16:29:59 +03:00
|
|
|
.gh-nav-list .gh-secondary-action:hover span svg path {
|
2021-02-03 22:08:01 +03:00
|
|
|
fill: var(--black);
|
2017-06-01 17:40:41 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
.gh-nav-list .gh-secondary-action.icon-only,
|
|
|
|
.gh-nav-list .gh-secondary-action.icon-only span {
|
|
|
|
pointer-events: none;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-secondary-action.icon-only.arrow svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2021-03-04 16:51:19 +03:00
|
|
|
.gh-nav-list .gh-nav-new-post {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-list .gh-nav-new-post span svg {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-nav-new-post span svg path {
|
|
|
|
stroke: var(--darkgrey);
|
2021-03-04 16:51:19 +03:00
|
|
|
stroke-width: 1.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list .gh-nav-member-count {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 999;
|
|
|
|
padding: 2px 7px;
|
|
|
|
margin: 0;
|
|
|
|
right: 30px;
|
|
|
|
top: 5px;
|
|
|
|
background: var(--mainmenu-color-hover-bg);
|
|
|
|
color: var(--middarkgrey);
|
|
|
|
border-radius: 999px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
min-width: 23px;
|
|
|
|
text-align: center;
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-main {
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 24px 0;
|
2019-03-21 12:33:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-labs {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin-bottom: 32px;
|
2019-03-21 12:33:14 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
2019-02-22 12:43:35 +03:00
|
|
|
|
2019-10-01 13:25:17 +03:00
|
|
|
.gh-nav-pro .gh-btn-green {
|
2021-03-10 11:38:57 +03:00
|
|
|
margin: 12px 0 9px 38px!important;
|
|
|
|
width: calc(100% - 72px)!important;
|
2019-10-01 13:25:17 +03:00
|
|
|
}
|
|
|
|
|
2020-01-30 18:35:36 +03:00
|
|
|
.gh-nav-view-list {
|
|
|
|
padding: 0;
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 0 0 22px;
|
2020-01-30 18:35:36 +03:00
|
|
|
list-style: none;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-view-list a {
|
2021-03-09 14:24:39 +03:00
|
|
|
position: relative;
|
2022-07-21 10:58:22 +03:00
|
|
|
padding-left: calc(var(--mainmenu-padding) + 40px);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-viewname {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 160px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .circle {
|
2021-03-09 14:24:39 +03:00
|
|
|
position: absolute;
|
2020-02-03 16:45:18 +03:00
|
|
|
display: block;
|
|
|
|
border-radius: 999px;
|
|
|
|
border: 3px solid var(--midgrey);
|
2021-02-03 22:08:01 +03:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2021-03-09 14:24:39 +03:00
|
|
|
margin: 0;
|
|
|
|
right: 36px;
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-midgrey .circle {
|
|
|
|
border-color: var(--midgrey);
|
|
|
|
background: var(--midgrey);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-blue .circle {
|
|
|
|
border-color: var(--blue);
|
|
|
|
background: var(--blue);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-green .circle {
|
|
|
|
border-color: var(--green);
|
|
|
|
background: var(--green);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-red .circle {
|
|
|
|
border-color: var(--red);
|
|
|
|
background: var(--red);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-teal .circle {
|
|
|
|
border-color: #4dcddc;
|
|
|
|
background: #4dcddc;
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-purple .circle {
|
|
|
|
border-color: var(--purple);
|
|
|
|
background: var(--purple);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-yellow .circle {
|
|
|
|
border-color: var(--yellow);
|
|
|
|
background: var(--yellow);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-orange .circle {
|
|
|
|
border-color: #fe8b05;
|
|
|
|
background: #fe8b05;
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2020-02-03 16:45:18 +03:00
|
|
|
.gh-nav-view-list .svg-pink .circle {
|
|
|
|
border-color: var(--pink);
|
|
|
|
background: var(--pink);
|
2020-01-30 18:35:36 +03:00
|
|
|
}
|
|
|
|
|
2021-01-28 18:25:21 +03:00
|
|
|
/* Bottom nav
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.gh-nav-bottom {
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: var(--mainmenu-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom .ember-basic-dropdown-trigger {
|
|
|
|
padding: 4px 8px 4px 4px;
|
|
|
|
margin: -4px -8px -4px -4px;
|
2022-02-01 20:59:20 +03:00
|
|
|
border-radius: 999px;
|
|
|
|
background: var(--main-bg-color);
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom .ember-basic-dropdown-trigger:hover {
|
2021-02-03 22:35:11 +03:00
|
|
|
background: var(--whitegrey);
|
2022-02-01 20:59:20 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-contributor .gh-nav-bottom .ember-basic-dropdown-trigger {
|
|
|
|
padding: 8px 12px 8px 8px;
|
|
|
|
margin: -4px 0px -4px 0px;
|
|
|
|
/* background: var(--main-bg-color); */
|
|
|
|
/* box-shadow:
|
|
|
|
0px -1px 10px rgba(0, 0, 0, 0.08),
|
|
|
|
0px 2.8px 2.2px rgba(0, 0, 0, 0.014),
|
|
|
|
0px 6.7px 5.3px rgba(0, 0, 0, 0.02),
|
|
|
|
0px 12.5px 10px rgba(0, 0, 0, 0.025),
|
|
|
|
0px 22.3px 17.9px rgba(0, 0, 0, 0.03),
|
|
|
|
0px 41.8px 33.4px rgba(0, 0, 0, 0.036),
|
|
|
|
0px 100px 80px rgba(0, 0, 0, 0.05)
|
|
|
|
; */
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-left: 12px;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 999px;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 1;
|
2021-02-11 13:45:14 +03:00
|
|
|
color: var(--darkgrey);
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon:hover {
|
2021-02-03 22:35:11 +03:00
|
|
|
background: var(--whitegrey);
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon.active {
|
2021-02-03 22:35:11 +03:00
|
|
|
background: var(--whitegrey-d1);
|
2021-02-11 13:45:14 +03:00
|
|
|
color: var(--black);
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon.active svg {
|
2021-02-03 22:08:01 +03:00
|
|
|
fill: var(--black);
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon svg {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2021-02-03 22:08:01 +03:00
|
|
|
fill: var(--darkgrey);
|
2021-01-28 18:25:21 +03:00
|
|
|
line-height: 1;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-bottom-tabicon:last-child[data-tooltip]:before {
|
|
|
|
left: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle-container {
|
|
|
|
padding: 8px 0 8px 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle-container[data-tooltip]:before {
|
|
|
|
left: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle {
|
|
|
|
position: relative;
|
2021-02-04 17:25:20 +03:00
|
|
|
height: 22px;
|
2021-01-28 18:25:21 +03:00
|
|
|
width: 42px;
|
2021-02-03 22:08:01 +03:00
|
|
|
background: var(--black);
|
2021-01-28 18:25:21 +03:00
|
|
|
border-radius: 999px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all ease-in-out 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle .thumb {
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
left: 2px;
|
2021-02-04 17:25:20 +03:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2021-01-28 18:25:21 +03:00
|
|
|
background-color: var(--white);
|
|
|
|
border-radius: 999px;
|
|
|
|
transition: all ease-in-out 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle.on .thumb {
|
|
|
|
position: absolute;
|
2021-02-11 18:24:40 +03:00
|
|
|
left: 22px;
|
|
|
|
top: 2px;
|
2021-01-28 18:25:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle .sun {
|
|
|
|
position: absolute;
|
2021-02-04 17:25:20 +03:00
|
|
|
top: 5px;
|
|
|
|
right: 6px;
|
2021-01-28 18:25:21 +03:00
|
|
|
color: var(--white);
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle .moon {
|
|
|
|
position: absolute;
|
2021-02-04 17:25:20 +03:00
|
|
|
top: 5px;
|
2021-01-28 18:25:21 +03:00
|
|
|
left: 6px;
|
|
|
|
color: var(--white);
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle .sun svg,
|
|
|
|
.nightshift-toggle .moon svg {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
transition: all ease-in-out 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightshift-toggle .sun svg line,
|
|
|
|
.nightshift-toggle .sun svg path,
|
|
|
|
.nightshift-toggle .sun svg circle,
|
|
|
|
.nightshift-toggle .moon svg path {
|
|
|
|
stroke-width: 2.0px;
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:29:44 +03:00
|
|
|
/* Tablet/mid sizes
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
@media (max-width: 1240px) {
|
|
|
|
.gh-nav {
|
|
|
|
flex-basis: 280px;
|
|
|
|
}
|
2021-10-20 15:18:10 +03:00
|
|
|
|
|
|
|
.gh-nav-main-enter-active,
|
|
|
|
.gh-nav-main-leave-active {
|
|
|
|
width: calc(280px - 1px);
|
|
|
|
}
|
2021-02-12 16:29:44 +03:00
|
|
|
}
|
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
/* Mobile Nav Menu (Slides out)
|
2015-05-20 18:37:06 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
.gh-mobilemenu-button {
|
|
|
|
display: none;
|
2015-05-20 18:37:06 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
@media (max-width: 800px) {
|
2015-08-25 19:01:26 +03:00
|
|
|
.view-header {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
.gh-mobilemenu-button {
|
|
|
|
flex-shrink: 0;
|
2017-04-14 19:22:14 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-08-25 19:01:26 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 24px;
|
2015-05-25 22:13:00 +03:00
|
|
|
font-size: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
.gh-mobilemenu-button .icon-gh {
|
|
|
|
margin: 0;
|
2017-04-14 19:22:14 +03:00
|
|
|
width: 20px;
|
|
|
|
height: 18px;
|
2015-05-25 22:13:00 +03:00
|
|
|
}
|
2015-05-20 18:37:06 +03:00
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
/* Hide the nav */
|
2022-02-01 20:59:20 +03:00
|
|
|
.gh-nav:not(.gh-nav-contributor) {
|
2015-05-25 22:13:00 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-02-12 16:29:44 +03:00
|
|
|
width: 260px;
|
2015-05-25 22:13:00 +03:00
|
|
|
height: 100%;
|
2019-06-18 13:47:21 +03:00
|
|
|
background: var(--white);
|
2015-06-09 19:25:45 +03:00
|
|
|
transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
2021-02-12 16:29:44 +03:00
|
|
|
transform: translate3d(-260px, 0px, 0px);
|
2015-05-25 22:13:00 +03:00
|
|
|
}
|
2022-03-10 19:13:43 +03:00
|
|
|
|
2015-06-09 19:25:45 +03:00
|
|
|
.mobile-menu-expanded .gh-nav {
|
2015-05-25 22:13:00 +03:00
|
|
|
transform: translate3d(0,0,0);
|
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2021-02-12 16:29:44 +03:00
|
|
|
.mobile-menu-expanded .content-cover {
|
|
|
|
width: calc(100vw - 260px);
|
|
|
|
cursor: pointer;
|
|
|
|
transform: translate3d(260px, 0, 0);
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-nav-list .active {
|
2021-02-12 16:29:44 +03:00
|
|
|
background: var(--black);
|
|
|
|
color: var(--white);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
2015-05-20 18:37:06 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 22:13:00 +03:00
|
|
|
@media (max-width: 500px) {
|
2015-08-25 19:01:26 +03:00
|
|
|
.gh-mobilemenu-button {
|
|
|
|
padding: 24px 15px 24px 16px;
|
|
|
|
}
|
|
|
|
|
2022-02-01 20:59:20 +03:00
|
|
|
.gh-nav:not(.gh-nav-contributor) {
|
2015-08-25 19:01:26 +03:00
|
|
|
width: 80vw;
|
|
|
|
transform: translate3d(-80vw, 0px, 0px);
|
2015-05-25 22:13:00 +03:00
|
|
|
}
|
2015-06-09 19:25:45 +03:00
|
|
|
.mobile-menu-expanded .gh-nav {
|
|
|
|
transform: translate3d(0,0,0);
|
2015-05-25 22:13:00 +03:00
|
|
|
}
|
2015-08-25 19:01:26 +03:00
|
|
|
.mobile-menu-expanded .content-cover {
|
2017-09-27 19:22:44 +03:00
|
|
|
width: 20vw;
|
|
|
|
cursor: pointer;
|
2015-08-25 19:01:26 +03:00
|
|
|
transform: translate3d(80vw, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list {
|
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2015-08-25 19:01:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-nav-list-h {
|
2016-08-18 14:42:42 +03:00
|
|
|
font-size: 1.2rem;
|
2015-08-25 19:01:26 +03:00
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.gh-nav-list svg {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin-right: 10px;
|
2015-08-25 19:01:26 +03:00
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
2020-02-03 22:18:51 +03:00
|
|
|
|
|
|
|
.gh-nav-button-expand svg {
|
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
2015-05-20 18:37:06 +03:00
|
|
|
}
|
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
/* Mobile Nav Bar (Sits at bottom of screen)
|
2015-05-14 16:45:37 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
2015-05-12 21:08:55 +03:00
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
.gh-mobile-nav-bar { display: none; }
|
2015-05-12 21:08:55 +03:00
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
@media (max-width: 800px) {
|
2017-02-21 11:18:15 +03:00
|
|
|
|
|
|
|
/* Make space for the mobile nav bar */
|
|
|
|
.gh-viewport {
|
|
|
|
padding-bottom: 55px;
|
|
|
|
}
|
|
|
|
|
2022-02-01 20:59:20 +03:00
|
|
|
.gh-nav:not(.gh-nav-contributor) .gh-nav-body {
|
2021-07-01 12:24:18 +03:00
|
|
|
padding-bottom: 64px;
|
|
|
|
}
|
|
|
|
|
2020-09-22 09:43:17 +03:00
|
|
|
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
|
|
.gh-viewport {
|
|
|
|
padding-bottom: calc(55px + env(safe-area-inset-bottom, 0px));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
.gh-mobile-nav-bar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: #fff;
|
|
|
|
border-top: var(--lightgrey) 1px solid;
|
2021-02-22 23:43:57 +03:00
|
|
|
z-index: 9999;
|
2017-02-17 10:32:29 +03:00
|
|
|
}
|
2015-05-12 21:08:55 +03:00
|
|
|
|
2020-09-22 09:43:17 +03:00
|
|
|
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
|
|
.gh-mobile-nav-bar {
|
|
|
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-17 10:32:29 +03:00
|
|
|
.gh-mobile-nav-bar a,
|
|
|
|
.gh-mobile-nav-bar-more {
|
|
|
|
height: 55px;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 10px 10px 5px;
|
2017-02-17 10:32:29 +03:00
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2017-04-07 18:23:45 +03:00
|
|
|
color: var(--darkgrey);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
2017-07-31 10:49:49 +03:00
|
|
|
font-size: 1.2rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
flex-basis: 25%;
|
|
|
|
margin: 4px;
|
|
|
|
border-radius: 5px;
|
2017-04-07 18:23:45 +03:00
|
|
|
}
|
|
|
|
|
2017-11-09 15:28:54 +03:00
|
|
|
.gh-mobile-nav-bar a.active {
|
2021-02-12 16:29:44 +03:00
|
|
|
background: var(--black);
|
2022-01-10 12:11:35 +03:00
|
|
|
color: var(--white);
|
2017-11-09 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mobile-nav-bar a.active svg {
|
2022-01-10 12:11:35 +03:00
|
|
|
fill: var(--white);
|
2017-11-09 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mobile-nav-bar a.active.gh-nav-main-users g,
|
|
|
|
.gh-mobile-nav-bar a.active.gh-nav-main-users path {
|
|
|
|
fill: transparent;
|
2022-01-10 12:11:35 +03:00
|
|
|
stroke: var(--white);
|
2017-11-09 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
2017-07-31 10:49:49 +03:00
|
|
|
.gh-mobile-nav-bar svg,
|
|
|
|
.gh-mobile-nav-bar svg g {
|
2017-04-07 18:23:45 +03:00
|
|
|
width: 15px;
|
|
|
|
fill: var(--darkgrey);
|
2017-02-17 10:32:29 +03:00
|
|
|
}
|
2017-07-20 14:22:34 +03:00
|
|
|
|
2017-07-31 10:49:49 +03:00
|
|
|
.gh-mobile-nav-bar svg g path {
|
2022-01-10 12:11:35 +03:00
|
|
|
stroke: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-mobile-nav-bar .gh-mobile-nav-bar-more svg path {
|
|
|
|
fill: var(--darkgrey);
|
2017-07-31 10:49:49 +03:00
|
|
|
}
|
|
|
|
|
2021-07-01 12:15:34 +03:00
|
|
|
/* non-authed and fullscreen pages shouldn't have the mobile bar */
|
|
|
|
.unauthenticated-route .gh-viewport,
|
|
|
|
.gh-body-fullscreen .gh-viewport {
|
2017-07-20 14:22:34 +03:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-07-01 12:15:34 +03:00
|
|
|
.unauthenticated-route .gh-mobile-nav-bar,
|
|
|
|
.gh-body-fullscreen .gh-mobile-nav-bar {
|
2017-07-20 14:22:34 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2015-05-12 21:08:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Container for App View
|
|
|
|
/* ---------------------------------------------------------- */
|
2015-05-12 15:55:24 +03:00
|
|
|
|
|
|
|
.gh-view {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2015-05-12 14:09:45 +03:00
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-canvas {
|
|
|
|
flex-grow: 1;
|
2021-02-08 23:16:41 +03:00
|
|
|
padding: 0 var(--main-layout-content-sidepadding) 48px;
|
2017-02-15 15:43:49 +03:00
|
|
|
margin: 0 auto;
|
2021-02-08 23:16:41 +03:00
|
|
|
max-width: var(--main-layout-content-maxwidth);
|
2017-02-15 15:43:49 +03:00
|
|
|
}
|
|
|
|
|
2022-08-24 17:46:39 +03:00
|
|
|
.gh-canvas.gh-canvas-sticky {
|
|
|
|
padding-bottom: 0; /* No padding needed when tables are sticky */
|
|
|
|
}
|
|
|
|
|
2021-10-04 16:00:41 +03:00
|
|
|
.gh-canvas.circle-bg::before {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
top: -450px;
|
|
|
|
right: -250px;
|
|
|
|
width: 970px;
|
|
|
|
height: 970px;
|
|
|
|
border-radius: 50%;
|
|
|
|
z-index: 0;
|
|
|
|
background: var(--main-color-content-greybg);
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-canvas-header {
|
2021-10-14 13:39:48 +03:00
|
|
|
margin: 0 calc(-1 * var(--main-layout-content-sidepadding));
|
|
|
|
padding: 0 var(--main-layout-content-sidepadding);
|
2019-06-18 13:47:21 +03:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
background: var(--main-bg-color);
|
|
|
|
z-index: 700;
|
2021-02-04 15:37:04 +03:00
|
|
|
border-bottom: 1px solid;
|
|
|
|
border-color: transparent;
|
2021-02-03 22:08:01 +03:00
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2021-10-04 16:00:41 +03:00
|
|
|
.gh-canvas.circle-bg .gh-canvas-header {
|
|
|
|
position: relative;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2021-02-05 14:04:36 +03:00
|
|
|
.gh-canvas-header.grey,
|
2021-02-04 20:19:39 +03:00
|
|
|
.gh-main-grey .gh-canvas-header {
|
2021-02-05 14:04:36 +03:00
|
|
|
background: var(--main-color-content-greybg);
|
2021-02-04 20:19:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-grey-gradient .gh-canvas-header {
|
|
|
|
background: transparent;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-02-03 22:08:01 +03:00
|
|
|
.gh-canvas-header-content {
|
2021-02-05 14:04:36 +03:00
|
|
|
height: calc(var(--main-layout-vpanel-height) - 1px);
|
2021-02-03 22:08:01 +03:00
|
|
|
position: relative;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
2021-02-03 22:08:01 +03:00
|
|
|
.gh-main-width {
|
|
|
|
width: 100%;
|
2021-02-05 14:04:36 +03:00
|
|
|
max-width: var(--main-layout-content-maxwidth);
|
2021-02-03 22:08:01 +03:00
|
|
|
margin: 0 auto;
|
2021-02-05 14:04:36 +03:00
|
|
|
padding: 0 var(--main-layout-content-sidepadding);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-white .gh-canvas-header {
|
|
|
|
background: var(--white);
|
2017-02-15 15:43:49 +03:00
|
|
|
}
|
|
|
|
|
2021-10-04 16:00:41 +03:00
|
|
|
/* Main layouts */
|
|
|
|
.gh-main-layout.content-preview {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 460px;
|
|
|
|
grid-gap: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1320px) {
|
|
|
|
.gh-main-layout.content-preview {
|
|
|
|
grid-gap: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1140px) {
|
|
|
|
.gh-main-layout.content-preview {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-08 19:22:53 +03:00
|
|
|
/* Main sections */
|
2021-07-01 12:15:34 +03:00
|
|
|
/*
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section [columns-2|columns-3]
|
|
|
|
.gh-main-section-block [columns-2|columns-3]
|
|
|
|
.gh-main-section-header [small]
|
|
|
|
.gh-main-section-content [grey]
|
|
|
|
*/
|
2021-02-08 16:55:14 +03:00
|
|
|
.gh-main-section {
|
2021-02-08 19:22:53 +03:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
2021-02-08 16:55:14 +03:00
|
|
|
margin-bottom: 3vw;
|
2021-02-10 20:48:27 +03:00
|
|
|
grid-column-gap: 0;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 21:54:16 +03:00
|
|
|
.gh-main-section.no-heading,
|
|
|
|
.gh-main-section.bt {
|
2021-02-08 19:22:53 +03:00
|
|
|
border-top: 1px solid var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
2021-02-08 21:54:16 +03:00
|
|
|
.gh-main-section.bb { border-bottom: 1px solid var(--whitegrey); }
|
|
|
|
|
2021-02-09 00:30:48 +03:00
|
|
|
.gh-main-section-header {
|
2021-02-10 13:54:27 +03:00
|
|
|
font-size: 1.7rem;
|
2021-02-08 16:55:14 +03:00
|
|
|
font-weight: 600;
|
2021-02-08 23:16:41 +03:00
|
|
|
text-transform: none;
|
|
|
|
letter-spacing: unset;
|
2021-02-08 19:22:53 +03:00
|
|
|
padding: 8px 0;
|
2021-02-08 23:16:41 +03:00
|
|
|
border-bottom: 1px solid var(--whitegrey);
|
|
|
|
color: var(--black);
|
2021-02-08 19:22:53 +03:00
|
|
|
margin: 0;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-09 00:30:48 +03:00
|
|
|
.gh-main-section-header.small {
|
2021-02-08 21:54:16 +03:00
|
|
|
font-size: 1.1rem;
|
|
|
|
text-transform: uppercase;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0.03em;
|
2021-02-08 21:54:16 +03:00
|
|
|
font-weight: 500;
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
|
2021-02-09 00:30:48 +03:00
|
|
|
.gh-main-section-header.bn {
|
2021-02-08 21:20:26 +03:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2021-09-08 13:03:49 +03:00
|
|
|
.gh-main-section-header.pt0 {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-01 17:57:57 +03:00
|
|
|
.gh-main-section-header.pt5 {
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
|
|
|
|
2021-02-10 13:54:27 +03:00
|
|
|
.gh-main-section-description {
|
2021-02-08 21:54:16 +03:00
|
|
|
color: var(--middarkgrey);
|
2021-02-08 21:20:26 +03:00
|
|
|
border-bottom: 1px solid var(--whitegrey);
|
2021-02-08 21:54:16 +03:00
|
|
|
padding: 0 0 8px;
|
2021-02-10 13:54:27 +03:00
|
|
|
font-size: 1.3rem;
|
2021-02-08 21:20:26 +03:00
|
|
|
margin: 0;
|
2021-02-10 13:54:27 +03:00
|
|
|
font-weight: 400;
|
2021-02-08 21:20:26 +03:00
|
|
|
}
|
|
|
|
|
2021-07-01 12:15:34 +03:00
|
|
|
.gh-main-section-description.bn {
|
|
|
|
border-bottom: none;
|
2021-02-10 20:48:27 +03:00
|
|
|
}
|
2021-02-08 21:20:26 +03:00
|
|
|
|
2021-02-10 13:54:27 +03:00
|
|
|
.gh-main-section-header + .gh-main-section-description {
|
|
|
|
margin-top: -6px;
|
2021-02-08 23:16:41 +03:00
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
2021-02-10 13:54:27 +03:00
|
|
|
.gh-main-section-header.small + .gh-main-section-description {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
|
2021-02-08 19:22:53 +03:00
|
|
|
.gh-main-section.columns-2 {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2021-02-10 20:48:27 +03:00
|
|
|
grid-column-gap: 32px;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-09 00:30:48 +03:00
|
|
|
.gh-main-section.columns-2 .gh-main-section-header {
|
2021-02-08 19:22:53 +03:00
|
|
|
grid-column: 1 / 3;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 19:22:53 +03:00
|
|
|
.gh-main-section.columns-3 {
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
2021-02-10 20:48:27 +03:00
|
|
|
grid-column-gap: 32px;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-09 00:30:48 +03:00
|
|
|
.gh-main-section.columns-3 .gh-main-section-header {
|
2021-02-08 19:22:53 +03:00
|
|
|
grid-column: 1 / 4;
|
2021-02-08 16:55:14 +03:00
|
|
|
}
|
|
|
|
|
2021-02-08 19:22:53 +03:00
|
|
|
.gh-main-section-block {
|
2021-02-10 20:48:27 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-04-08 15:38:42 +03:00
|
|
|
.gh-main-section-block.span-2 {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:05:54 +03:00
|
|
|
.gh-main-section-block.with-margin,
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section-block:not(:last-of-type) {
|
|
|
|
margin-bottom: 32px;
|
2021-02-08 19:22:53 +03:00
|
|
|
}
|
|
|
|
|
2021-02-10 23:05:54 +03:00
|
|
|
.gh-main-section-block.no-margin {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-08 21:20:26 +03:00
|
|
|
.gh-main-section-block.bt { border-top: 1px solid var(--whitegrey); }
|
|
|
|
.gh-main-section-block.br { border-right: 1px solid var(--whitegrey); }
|
|
|
|
.gh-main-section-block.bb { border-bottom: 1px solid var(--whitegrey); }
|
|
|
|
.gh-main-section-block.bl { border-left: 1px solid var(--whitegrey); }
|
2021-02-08 19:22:53 +03:00
|
|
|
|
2021-02-08 23:16:41 +03:00
|
|
|
.gh-main-section-block.p0 { padding: 0; }
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section-content {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-section-content.grey {
|
2021-02-10 15:48:10 +03:00
|
|
|
background: var(--main-color-content-greybg);
|
2021-02-10 20:48:27 +03:00
|
|
|
padding: 24px;
|
2021-02-09 00:30:48 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2021-04-08 15:38:42 +03:00
|
|
|
.gh-main-section-content.bordered {
|
|
|
|
padding: 24px;
|
|
|
|
border: 1px solid var(--whitegrey);
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section-content.columns-2 {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2021-02-10 21:55:31 +03:00
|
|
|
grid-column-gap: 40px;
|
2021-02-10 20:48:27 +03:00
|
|
|
}
|
2021-02-09 19:22:58 +03:00
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section-content.columns-3 {
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
grid-column-gap: 24px;
|
2021-02-09 00:30:48 +03:00
|
|
|
}
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-main-section-content.padding-top-s {
|
|
|
|
padding-top: 16px;
|
2021-02-09 20:13:07 +03:00
|
|
|
}
|
|
|
|
|
2021-04-15 18:58:35 +03:00
|
|
|
.gh-main-section-content + .gh-main-section-header {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
|
|
|
|
2021-02-10 23:05:54 +03:00
|
|
|
.gh-main-section-block.stretch-height {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-section-block.stretch-height .gh-main-section-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
/* Expandable options */
|
2021-02-09 19:22:58 +03:00
|
|
|
.gh-expandable {
|
2021-02-10 15:48:10 +03:00
|
|
|
background: var(--main-color-content-greybg);
|
2021-02-09 20:13:07 +03:00
|
|
|
border-radius: 3px;
|
2022-08-19 17:44:09 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable.overflow-hidden {
|
2022-08-02 11:23:46 +03:00
|
|
|
overflow-x: hidden;
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-block {
|
2021-02-09 20:13:07 +03:00
|
|
|
border-bottom: 1px solid var(--white);
|
|
|
|
padding: 18px 24px;
|
2021-02-09 19:22:58 +03:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-block .gh-main-section {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-block:last-of-type {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2022-01-27 14:40:11 +03:00
|
|
|
flex-grow: 1;
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-header .gh-expandable-title {
|
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2021-02-09 20:13:07 +03:00
|
|
|
font-weight: 600;
|
2021-02-09 19:22:58 +03:00
|
|
|
color: var(--black);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-header .gh-expandable-description {
|
2022-08-22 18:52:33 +03:00
|
|
|
margin: 4px 0 0;
|
2021-02-09 19:22:58 +03:00
|
|
|
padding: 0;
|
2021-04-20 12:31:22 +03:00
|
|
|
color: var(--midgrey);
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 400;
|
2022-08-22 18:52:33 +03:00
|
|
|
line-height: 1.45em;
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-content {
|
2021-02-10 15:48:10 +03:00
|
|
|
background: linear-gradient(var(--main-color-content-greybg), color-mod(var(--main-color-content-greybg) l(-2%)));
|
2021-02-09 20:13:07 +03:00
|
|
|
margin: 18px -24px -18px;
|
|
|
|
padding: 0 24px;
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
2021-02-10 21:55:31 +03:00
|
|
|
.gh-expandable-content .gh-main-section-block {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-02-10 20:48:27 +03:00
|
|
|
/* Grey background modifiers */
|
2021-10-21 14:43:12 +03:00
|
|
|
.gh-main-section-content.grey .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-black):not(.gh-btn-link):not(.gh-btn-text):not(.gh-btn-outline),
|
|
|
|
.gh-expandable-content .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-black):not(.gh-btn-link):not(.gh-btn-text):not(.gh-btn-outline) {
|
2021-02-09 20:13:07 +03:00
|
|
|
background: var(--whitegrey-d2);
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
2022-02-07 18:11:08 +03:00
|
|
|
.gh-main-section-content.grey .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-text):not(.gh-btn-outline):not(.gh-btn-link):hover,
|
2021-10-21 14:43:12 +03:00
|
|
|
.gh-expandable-content .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):not(.gh-btn-link):not(.gh-btn-text):not(.gh-btn-outline):hover {
|
2021-02-09 20:13:07 +03:00
|
|
|
background: color-mod(var(--whitegrey-d2) l(-4%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-header .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red) {
|
|
|
|
background: color-mod(var(--whitegrey-d1) l(-1%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-expandable-header .gh-btn:not(.gh-btn-white):not(.gh-btn-green):not(.gh-btn-blue):not(.gh-btn-red):hover {
|
|
|
|
background: color-mod(var(--whitegrey-d2) l(-1%));
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
2021-02-10 21:55:31 +03:00
|
|
|
.gh-main-section-content.grey .gh-btn-group {
|
|
|
|
background: var(--whitegrey-d1);
|
|
|
|
}
|
|
|
|
|
2021-02-09 19:22:58 +03:00
|
|
|
.gh-expandable-content input:not(:focus),
|
|
|
|
.gh-expandable-content .gh-input:not(:focus),
|
2021-02-10 20:48:27 +03:00
|
|
|
.gh-expandable-content .ember-power-select-multiple-trigger {
|
2021-02-09 00:30:48 +03:00
|
|
|
border-color: var(--whitegrey-d1);
|
|
|
|
}
|
|
|
|
|
2021-02-10 21:55:31 +03:00
|
|
|
.gh-main-section-content.grey .gh-btn-tabs {
|
|
|
|
border-bottom: 1px solid var(--whitegrey-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-section-content.grey .gh-btn-tabs:first-child {
|
|
|
|
margin-top: -8px;
|
2021-02-09 19:22:58 +03:00
|
|
|
}
|
|
|
|
|
2021-02-12 16:40:30 +03:00
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.gh-main-section.columns-2,
|
|
|
|
.gh-main-section-content.columns-2 {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-row-gap: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-22 14:10:59 +03:00
|
|
|
.gh-main-content-card {
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 24px;
|
|
|
|
background: var(--main-bg-color);
|
|
|
|
margin-bottom: 12px;
|
|
|
|
box-shadow: 0 1px 4px -1px rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-main-content-card:last-of-type {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
2021-02-09 19:22:58 +03:00
|
|
|
/* Canvas */
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-canvas-title {
|
2022-02-01 17:41:21 +03:00
|
|
|
z-index: 1;
|
2017-02-15 15:43:49 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
2020-01-30 18:35:36 +03:00
|
|
|
margin: -3px 0 0 0;
|
2017-02-15 15:43:49 +03:00
|
|
|
padding: 0;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2021-02-04 15:37:04 +03:00
|
|
|
font-size: 3.1rem;
|
2021-02-19 19:32:54 +03:00
|
|
|
line-height: 1.3em;
|
2021-02-03 22:08:01 +03:00
|
|
|
font-weight: 700;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: -0.021em;
|
2017-05-30 16:23:38 +03:00
|
|
|
/* match button height to avoid jump on navigation between screens*/
|
|
|
|
min-height: 35px;
|
2021-02-03 22:08:01 +03:00
|
|
|
color: var(--black);
|
2017-05-30 16:23:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-title a {
|
2021-02-03 22:08:01 +03:00
|
|
|
color: var(--black);
|
2017-05-30 16:23:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-title span {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-title svg {
|
2021-03-22 12:53:39 +03:00
|
|
|
width: 0.5em;
|
|
|
|
height: 0.5em;
|
2017-05-30 16:23:38 +03:00
|
|
|
margin: 0 10px;
|
2017-02-15 15:43:49 +03:00
|
|
|
}
|
|
|
|
|
2020-01-30 18:35:36 +03:00
|
|
|
.gh-btn-edit-view {
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-title:hover .gh-btn-edit-view {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:40:30 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.gh-canvas-title svg {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2022-08-31 16:48:00 +03:00
|
|
|
|
|
|
|
.gh-canvas-title span.gh-canvas-title-hide-for-mobile {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-02-12 16:40:30 +03:00
|
|
|
}
|
|
|
|
|
2021-02-05 14:04:36 +03:00
|
|
|
|
2019-08-23 12:01:27 +03:00
|
|
|
/* What's new badges
|
|
|
|
/* ---------------------------------------------------- */
|
|
|
|
.gh-whats-new-badge-account {
|
2021-05-03 19:53:56 +03:00
|
|
|
top: -1px;
|
|
|
|
right: -3px;
|
2021-03-08 21:34:31 +03:00
|
|
|
border: 1px solid #fff;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2021-03-10 15:20:55 +03:00
|
|
|
background-color: var(--green);
|
2019-08-23 12:01:27 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
/* Used on tags, settings, labs, design etc.
|
|
|
|
/* TODO: remove and re-use gh-canvas...
|
|
|
|
/* ---------------------------------------------------- */
|
|
|
|
|
2015-05-12 14:09:45 +03:00
|
|
|
.view-header {
|
2015-05-12 15:55:24 +03:00
|
|
|
flex-shrink: 0;
|
2015-05-12 14:09:45 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2015-05-16 14:43:12 +03:00
|
|
|
align-items: center;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 24px;
|
|
|
|
margin: 2px 0 0;
|
2015-05-12 14:09:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.view-title {
|
2015-05-12 21:08:55 +03:00
|
|
|
display: flex;
|
2015-08-25 19:01:26 +03:00
|
|
|
align-items: center;
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: -3px 0 0 1px;
|
2015-05-12 14:09:45 +03:00
|
|
|
padding: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-overflow: ellipsis;
|
2019-06-18 13:47:21 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
font-size: 2.8rem;
|
2015-05-12 14:09:45 +03:00
|
|
|
line-height: 1.2em;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 600;
|
2019-11-22 14:15:59 +03:00
|
|
|
letter-spacing: 0.2px;
|
2019-06-18 13:47:21 +03:00
|
|
|
min-height: 35px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
2015-05-12 21:08:55 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.view-title a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2015-05-12 21:08:55 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.view-title a:hover {
|
|
|
|
color: var(--blue);
|
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.view-title svg {
|
2015-05-14 16:45:37 +03:00
|
|
|
margin: 0 10px;
|
2017-04-07 18:23:45 +03:00
|
|
|
height: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-title svg path {
|
|
|
|
fill: #818181;
|
2015-05-12 14:09:45 +03:00
|
|
|
}
|
|
|
|
|
2015-06-03 17:44:12 +03:00
|
|
|
.view-actions {
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
2015-08-26 16:12:04 +03:00
|
|
|
align-items: center;
|
2015-06-03 17:44:12 +03:00
|
|
|
}
|
|
|
|
|
2022-08-31 16:48:00 +03:00
|
|
|
.view-actions-secondary {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2015-05-12 15:55:24 +03:00
|
|
|
.view-container,
|
|
|
|
.view-content {
|
2015-06-03 17:44:12 +03:00
|
|
|
position: relative;
|
2015-05-12 15:55:24 +03:00
|
|
|
flex-grow: 1;
|
2021-02-04 15:37:04 +03:00
|
|
|
padding-top: 0;
|
2021-02-05 14:04:36 +03:00
|
|
|
padding-bottom: var(--main-layout-area-padding);
|
2015-05-12 15:55:24 +03:00
|
|
|
}
|
|
|
|
|
2022-08-24 17:46:39 +03:00
|
|
|
.gh-canvas-sticky .view-container {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-12 15:55:24 +03:00
|
|
|
.view-content {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
2015-05-14 23:30:25 +03:00
|
|
|
|
|
|
|
.view-content p,
|
|
|
|
.view-content p * {
|
|
|
|
user-select: text;
|
|
|
|
}
|
2015-08-25 19:01:26 +03:00
|
|
|
|
2019-10-03 13:56:31 +03:00
|
|
|
.view-actions input[type="text"] {
|
2019-10-04 14:28:10 +03:00
|
|
|
padding: 8px 8px 9px;
|
2021-02-05 14:04:36 +03:00
|
|
|
height: 33px;
|
2021-02-04 18:52:19 +03:00
|
|
|
font-size: 1.35rem;
|
|
|
|
}
|
|
|
|
|
2021-09-10 14:33:39 +03:00
|
|
|
.view-actions .gh-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-07-23 17:05:22 +03:00
|
|
|
.view-actions .gh-btn:not(.gh-btn-primary):not(.gh-btn-blue):not(.gh-btn-green):not(.gh-btn-link) {
|
2021-02-04 18:52:19 +03:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2021-02-04 20:19:39 +03:00
|
|
|
background: color-mod(var(--whitegrey-l1) l(-3%));
|
2021-02-04 18:52:19 +03:00
|
|
|
}
|
|
|
|
|
2021-07-23 17:05:22 +03:00
|
|
|
.view-actions .gh-btn:not(.gh-btn-primary):not(.gh-btn-blue):not(.gh-btn-green):not(.gh-btn-link):hover {
|
2021-02-04 18:52:19 +03:00
|
|
|
background: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions .gh-btn-icon-only {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions .gh-btn-icon-only svg {
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
fill: var(--black);
|
|
|
|
margin-right: 0;
|
2019-10-03 13:56:31 +03:00
|
|
|
}
|
|
|
|
|
2019-10-04 14:28:10 +03:00
|
|
|
.view-actions .gh-input-search-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 9px;
|
|
|
|
left: 9px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
fill: color-mod(var(--midlightgrey) l(+5%));
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-actions-menu {
|
|
|
|
top: calc(100% + 6px);
|
|
|
|
right: 10px;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-actions-menu.fade-out {
|
|
|
|
animation-duration: 0.01s;
|
|
|
|
}
|
|
|
|
|
2021-02-05 14:04:36 +03:00
|
|
|
.gh-canvas-header.black {
|
|
|
|
background: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.black .gh-canvas-title,
|
|
|
|
.gh-canvas-header.black .gh-canvas-title a {
|
|
|
|
color: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.black .view-actions .gh-btn:not(.gh-btn-primary):not(.gh-btn-blue):not(.gh-btn-green),
|
|
|
|
.gh-canvas-header.black .view-actions .gh-btn:not(.gh-btn-primary):not(.gh-btn-blue):not(.gh-btn-green):hover {
|
|
|
|
background: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.black .view-actions .gh-btn.gh-btn-primary,
|
|
|
|
.gh-canvas-header.black .view-actions .gh-btn.gh-btn-primary:hover {
|
|
|
|
background: var(--white) !important;
|
|
|
|
color: var(--black) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.black .view-actions .gh-btn svg {
|
|
|
|
fill: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
2021-07-01 12:15:34 +03:00
|
|
|
.gh-canvas-header.black .gh-contentfilter-menu-trigger,
|
|
|
|
.gh-canvas-header.black .gh-contentfilter-menu-trigger--active,
|
2021-02-05 14:04:36 +03:00
|
|
|
.gh-canvas-header.black .gh-contentfilter-menu-trigger:focus {
|
|
|
|
background: var(--black);
|
|
|
|
color: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.black .gh-contentfilter-menu-trigger svg path {
|
|
|
|
stroke: var(--whitegrey);
|
|
|
|
}
|
|
|
|
|
2021-02-12 16:29:44 +03:00
|
|
|
/* View action mobile sizes */
|
|
|
|
/* -------------------------------------------------------------------------------- */
|
|
|
|
.view-actions-top-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions-bottom-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-02-22 12:06:26 +03:00
|
|
|
@media (max-width: 1450px) {
|
2021-02-12 16:29:44 +03:00
|
|
|
.gh-canvas-header.break.tablet .gh-canvas-header-content {
|
2022-02-22 17:54:35 +03:00
|
|
|
height: 128px;
|
2021-02-12 16:29:44 +03:00
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.tablet .gh-canvas-title {
|
2022-03-01 21:48:28 +03:00
|
|
|
margin-top: 26px;
|
2021-02-12 16:29:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.tablet .view-actions {
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
right: 0;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
width: 100%;
|
|
|
|
max-height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.tablet .view-actions-bottom-row {
|
|
|
|
position: relative;
|
|
|
|
order: 2;
|
|
|
|
margin: 0;
|
2021-03-09 19:57:11 +03:00
|
|
|
padding: 6px 0 0;
|
2021-02-12 16:29:44 +03:00
|
|
|
max-width: calc(100vw - 390px);
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions-top-row {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions-bottom-row {
|
|
|
|
justify-content: flex-end;
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-actions-top-row > *:last-child,
|
|
|
|
.view-actions-bottom-row > *:last-child {
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.gh-canvas-title svg {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .gh-canvas-header-content {
|
|
|
|
border-bottom: 1px solid var(--main-color-area-divider);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .gh-canvas-header-content {
|
|
|
|
height: 128px;
|
|
|
|
border-bottom: 1px solid var(--main-color-area-divider);
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .gh-canvas-title {
|
|
|
|
margin-top: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .view-actions {
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
right: 0;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
max-height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .view-actions-bottom-row {
|
|
|
|
position: relative;
|
|
|
|
order: 2;
|
|
|
|
margin: 0;
|
|
|
|
padding: 24px 0 40px;
|
|
|
|
max-width: calc(100vw - 390px);
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas-header.break.mobile .view-actions:before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
top: 50px;
|
|
|
|
right: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 34px;
|
|
|
|
background: var(--whitegrey);
|
|
|
|
z-index: 999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-25 19:01:26 +03:00
|
|
|
@media (max-width: 400px) {
|
|
|
|
.view-header {
|
|
|
|
padding: 0 7px;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
.view-title {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
}
|
|
|
|
.view-content {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.gh-canvas-header {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-canvas {
|
|
|
|
padding: 0 4vw 4vw;
|
|
|
|
}
|
2021-02-12 16:29:44 +03:00
|
|
|
|
|
|
|
.gh-canvas-header.break .view-actions-bottom-row {
|
|
|
|
max-width: calc(100vw - 56px) !important;
|
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
2021-02-05 15:48:38 +03:00
|
|
|
|
|
|
|
section.gh-ds ul {
|
|
|
|
margin-bottom: 5vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.gh-ds ul li {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
section.gh-ds h2 {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
border-bottom: 1px solid var(--whitegrey);
|
2021-07-01 12:15:34 +03:00
|
|
|
}
|
2022-02-02 15:28:01 +03:00
|
|
|
|
|
|
|
|
2022-02-09 21:10:02 +03:00
|
|
|
/* Finishing touches */
|
|
|
|
/* ---------------------------------------------------- */
|
|
|
|
|
|
|
|
@keyframes fadeUp {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(32px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done {
|
2022-02-14 19:27:39 +03:00
|
|
|
background: linear-gradient(315deg,#efefef,#fff);
|
2022-02-09 21:10:02 +03:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done header {
|
|
|
|
padding: 0 0 48px;
|
2022-02-16 19:42:28 +03:00
|
|
|
margin-top: -4px;
|
2022-03-02 15:44:11 +03:00
|
|
|
margin-left: 3px;
|
2022-02-09 21:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done header h1 {
|
2022-02-16 19:42:28 +03:00
|
|
|
font-size: 3.1rem;
|
|
|
|
letter-spacing: -0.015em;
|
2022-02-14 19:27:39 +03:00
|
|
|
color: var(--black);
|
2022-03-02 15:44:11 +03:00
|
|
|
margin: 0 0 0.5rem;
|
2022-02-09 21:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-10 19:13:43 +03:00
|
|
|
.gh-done header p {
|
2022-02-09 21:10:02 +03:00
|
|
|
font-size: 1.9rem;
|
2022-03-03 14:39:50 +03:00
|
|
|
line-height: 1.3em;
|
2022-02-09 21:10:02 +03:00
|
|
|
margin: 0.5rem 0 2rem;
|
2022-03-02 15:44:11 +03:00
|
|
|
padding: 0 4rem 0 0;
|
2022-02-14 19:27:39 +03:00
|
|
|
color: var(--midgrey);
|
2022-02-09 21:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-03 14:39:50 +03:00
|
|
|
.gh-done h4 {
|
2022-03-07 20:02:27 +03:00
|
|
|
margin: 0 0 3rem;
|
2022-03-03 14:39:50 +03:00
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done section h2 {
|
|
|
|
font-size: 1.8rem;
|
2022-03-07 20:02:27 +03:00
|
|
|
margin: 0 0 3rem;
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done main {
|
2022-02-14 19:27:39 +03:00
|
|
|
background: var(--white);
|
2022-02-14 16:26:46 +03:00
|
|
|
box-shadow: 0 0 30px rgb(0 0 0 / 4%);
|
2022-02-16 19:42:28 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
2022-02-09 21:10:02 +03:00
|
|
|
animation: fadeUp ease 300ms;
|
|
|
|
animation-iteration-count: 1;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done section a {
|
|
|
|
display: grid;
|
2022-03-07 20:02:27 +03:00
|
|
|
grid-template-columns: 54px auto;
|
|
|
|
margin: 0 -0.5rem 1.25rem;
|
|
|
|
padding: 1.75rem 1.1rem 2.1rem;
|
|
|
|
border: 1px solid #ffb41f;
|
|
|
|
border-radius: 6px;
|
|
|
|
transition: border-color 100ms ease-out, transform 125ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-yellow {
|
|
|
|
border-color: var(--yellow-l3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-yellow:hover {
|
|
|
|
border-color: var(--yellow-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-blue {
|
|
|
|
border-color: var(--blue-l3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-blue:hover {
|
|
|
|
border-color: var(--blue-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-green {
|
|
|
|
border-color: var(--green-l3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-green:hover {
|
|
|
|
border-color: var(--green-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-pink {
|
|
|
|
border-color: var(--pink-l3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-pink:hover {
|
|
|
|
border-color: var(--pink-d1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a:hover {
|
|
|
|
transform: translateX(2px);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section span {
|
2022-03-03 14:39:50 +03:00
|
|
|
grid-row: 1 / 3;
|
|
|
|
grid-column: 1;
|
2022-03-02 15:44:11 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 5px;
|
2022-03-03 14:39:50 +03:00
|
|
|
background: var(--black);
|
2022-03-07 20:02:27 +03:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
min-width: 36px;
|
2022-03-02 15:44:11 +03:00
|
|
|
border-radius: 999px;
|
2022-03-03 14:39:50 +03:00
|
|
|
color: var(--white);
|
2022-03-07 20:02:27 +03:00
|
|
|
margin: 1px 4px 0;
|
|
|
|
transition: background-color 125ms ease-out;
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a.gh-done-yellow span {
|
2022-03-03 14:39:50 +03:00
|
|
|
background: var(--yellow);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
2022-03-07 20:02:27 +03:00
|
|
|
.gh-done section a.gh-done-yellow:hover span {
|
|
|
|
background: var(--yellow-d1);
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done section a.gh-done-blue span {
|
2022-03-03 14:39:50 +03:00
|
|
|
background: var(--blue);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
2022-03-07 20:02:27 +03:00
|
|
|
.gh-done section a.gh-done-blue:hover span {
|
|
|
|
background: var(--blue-d1);
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done section a.gh-done-green span {
|
2022-03-03 14:39:50 +03:00
|
|
|
background: var(--green);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
2022-03-07 20:02:27 +03:00
|
|
|
.gh-done section a.gh-done-green:hover span {
|
|
|
|
background: var(--green-d1);
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done section a.gh-done-pink span {
|
2022-03-03 14:39:50 +03:00
|
|
|
background: var(--pink);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
2022-03-07 20:02:27 +03:00
|
|
|
.gh-done section a.gh-done-pink:hover span {
|
|
|
|
background: var(--pink-d1);
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a svg {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a h6 {
|
2022-03-03 14:39:50 +03:00
|
|
|
grid-column: 2;
|
2022-03-07 20:02:27 +03:00
|
|
|
margin: 0 0 6px;
|
2022-03-02 15:44:11 +03:00
|
|
|
font-size: 1.5rem;
|
2022-07-21 10:58:22 +03:00
|
|
|
letter-spacing: 0;
|
2022-03-03 14:39:50 +03:00
|
|
|
font-weight: 600;
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done section a p {
|
2022-03-03 14:39:50 +03:00
|
|
|
grid-column: 2;
|
|
|
|
color: var(--midgrey);
|
2022-03-02 15:44:11 +03:00
|
|
|
margin: 0;
|
2022-03-07 20:02:27 +03:00
|
|
|
padding: 0 3rem 0 0;
|
2022-03-03 14:39:50 +03:00
|
|
|
line-height: 1.45em;
|
2022-02-09 21:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done .gh-setting-desc {
|
|
|
|
padding-right: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done .gh-nav-design .gh-setting-action {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done-panel {
|
2022-03-02 15:44:11 +03:00
|
|
|
margin: 8px 0 24px;
|
|
|
|
padding: 52px var(--main-layout-area-padding) 16px;
|
|
|
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
2022-03-03 14:39:50 +03:00
|
|
|
align-items: flex-start;
|
2022-03-02 15:44:11 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done-panel .gh-stack {
|
|
|
|
padding-bottom: 64px;
|
2022-02-09 21:10:02 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done-sidebar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 0 0 420px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
border-right: 1px solid #e6e9eb;
|
2022-02-14 19:11:45 +03:00
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done-preview {
|
2022-02-16 19:42:28 +03:00
|
|
|
flex-grow: 1;
|
2022-03-02 15:44:11 +03:00
|
|
|
padding: 48px;
|
2022-02-16 19:42:28 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done-preview .gh-browserpreview-previewcontainer {
|
|
|
|
border-radius: 5px;
|
2022-02-09 21:10:02 +03:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done-preview .gh-browserpreview-browser .tabs div {
|
2022-02-09 21:10:02 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done .gh-stack-item .gh-btn {
|
2022-02-16 19:42:28 +03:00
|
|
|
background: var(--whitegrey);
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done .gh-done-button {
|
2022-02-14 18:38:58 +03:00
|
|
|
position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 9999;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-02-14 19:27:39 +03:00
|
|
|
background: var(--white);
|
2022-02-16 19:42:28 +03:00
|
|
|
padding: 32px;
|
|
|
|
}
|
|
|
|
|
2022-03-02 15:44:11 +03:00
|
|
|
.gh-done .gh-nav {
|
2022-03-07 20:02:27 +03:00
|
|
|
flex: 0 0 420px !important;
|
2022-02-14 18:38:58 +03:00
|
|
|
}
|
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.gh-done-sidebar {
|
|
|
|
flex: 0 0 360px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done-preview {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done-preview .gh-browserpreview-previewcontainer {
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
2022-03-10 19:13:43 +03:00
|
|
|
|
2022-03-08 15:09:42 +03:00
|
|
|
.gh-done-preview .tabs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.gh-done-sidebar {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 99999;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done .gh-done-preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-done .gh-done-panel {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|