| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- .cp__page {
- &-publish-actions {
- background-color: var(--ls-primary-background-color);
- padding: 50px 0;
- margin: -1.5rem;
- > h1 {
- font-size: 18px;
- padding: 15px;
- text-align: center;
- }
- > .it {
- display: flex;
- justify-content: flex-start;
- padding-top: 5px;
- padding-bottom: 5px;
- button {
- width: 90%;
- justify-content: center;
- padding: 15px 0;
- }
- }
- }
- }
- .cp__vertical-menu-button {
- opacity: 60%;
- display: block;
- }
- .cp__vertical-menu-button:hover {
- opacity: 1;
- }
- .cp__vertical-menu-button svg {
- width: 20px;
- height: 20px;
- }
- .graph-filters {
- width: 200px;
- background: var(--ls-secondary-background-color);
- }
- .graph-filters ul {
- margin-left: 0;
- }
- .graph-filters li {
- list-style: none;
- margin: 0;
- }
- .graph-layout {
- background: var(--ls-secondary-background-color);
- }
- .search-filter-close svg {
- transform: scale(0.7);
- }
- .ls-page-title {
- @apply rounded-sm;
- &.title {
- .block-main-container {
- @apply gap-2;
- }
- }
- .edit-input {
- @apply w-full border-0 p-0 pr-1 bg-transparent outline-0;
- box-shadow: none;
- &-wrapper {
- @apply rounded;
- &.editing {
- background-color: var(--ls-secondary-background-color);
- }
- }
- }
- .page-icon {
- @apply font-[48px] leading-none;
- .ui__button {
- @apply !h-auto pb-[1.5px];
- }
- }
- .ls-page-title-actions {
- &:has(button[data-popup-active]) {
- @apply opacity-100;
- }
- }
- }
- a.page-title {
- padding: 0 8px;
- margin-left: -8px;
- transition: none;
- display: block;
- color: inherit;
- }
- .page-title-sizer-wrapper {
- @apply w-full overflow-x-auto overflow-y-hidden;
- :empty::before {
- content: '\200b';
- }
- > .title {
- @apply w-full overflow-hidden overflow-ellipsis;
- }
- }
- html.is-native-android,
- html.is-native-ipad,
- html.is-native-iphone,
- html.is-native-iphone-without-notch {
- .ls-page-title {
- margin: 0 0 10px -15px;
- padding: 0 !important;
- }
- }
- /* Change to another cursor style if Shift key is active */
- [data-active-keystroke*="Shift" i] :is(.journal-title, .page-title,
- .block-ref, .page-ref, a.tag,
- .bullet-container.cursor) {
- cursor: e-resize;
- }
- .ls-all-pages {
- max-width: 1400px;
- }
- .add-button-link {
- opacity: 0;
- color: var(--ls-primary-text-color);
- transform: scale(.8);
- margin-left: -1px;
- &:hover {
- color: var(--ls-primary-text-color);
- opacity: .6 !important;
- transform: scale(.9);
- }
- &:active {
- opacity: .8 !important;
- }
- &-wrap {
- cursor: pointer;
- }
- }
- html.is-native-android,
- html.is-native-ios {
- .block-content-wrapper {
- /* 38px is the width of block-control */
- width: calc(100% - 35px);
- @screen sm {
- width: calc(100% - 33px);
- }
- }
- }
- .page-blocks-collapse-control, .page-blocks-collapse-control:hover {
- text-decoration: none;
- cursor: default;
- min-width: 22px;
- padding-top: 22px;
- color: initial;
- user-select: none;
- .control-hide {
- display: none;
- }
- }
- .toned-down {
- opacity: 0.5;
- color: var(--ls-secondary-text-color);
- }
- .highlighted {
- opacity: 1;
- color: var(--ls-primary-text-color);
- }
- .separator-top {
- border-top: 1px solid var(--ls-quaternary-background-color);
- }
- .icon-box {
- display: inline-block;
- line-height: normal;
- background-color: var(--ls-quaternary-background-color);
- }
- .references {
- @apply select-none;
- }
- .no-ring {
- @apply focus:ring-0 focus:ring-offset-0;
- }
- .ls-preview-popup {
- @apply pl-6;
- .tippy-wrapper {
- @apply p-2;
- &.as-page {
- @apply -ml-5 pl-7 outline-none;
- }
- &.as-block {
- @apply -ml-5;
- }
- }
- }
- .cp__right-sidebar {
- .page-linked > .content {
- @apply pt-2;
- }
- }
- .ls-page-blocks {
- @apply min-h-[60px] overflow-hidden;
- }
- .block-add-button {
- &.selected {
- opacity: 1 !important;
- }
- }
|