diff --git a/resources/css/csp-safe.css b/resources/css/csp-safe.css index 3e1d35070..b41accb76 100644 --- a/resources/css/csp-safe.css +++ b/resources/css/csp-safe.css @@ -146,6 +146,7 @@ code.api-token::-webkit-scrollbar-thumb { code.api-token::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 0, 0.5); } + /* Profile Page Styles */ /* Tab content visibility */ @@ -153,35 +154,6 @@ code.api-token::-webkit-scrollbar-thumb:hover { display: none; } -/* Progress bar animations */ -.progress-bar { - transition: width 0.3s ease-in-out; -} - -/* Custom scrollbar for API token code blocks */ -code.api-token { - overflow-x: auto; - word-break: break-all; -} - -code.api-token::-webkit-scrollbar { - height: 6px; -} - -code.api-token::-webkit-scrollbar-track { - background: rgba(0, 0, 0, 0.1); - border-radius: 3px; -} - -code.api-token::-webkit-scrollbar-thumb { - background: rgba(0, 255, 0, 0.3); - border-radius: 3px; -} - -code.api-token::-webkit-scrollbar-thumb:hover { - background: rgba(0, 255, 0, 0.5); -} - /* Toast Notifications */ #toast-container { position: fixed; @@ -884,3 +856,94 @@ code.api-token::-webkit-scrollbar-thumb:hover { margin-top: 0.5rem; } +/* Sidebar - Useful Links Content Styling */ +.useful-link-content { + max-width: 100%; + overflow-wrap: break-word; + word-wrap: break-word; +} + +.useful-link-content img { + max-width: 100%; + height: auto; + border-radius: 0.375rem; + margin: 0.5rem 0; + display: block; +} + +.useful-link-content p { + margin-bottom: 0.5rem; + line-height: 1.5; +} + +.useful-link-content p:last-child { + margin-bottom: 0; +} + +.useful-link-content a { + color: #60a5fa; + text-decoration: underline; +} + +.useful-link-content a:hover { + color: #93c5fd; +} + +.useful-link-content ul, +.useful-link-content ol { + margin: 0.5rem 0; + padding-left: 1.5rem; +} + +.useful-link-content li { + margin-bottom: 0.25rem; +} + +.useful-link-content h1, +.useful-link-content h2, +.useful-link-content h3, +.useful-link-content h4, +.useful-link-content h5, +.useful-link-content h6 { + font-weight: 600; + margin-top: 0.75rem; + margin-bottom: 0.5rem; + color: #e5e7eb; +} + +.useful-link-content h1 { font-size: 1.25rem; } +.useful-link-content h2 { font-size: 1.125rem; } +.useful-link-content h3 { font-size: 1rem; } +.useful-link-content h4, +.useful-link-content h5, +.useful-link-content h6 { font-size: 0.875rem; } + +.useful-link-content blockquote { + border-left: 3px solid #4b5563; + padding-left: 1rem; + margin: 0.5rem 0; + font-style: italic; + color: #9ca3af; +} + +.useful-link-content code { + background-color: #374151; + padding: 0.125rem 0.25rem; + border-radius: 0.25rem; + font-size: 0.875em; + font-family: monospace; +} + +.useful-link-content pre { + background-color: #1f2937; + padding: 0.75rem; + border-radius: 0.375rem; + overflow-x: auto; + margin: 0.5rem 0; +} + +.useful-link-content pre code { + background-color: transparent; + padding: 0; +} + diff --git a/resources/views/admin/categories/index.blade.php b/resources/views/admin/categories/index.blade.php index 473a5fcc1..6a68b3e24 100644 --- a/resources/views/admin/categories/index.blade.php +++ b/resources/views/admin/categories/index.blade.php @@ -165,7 +165,7 @@

Confirm Delete

-
@@ -178,10 +178,10 @@

- - + Delete
diff --git a/resources/views/admin/comments/index.blade.php b/resources/views/admin/comments/index.blade.php index 9d2f1124c..a4502becb 100644 --- a/resources/views/admin/comments/index.blade.php +++ b/resources/views/admin/comments/index.blade.php @@ -9,7 +9,7 @@

{{ session('success') }}

- @@ -21,7 +21,7 @@

{{ session('error') }}

- @@ -160,7 +160,7 @@ Confirm Deletion - @@ -174,7 +174,7 @@
diff --git a/resources/views/admin/groups/index.blade.php b/resources/views/admin/groups/index.blade.php index dfe380de2..ec63af4dc 100644 --- a/resources/views/admin/groups/index.blade.php +++ b/resources/views/admin/groups/index.blade.php @@ -363,7 +363,7 @@ This will reset the article pointers for the selected groups back to their current state.

-