lib.itmens/common/static/lib/css/collection.css
Henri Dickson 0ffd47ca96
new style
* new style with picocss
* djlint
* rate distribution
* collection item drag to order
* discover available for guest
* search combine movie tv
2023-05-20 11:01:18 -04:00

271 lines
4.7 KiB
CSS

.action-bar {
float: right;
color: #ccc;
}
.action-bar.inline {
float: unset;
display: inline;
}
.action-bar a {
cursor: pointer;
color: #ccc;
}
.action-bar>span {
margin-left: 8px;
}
.action-bar a:hover {
color: #00a1cc;
}
.action-icon svg {
cursor: pointer;
fill: #ccc;
height: 12px;
vertical-align: text-bottom;
}
.entity-list__entity-img-wrapper {
position: relative;
}
.entity-list__entity-action-icon {
position: absolute;
top:0;
right:0;
mix-blend-mode: hard-light;
text-stroke: 1px black;
background-color: lightgray;
border-radius: 0 0 0 8px;
padding: 0 4px;
cursor: pointer;
opacity: 0.2;
}
.entity-list__entity-action-icon:hover {
opacity: 1;
}
.helptext{
position: relative;
top: -1em;
}
/*** django-jsoneditor ***/
div.jsoneditor {
border-color: #ccc !important;;
}
div.jsoneditor-menu {
background-color: #606c76 !important;;
border-color: #606c76 !important;
}
/***** MODAL DIALOG ****/
#modal {
/* Underlay covers entire screen. */
position: fixed;
top:0px;
bottom: 0px;
left:0px;
right:0px;
background-color:rgba(0,0,0,0.5);
z-index:1000;
/* Flexbox centers the .modal-content vertically and horizontally */
display:flex;
flex-direction:column;
align-items:center;
/* Animate when opening */
animation-name: fadeIn;
animation-duration:150ms;
animation-timing-function: ease;
}
#modal > .modal-underlay {
/* underlay takes up the entire viewport. This is only
required if you want to click to dismiss the popup */
position: absolute;
z-index: -1;
.collection_list_position_edittop:0px;
bottom:0px;
left: 0px;
right: 0px;
}
#modal > .modal-content {
/* Position visible dialog near the top of the window */
margin-top:10vh;
/* Sizing for visible dialog */
width:80%;
max-width:600px;
/* Display properties for visible dialog*/
background-color: #f7f7f7;
padding: 20px 20px 10px 20px;
color: #606c76;
/* Animate when opening */
animation-name:zoomIn;
animation-duration:150ms;
animation-timing-function: ease;
}
#modal.closing {
/* Animate when closing */
animation-name: fadeOut;
animation-duration:150ms;
animation-timing-function: ease;
}
#modal.closing > .modal-content {
/* Aniate when closing */
animation-name: zoomOut;
animation-duration:150ms;
animation-timing-function: ease;
}
@keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@keyframes zoomIn {
0% {transform: scale(0.9);}
100% {transform: scale(1);}
}
@keyframes zoomOut {
0% {transform: scale(1);}
100% {transform: scale(0.9);}
}
#modal .add-to-list-modal__head {
margin-bottom: 20px;
}
#modal .add-to-list-modal__head::after {
content: ' ';
clear: both;
display: table;
}
#modal .add-to-list-modal__title {
font-weight: bold;
font-size: 1.2em;
float: left;
}
#modal .add-to-list-modal__close-button {
float: right;
cursor: pointer;
}
#modal .add-to-list-modal__confirm-button {
float: right;
}
#modal li, #modal ul, #modal label {
display: inline;
}
.donut {
margin-left: 10%;
width: 80%;
aspect-ratio : 1 / 1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.donut .hole {
width: 80%;
aspect-ratio : 1 / 1;
border-radius: 50%;
background: #f7f7f7;
display: flex;
align-items: center;
justify-content: center;
}
/* progress {
border-radius: 7px;
width: 80%;
height: 10px;
box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}
::-webkit-progress-bar {
background-color: #ccc;
}
::-webkit-progress-value {
background-color: #00a1cc;
} */
.markdownx-editor {
font-family: monospace;
}
.icon {
color: grey;
cursor: pointer;
}
.icon:hover {
color: #00a1cc;
}
input:invalid#position {
border: red dashed 1px;
}
summary:focus {
outline-style: none;
}
summary::-webkit-details-marker {
display: none;
}
.gg-play-button-o {
box-sizing: border-box;
position: relative;
display: inline-block;
transform: scale(var(--ggs,1));
width: 22px;
height: 22px;
border: 2px solid;
border-radius: 20px
}
.gg-play-button-o::before {
content: "";
display: inline-block;
box-sizing: border-box;
position: absolute;
width: 0;
height: 10px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 6px solid;
top: 4px;
left: 7px
}
.icon-spin {
transition: transform .8s ease-in-out;
}
.icon-spin:hover {
transform: rotate(360deg);
}
.action-bar .fa-lock, .fa-spin {
color: lightgray;
}