| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625 |
- body[data-page=repo-add],
- body[data-page=import] {
- .cp__header .add-graph-btn {
- display: none;
- }
- }
- .cp__onboarding {
- &-setups {
- z-index: 1;
- overflow: hidden;
- border-radius: 20px;
- .as-flex-center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .inner-card {
- padding-top: 55px;
- > h1 {
- font-size: 30px;
- strong {
- color: var(--ls-active-primary-color);
- display: inline-block;
- padding-right: 4px;
- font-weight: normal;
- &:first-child {
- display: block;
- text-align: center;
- padding-bottom: 15px;
- }
- }
- }
- > h2 {
- font-size: 14px;
- margin-top: 20px;
- margin-bottom: 40px;
- padding: 0 30px;
- text-align: center;
- }
- > article {
- border-radius: 20px;
- flex: 1;
- > section {
- flex: 1;
- &.a {
- background-color: var(--ls-tertiary-background-color);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding-top: 75px;
- padding-bottom: 100px;
- border-radius: 20px 20px 0 0;
- min-width: 50%;
- > strong {
- font-size: 28px;
- padding-bottom: 15px;
- font-weight: 600;
- }
- > small {
- font-size: 18px;
- line-height: 30px;
- padding: 0 40px;
- text-align: center;
- }
- > .choose {
- padding-top: 48px;
- width: 100%;
- cursor: pointer;
- &:active {
- opacity: .8;
- }
- i {
- width: 180px;
- height: 120px;
- background-image: url("../img/folder-logo.png");
- background-size: contain;
- }
- .control {
- padding: 20px 20px 0 20px;
- width: 100%;
- }
- }
- }
- &.b {
- display: none;
- padding: 50px 40px;
- > p {
- width: 100%;
- &:first-child {
- i {
- width: 42px;
- }
- strong {
- font-size: 19px;
- line-height: 1.5em;
- }
- }
- }
- ul {
- margin: 0;
- padding-top: 20px;
- width: 100%;
- > li {
- list-style: none;
- margin-bottom: 8px;
- height: 40px;
- display: flex;
- &.hr {
- height: 1px;
- border-bottom: 1px solid var(--ls-border-color);
- margin: 20px 0px;
- opacity: 0.6;
- }
- > i {
- width: 48px;
- background-image: url(../img/folder.png);
- background-size: contain;
- background-repeat: no-repeat;
- background-position-y: 2px;
- position: relative;
- right: -2px;
- &.is-file {
- background-image: url("../img/file-edn.png");
- background-size: 50%;
- background-position-x: center;
- }
- > .ti, .tie {
- opacity: .25;
- color: black;
- }
- }
- > span {
- flex: 1;
- padding-left: 15px;
- display: flex;
- flex-direction: column;
- strong {
- font-size: 11px;
- }
- }
- }
- }
- }
- }
- &.importer {
- background-color: var(--ls-tertiary-background-color);
- position: relative;
- > section {
- flex: unset;
- padding: 0 30px;
- h1 {
- font-size: 26px;
- font-weight: 500;
- }
- h2 {
- font-size: 14px;
- padding-top: 15px;
- padding-bottom: 15px;
- }
- &.d {
- width: 100%;
- padding: 20px 0;
- > label {
- width: unset;
- height: 80px;
- flex: 1;
- margin-bottom: 10px;
- > span {
- &:first-child {
- padding: 16px;
- i {
- height: 30px;
- width: 30px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- }
- strong {
- font-size: 18px;
- }
- small {
- font-size: 11px;
- }
- }
- }
- }
- }
- }
- @screen lg {
- background-color: unset;
- > h1 {
- font-size: 36px;
- strong {
- &:first-child {
- display: inline-block;
- }
- }
- }
- > h2 {
- font-size: 20px;
- padding: 0;
- }
- > article {
- max-width: 100vw;
- flex: unset;
- > section {
- &.a {
- > small {
- padding: 0 95px;
- }
- > .choose {
- .control {
- padding: 30px 70px 0 70px;
- }
- }
- }
- &.b {
- display: flex;
- }
- }
- &.importer {
- > section {
- padding: 0;
- h1 {
- font-size: 28px;
- }
- h2 {
- font-size: 19px;
- line-height: 3em;
- padding: unset;
- }
- &.e {
- position: absolute;
- bottom: -50px;
- right: 15px;
- a.button {
- padding: 4px 10px;
- }
- }
- }
- }
- }
- }
- }
- label.action-input {
- transition: none;
- color: var(--ls-active-primary-color);
- background-color: var(--ls-quaternary-background-color);
- height: 68px;
- width: 100%;
- opacity: .8;
- user-select: none;
- border-radius: 12px;
- overflow: hidden;
- cursor: pointer;
- small {
- font-size: 11px;
- }
- &:hover {
- opacity: 1;
- }
- &:active {
- opacity: .5;
- }
- &[disabled] {
- pointer-events: none;
- }
- }
- @screen lg {
- justify-content: center;
- align-items: center;
- }
- }
- &-quick-tour {
- &.shepherd-element, .shepherd-arrow:before {
- background-color: var(--ls-quaternary-background-color);
- font-size: 14px;
- }
- &.shepherd-element {
- max-width: 320px;
- border-radius: 8px;
- box-shadow: none;
- &[data-shepherd-step-id=nav-journal-page] {
- .shepherd-arrow {
- left: 30px !important;
- }
- }
- }
- .shepherd-content {
- display: flex;
- flex-direction: column;
- -webkit-font-smoothing: antialiased;
- }
- .shepherd-text {
- font-size: 14px;
- color: var(--ls-secondary-text-color);
- flex: 1;
- padding: 8px 10px;
- position: relative;
- h2 {
- font-size: 18px;
- line-height: 28px;
- font-weight: 700;
- padding-top: 5px;
- padding-bottom: 5px;
- }
- p {
- color: var(--ls-secondary-text-color);
- }
- .steps {
- position: absolute;
- bottom: -28px;
- left: 10px;
- font-size: 12px;
- strong {
- opacity: .5;
- font-size: 11px;
- }
- ul {
- display: flex;
- list-style: none;
- align-items: center;
- margin: 0;
- padding-left: 1px;
- padding-top: 2px;
- li {
- padding: 0;
- width: 5px;
- height: 5px;
- margin: 0 5px 0 0;
- background-color: rgba(0, 0, 0, .2);
- border-radius: 100%;
- font-size: 0;
- &.active {
- background-color: var(--ls-primary-text-color);
- }
- }
- }
- }
- }
- .shepherd-footer {
- button {
- background-color: var(--lx-bg-override, var(--lx-accent-09, var(--ls-button-background)));
- padding: 4px 8px;
- border-radius: 6px;
- overflow: hidden;
- color: white;
- font-size: 13px;
- font-weight: 500;
- &.back {
- background-color: rgba(0, 0, 0, .3);
- }
- &.bg-gray {
- @apply bg-gray-400;
- }
- }
- button:hover {
- background-color: var(--lx-bg-override, var(--lx-accent-10, var(--ls-button-background)));
- }
- }
- }
- &-skip-quick-tour {
- -webkit-font-smoothing: antialiased;
- position: fixed;
- bottom: 20px;
- left: 50%;
- transform: translateX(-60px);
- z-index: 10001;
- background-color: #4B5563;
- padding: 12px 20px;
- border-radius: 8px;
- color: white;
- box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
- font-weight: 700;
- .ti, .tie {
- padding-right: 6px;
- font-size: 18px;
- position: relative;
- top: 2px;
- font-weight: normal;
- }
- &:hover {
- opacity: .8;
- }
- &:active {
- opacity: 1;
- }
- }
- }
- .shepherd-modal-overlay-container.shepherd-modal-is-visible {
- transition: none;
- opacity: .4;
- }
- .shepherd-target {
- &.nav-content-item {
- background-color: rgba(0, 0, 0, .4);
- padding-left: 15px;
- padding-right: 15px;
- }
- .nav-content-item-inner {
- background-color: var(--ls-secondary-background-color);
- overflow: hidden;
- .header {
- padding: 4px 10px !important;
- }
- .bd {
- ul a {
- padding: 2px 8px !important;
- }
- }
- }
- &.page-title {
- background-color: rgba(0, 0, 0, .4);
- > h1 {
- background-color: var(--ls-primary-background-color);
- border-radius: 12px;
- }
- }
- &.cp__sidebar-help-btn {
- background-color: rgba(0, 0, 0, .4);
- z-index: 9;
- > .inner {
- opacity: 1;
- }
- }
- &.cp__header-left-menu {
- background-color: rgba(0, 0, 0, .4);
- border-radius: 0;
- opacity: 1 !important;
- transition: none;
- &:hover {
- background-color: rgba(0, 0, 0, .4);
- }
- > .inner {
- border-radius: 100%;
- background-color: var(--ls-primary-background-color);
- }
- }
- }
- .shepherd-element {
- &[data-popper-placement^=right] > .shepherd-arrow {
- left: -4px;
- }
- &[data-popper-placement^=top] > .shepherd-arrow {
- bottom: -4px !important;
- }
- &[data-popper-placement^=left] > .shepherd-arrow {
- right: -4px !important;
- }
- &[data-popper-placement^=bottom] > .shepherd-arrow {
- top: -4px !important;
- }
- }
- .shepherd-arrow, .shepherd-arrow:before {
- width: 8px;
- height: 8px;
- }
- html[data-theme=light] {
- .cp__onboarding {
- &-quick-tour {
- &.shepherd-element, .shepherd-arrow:before {
- background-color: #E8E5DE;
- }
- }
- }
- }
- html.is-native-android,
- html.is-native-ipad,
- html.is-native-iphone,
- html.is-native-iphone-without-notch {
- .cp__onboarding {
- &-setups {
- width: 100%;
- height: 100%;
- overflow-y: auto;
- .inner-card {
- padding-top: 30px;
- min-height: 100%;
- width: 100%;
- > h2 {
- margin-bottom: 25px;
- }
- > article {
- > section {
- &.a {
- padding-top: 25px;
- small {
- text-align: left;
- padding: 0 40px;
- }
- .mobile-intro {
- margin-top: 10px;
- line-height: 1.5rem;
- font-size: 1rem;
- }
- > .choose {
- padding-top: 25px;
- }
- }
- }
- }
- @screen lg {
- > article {
- width: 1040px;
- height: 510px;
- }
- }
- }
- }
- }
- }
- html.is-native-android {
- .cp__onboarding-setups {
- position: absolute;
- top: 0;
- left: 0;
- }
- }
|