Skip to content

Commit

Permalink
Remove css-scope-inline entirely.
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed May 20, 2024
1 parent a70425f commit 76a1a95
Show file tree
Hide file tree
Showing 32 changed files with 1,092 additions and 1,104 deletions.
56 changes: 56 additions & 0 deletions server/static/css/admin_extra.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,60 @@
/** Don't show inline item names; it's visual clutter. */
.tabular.inline-related td.original p {
visibility: hidden
}



/**---------------------------------
* Logo Specimen (Django admin view)
*---------------------------------*/

logo-specimen {
display: flex;
gap: 0.5rem;
}

logo-specimen .bubble {
display: flex;
align-items: center;
overflow: hidden;
width: 48px;
height: 48px;
background-color: var(--logo-bg-color);
}

logo-specimen .bubble img {
display: block;
margin: 0 auto;
max-width: 80%;
max-height: 80%;
}

logo-specimen .bg {
display: flex;
font-weight: 600;
align-items: center;
justify-content: center;
padding-left: 0.5rem;
padding-right: 0.5rem;
background-color: var(--logo-bg-color);
color: var(--logo-bg-text-color);
}

logo-specimen .action {
cursor: pointer;
display: flex;
font-weight: 600;
align-items: center;
justify-content: center;
padding-left: 0.5rem;
padding-right: 0.5rem;
transition: opacity 0.2s;
background-color: var(--logo-action-color);
color: var(--logo-action-text-color);
}

logo-specimen .action:hover {
opacity: 0.7;
transition: opacity 0.2s ease-in-out;
}
69 changes: 0 additions & 69 deletions server/static/css/base.css

This file was deleted.

Loading

0 comments on commit 76a1a95

Please sign in to comment.