Skip to content

Commit

Permalink
refactor: rename various files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Aug 24, 2024
1 parent 08875a7 commit 204609b
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 71 deletions.
13 changes: 13 additions & 0 deletions source/04 search-container.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* ───────────────────────────────────────────────── */
/** Search container (cmd+f)
──────────────────────────────────────────────────── */
.document-search-container {
margin-right: 0;
margin-left: 0;
border-bottom: var(--thin-border);
box-shadow: var(--shadow-s);
}

body:not(.show-close-buttons, .is-mobile) .document-search-close-button {
display: none;
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
/* ───────────────────────────────────────────────── */
/** Search container (cmd+f)
──────────────────────────────────────────────────── */
.document-search-container {
margin-right: 0;
margin-left: 0;
border-bottom: var(--thin-border);
box-shadow: var(--shadow-s);
}

body:not(.show-close-buttons, .is-mobile) .document-search-close-button {
display: none;
}

/* ───────────────────────────────────────────────── */
/** Settings Menu
──────────────────────────────────────────────────── */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,63 +95,6 @@ body:not(.show-close-buttons, .is-mobile) .search-input-clear-button {
display: none;
}

/* ───────────────────────────────────────────────── */
/** Progress Bars
──────────────────────────────────────────────────── */

/* Vault Launch */
/* INFO use `debugger` in the console while the vault launches. Close Obsidian
* while the console is open, so the console appears on start. */

@keyframes startup-blink {
/* cannot use variables, since they are not fully available yet on startup */
0% {
opacity: 0.1;
}

50% {
opacity: 1;
}

100% {
opacity: 0.1;
}
}

/* .app-container is needed so this does not affect the canvas progress bar */
.app-container + .progress-bar .progress-bar-message {
margin-bottom: 30px;
font-size: 0;
animation-name: startup-blink;
animation-duration: 1s;
animation-iteration-count: infinite;
}

.app-container + .progress-bar .progress-bar-message::before {
font-size: 10rem;
font-weight: 500;
color: var(--text-normal);
content: var(--signature);
}

.app-container + .progress-bar .progress-bar-indicator {
display: none;
}

/* Plugin Update Progress Bar */
.modal .is-loading::before {
height: 8px;
background: linear-gradient(
45deg,
var(--color-accent) 0% 20%,
var(--hover-accent) 40% 60%,
var(--secondary-accent) 80% 100%
);
}

.theme-light .modal .is-loading::before {
filter: brightness(1.2);
}

/* ───────────────────────────────────────────────── */
/** Context Menu (Right-click)
Expand Down
58 changes: 58 additions & 0 deletions source/06 progress-bars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

/* ───────────────────────────────────────────────── */
/** Progress Bars
──────────────────────────────────────────────────── */

/* Vault Launch */
/* INFO use `debugger` in the console while the vault launches. Close Obsidian
* while the console is open, so the console appears on start. */

@keyframes startup-blink {
/* cannot use variables, since they are not fully available yet on startup */
0% {
opacity: 0.1;
}

50% {
opacity: 1;
}

100% {
opacity: 0.1;
}
}

/* .app-container is needed so this does not affect the canvas progress bar */
.app-container + .progress-bar .progress-bar-message {
margin-bottom: 30px;
font-size: 0;
animation-name: startup-blink;
animation-duration: 1s;
animation-iteration-count: infinite;
}

.app-container + .progress-bar .progress-bar-message::before {
font-size: 10rem;
font-weight: 500;
color: var(--text-normal);
content: var(--signature);
}

.app-container + .progress-bar .progress-bar-indicator {
display: none;
}

/* Plugin Update Progress Bar */
.modal .is-loading::before {
height: 8px;
background: linear-gradient(
45deg,
var(--color-accent) 0% 20%,
var(--hover-accent) 40% 60%,
var(--secondary-accent) 80% 100%
);
}

.theme-light .modal .is-loading::before {
filter: brightness(1.2);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 204609b

Please sign in to comment.