1575 lines
27 KiB
CSS
1575 lines
27 KiB
CSS
/*
|
|
* BASIC STYLES
|
|
*/
|
|
|
|
*,
|
|
*:after,
|
|
*:before {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
background: rgb(40, 40, 40);
|
|
cursor: default;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.torrent, .torrent-placeholder {
|
|
height: 100px;
|
|
margin: 18px;
|
|
border-radius: 12px;
|
|
border: 1px solid #1c4352 !important;
|
|
}
|
|
.app {
|
|
color: #FAFAFA; /* grey50 */
|
|
font-family: BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.app.is-win32 {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
#body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
table {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid cyan !important;
|
|
}
|
|
.control input,.control input[type="text"] {
|
|
border: none !important;
|
|
border-color:transparent !important;
|
|
}
|
|
textarea {
|
|
border: none !important;
|
|
}
|
|
.app:not(.is-focused) {
|
|
background: transparent;
|
|
opacity: 0.3;
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
background-color: rgb(40, 40, 40);
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background-color: rgb(40, 40, 40);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
border: 1px solid rgb(40, 40, 40);
|
|
border-radius: 10px;
|
|
background: linear-gradient(to right, rgb(90, 90, 90), rgb(80, 80, 80))
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: rgb(40, 40, 40);
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.app {
|
|
-webkit-user-select: none;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
background-color: black;
|
|
background-image: radial-gradient(rgba(0, 62, 81, 0.75), black 120%);
|
|
animation: fadein 0.5s;
|
|
}
|
|
|
|
.app:not(.is-focused) {
|
|
background: rgb(40, 40, 40);
|
|
}
|
|
|
|
/*
|
|
* MATERIAL ICONS
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('MaterialIcons-Regular.woff2') format('woff2');
|
|
}
|
|
|
|
.icon {
|
|
font-family: 'Material Icons';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px; /* Preferred icon size */
|
|
display: inline-block;
|
|
line-height: 1;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
word-wrap: normal;
|
|
white-space: nowrap;
|
|
direction: ltr;
|
|
opacity: 0.85;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.icon.disabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.icon:not(.disabled):hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*
|
|
* UTILITY CLASSES
|
|
*/
|
|
|
|
.ellipsis {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.float-left {
|
|
float: left;
|
|
}
|
|
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
|
|
/*
|
|
* HEADER
|
|
*/
|
|
|
|
.header {
|
|
-webkit-app-region: drag;
|
|
background: rgb(40, 40, 40);
|
|
border-bottom: 1px solid rgb(30, 30, 30);
|
|
height: 38px; /* vertically center OS menu buttons (OS X) */
|
|
padding-top: 7px;
|
|
overflow: hidden;
|
|
flex: 0 1 auto;
|
|
opacity: 1;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
transition: opacity 0.15s ease-out;
|
|
font-size: 14px;
|
|
line-height: 1.5em;
|
|
z-index: 1;
|
|
}
|
|
|
|
.app:not(.is-focused) .header {
|
|
background: rgb(50, 50, 50);
|
|
}
|
|
|
|
.app.view-player .header {
|
|
background-color: black;
|
|
background-image: radial-gradient(rgba(0, 62, 81, 0.75), black 120%);
|
|
border-bottom: none;
|
|
}
|
|
|
|
.app.view-player.is-win32 .header,
|
|
.app.view-player.is-linux .header {
|
|
background: none;
|
|
}
|
|
|
|
.app.hide-video-controls.view-player .header {
|
|
opacity: 0;
|
|
cursor: none;
|
|
}
|
|
|
|
.header .title {
|
|
opacity: 0.7;
|
|
position: absolute;
|
|
margin-top: 1px;
|
|
padding: 0 150px 0 150px;
|
|
width: 100%;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.header .nav {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.header .nav.left {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.header .nav.right {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.app.is-darwin:not(.is-fullscreen) .header .nav.left {
|
|
margin-left: 78px;
|
|
}
|
|
|
|
.header .back,
|
|
.header .forward {
|
|
font-size: 30px;
|
|
margin-top: -3px;
|
|
}
|
|
|
|
/*
|
|
* CONTENT
|
|
*/
|
|
|
|
.content {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: overlay;
|
|
flex: 1 1 auto;
|
|
margin-top: 38px;
|
|
}
|
|
|
|
.app.view-player .content {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/*
|
|
* MODAL POPOVERS
|
|
*/
|
|
|
|
.modal {
|
|
z-index: 2;
|
|
}
|
|
|
|
.modal .modal-background {
|
|
content: ' ';
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: black;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.modal .modal-content {
|
|
position: fixed;
|
|
top: 38px;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0 auto;
|
|
width: calc(100% - 20px);
|
|
max-width: 600px;
|
|
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.4);
|
|
background-color: #eee;
|
|
color: #222;
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal label {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.create-torrent {
|
|
padding: 10px 25px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.create-torrent .torrent-attribute {
|
|
white-space: nowrap;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.create-torrent .torrent-attribute>* {
|
|
display: inline-block;
|
|
}
|
|
|
|
.create-torrent .torrent-attribute label {
|
|
width: 100px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.create-torrent .torrent-attribute>div {
|
|
width: calc(100% - 100px);
|
|
}
|
|
|
|
.create-torrent .torrent-attribute div {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/*
|
|
* BUTTONS
|
|
*/
|
|
|
|
a,
|
|
i { /* Links and icons */
|
|
cursor: default;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
a:not(.disabled):hover,
|
|
i:not(.disabled):hover { /* Show they're clickable without pointer: cursor */
|
|
-webkit-filter: brightness(1.3);
|
|
}
|
|
|
|
/*
|
|
* INPUTS
|
|
*/
|
|
input,
|
|
textarea,
|
|
.control {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
/*
|
|
* TORRENT LIST
|
|
*/
|
|
|
|
.torrent-list {
|
|
height: 100%;
|
|
}
|
|
|
|
.torrent {
|
|
background: linear-gradient(to bottom right, #4B79A1, #283E51);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
transition: -webkit-filter 0.1s ease-out;
|
|
position: relative;
|
|
animation: fadein 0.5s;
|
|
}
|
|
|
|
.torrent,
|
|
.torrent-placeholder {
|
|
height: 100px;
|
|
}
|
|
|
|
.torrent:not(:last-child) {
|
|
border-bottom: 1px solid #282828;
|
|
}
|
|
|
|
.torrent .metadata {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 15px;
|
|
right: 15px;
|
|
width: calc(100% - 30px);
|
|
text-shadow: rgba(0, 0, 0, 0.5) 0 0 4px;
|
|
}
|
|
|
|
.torrent .metadata span:not(:last-child)::after {
|
|
content: ' • ';
|
|
opacity: 0.7;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.torrent:hover .metadata {
|
|
width: calc(100% - 120px);
|
|
}
|
|
|
|
.torrent .torrent-controls {
|
|
display: none;
|
|
}
|
|
|
|
.torrent:hover .torrent-controls {
|
|
display: block;
|
|
}
|
|
|
|
.torrent .play {
|
|
position: absolute;
|
|
top: 23px;
|
|
right: 45px;
|
|
font-size: 55px;
|
|
}
|
|
|
|
.torrent .delete {
|
|
position: absolute;
|
|
top: 38px;
|
|
right: 12px;
|
|
}
|
|
|
|
.torrent .download {
|
|
vertical-align: -0.4em;
|
|
margin-left: -2px;
|
|
}
|
|
|
|
.torrent .buttons .radial-progress {
|
|
position: absolute;
|
|
}
|
|
|
|
.torrent .name {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
line-height: 1.5em;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.torrent hr {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
left: calc(50% - 20px);
|
|
width: 40px;
|
|
height: 1px;
|
|
background: #ccc;
|
|
display: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
.torrent:hover hr {
|
|
display: block;
|
|
}
|
|
|
|
/*
|
|
* TORRENT LIST: ERRORS
|
|
*/
|
|
|
|
.torrent-list p {
|
|
margin: 10px 20px;
|
|
}
|
|
|
|
.torrent-list a {
|
|
color: #99f;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/*
|
|
* TORRENT LIST: DRAG-DROP TARGET
|
|
*/
|
|
|
|
.torrent-placeholder {
|
|
padding: 10px;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.torrent-placeholder span {
|
|
border: 5px #444 dashed;
|
|
border-radius: 5px;
|
|
color: #666;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body.drag .torrent-placeholder span {
|
|
border-color: #def;
|
|
color: #def;
|
|
}
|
|
|
|
body.drag .app::after {
|
|
content: ' ';
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: black;
|
|
background-image: radial-gradient(rgba(0, 62, 81, 0.75), black 120%); z-index: 3;
|
|
}
|
|
|
|
/*
|
|
* TORRENT LIST: EXPANDED TORRENT DETAILS
|
|
*/
|
|
|
|
.torrent.selected {
|
|
height: auto;
|
|
}
|
|
|
|
.torrent-details {
|
|
padding: 8em 0 20px 0;
|
|
}
|
|
|
|
.torrent-details .warning {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
.torrent-details table {
|
|
width: 100%;
|
|
white-space: nowrap;
|
|
border: none;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.torrent-details tr {
|
|
height: 28px;
|
|
}
|
|
|
|
.torrent-details td {
|
|
overflow: hidden;
|
|
padding: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.torrent-details td .icon {
|
|
font-size: 18px;
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
.torrent-details td.col-icon {
|
|
width: 45px;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.torrent-details td.col-icon .radial-progress {
|
|
position: absolute;
|
|
margin-top: 4px;
|
|
margin-left: 0.5px;
|
|
}
|
|
|
|
.torrent-details td.col-name {
|
|
width: auto;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.torrent-details td.col-progress {
|
|
width: 60px;
|
|
text-align: right;
|
|
}
|
|
|
|
.torrent-details td.col-size {
|
|
width: 60px;
|
|
text-align: right;
|
|
}
|
|
|
|
.torrent-details td.col-select {
|
|
width: 45px;
|
|
padding-right: 13px;
|
|
text-align: right;
|
|
}
|
|
|
|
/*
|
|
* PLAYER
|
|
*/
|
|
|
|
.player {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #000;
|
|
}
|
|
|
|
.player .letterbox {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.player video {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.player .name {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
line-height: 1.5em;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/*
|
|
* PLAYER CONTROLS
|
|
*/
|
|
|
|
.player .controls {
|
|
position: fixed;
|
|
background: rgba(40, 40, 40, 0.8);
|
|
width: 100%;
|
|
height: 38px;
|
|
bottom: 0;
|
|
transition: opacity 0.15s ease-out;
|
|
}
|
|
|
|
.player .controls .icon {
|
|
display: block;
|
|
margin: 8px;
|
|
font-size: 22px;
|
|
opacity: 0.85;
|
|
|
|
/* Make all icons have uniform spacing */
|
|
max-width: 23px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.player .controls .icon:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.player .controls .icon.disabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.player .controls .icon.skip-previous,
|
|
.player .controls .icon.play-pause,
|
|
.player .controls .icon.skip-next {
|
|
font-size: 28px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.player .controls .volume-slider {
|
|
-webkit-appearance: none;
|
|
-webkit-app-region: no-drag;
|
|
width: 60px;
|
|
height: 3px;
|
|
margin: 18px 8px 8px 0;
|
|
border: none;
|
|
padding: 0;
|
|
opacity: 0.85;
|
|
vertical-align: sub;
|
|
}
|
|
|
|
.player .controls .time,
|
|
.player .controls .rate {
|
|
font-weight: 100;
|
|
font-size: 13px;
|
|
margin: 9px 8px 8px 8px;
|
|
opacity: 0.8;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.player .controls .icon.closed-caption {
|
|
font-size: 26px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.player .controls .icon.multi-audio {
|
|
font-size: 26px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.player .controls .icon.fullscreen {
|
|
font-size: 26px;
|
|
margin-right: 15px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.app.hide-video-controls .player .controls {
|
|
opacity: 0;
|
|
}
|
|
|
|
.app.hide-video-controls .player {
|
|
cursor: none;
|
|
}
|
|
|
|
/* invisible click target for scrubbing */
|
|
.player .controls .scrub-bar {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 23px; /* 3px .loading-bar plus 10px above and below */
|
|
top: -10px;
|
|
left: 0;
|
|
-webkit-app-region: no-drag;
|
|
}
|
|
|
|
.player .controls .loading-bar {
|
|
position: relative;
|
|
width: 100%;
|
|
top: -3px;
|
|
height: 3px;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
transition: all 0.1s ease-out;
|
|
position: absolute;
|
|
}
|
|
|
|
.player .controls .loading-bar-part {
|
|
position: absolute;
|
|
background-color: #2AE0E0;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.player .controls .playback-cursor {
|
|
position: absolute;
|
|
top: -3px;
|
|
background-color: #FFF;
|
|
width: 3px;
|
|
height: 3px;
|
|
border-radius: 50%;
|
|
margin-top: 0;
|
|
margin-left: 0;
|
|
transition-property: width, height, top, margin-left;
|
|
transition-duration: 0.1s;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.player .controls .closed-caption.active,
|
|
.player .controls .device.active {
|
|
color: #9af;
|
|
}
|
|
|
|
.player .controls .volume-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
-webkit-app-region: no-drag;
|
|
background-color: #fff;
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.player .controls .volume-slider:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.player .playback-bar:hover .loading-bar {
|
|
height: 5px;
|
|
}
|
|
|
|
.player .playback-bar:hover .playback-cursor {
|
|
top: -8px;
|
|
margin-left: -5px;
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.player .controls .options-list {
|
|
position: fixed;
|
|
background: rgba(40, 40, 40, 0.8);
|
|
min-width: 100px;
|
|
bottom: 45px;
|
|
right: 3px;
|
|
transition: opacity 0.15s ease-out;
|
|
padding: 5px 10px;
|
|
border-radius: 3px;
|
|
margin: 0;
|
|
list-style-type: none;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.player .controls .options-list .icon {
|
|
display: inline;
|
|
font-size: 17px;
|
|
vertical-align: bottom;
|
|
line-height: 21px;
|
|
margin: 4px;
|
|
}
|
|
|
|
/**
|
|
* Set the cue text position so it appears above the player controls.
|
|
*/
|
|
video::-webkit-media-text-track-container {
|
|
bottom: 60px;
|
|
transition: bottom 0.1s ease-out;
|
|
}
|
|
.app.hide-video-controls video::-webkit-media-text-track-container {
|
|
bottom: 30px;
|
|
}
|
|
::cue {
|
|
background: none;
|
|
color: #FFF;
|
|
text-shadow: #000 -1px 0 1px, #000 1px 0 1px, #000 0 -1px 1px, #000 0 1px 1px, rgba(50, 50, 50, 0.5) 2px 2px 0;
|
|
}
|
|
|
|
/*
|
|
* CHROMECAST / AIRPLAY CONTROLS
|
|
*/
|
|
|
|
.cast-screen {
|
|
width: 100%;
|
|
height: 200px;
|
|
color: #eee;
|
|
text-align: center;
|
|
line-height: 2;
|
|
align-self: center;
|
|
}
|
|
|
|
.cast-screen .icon {
|
|
font-size: 50px;
|
|
}
|
|
|
|
.cast-screen .cast-type,
|
|
.cast-screen .cast-status {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.cast-screen .cast-type {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*
|
|
* MEDIA OVERLAY / AUDIO DETAILS
|
|
*/
|
|
|
|
.media-overlay-background {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
}
|
|
|
|
.media-overlay {
|
|
max-width: calc(100% - 80px);
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
align-self: center;
|
|
margin: 0 auto;
|
|
font-weight: bold;
|
|
font-size: 24px;
|
|
line-height: 2;
|
|
}
|
|
|
|
.media-stalled .loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
margin: 40px auto;
|
|
border-top: 6px solid rgba(255, 255, 255, 0.2);
|
|
border-right: 6px solid rgba(255, 255, 255, 0.2);
|
|
border-bottom: 6px solid rgba(255, 255, 255, 0.2);
|
|
border-left: 6px solid #ffffff;
|
|
border-radius: 50%;
|
|
color: transparent;
|
|
animation: spinning 1.1s infinite linear;
|
|
}
|
|
|
|
@keyframes spinning {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.media-stalled .loading-status {
|
|
font-size: 18px;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
.audio-metadata div {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.audio-metadata .audio-title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.audio-metadata label {
|
|
display:inline-block;
|
|
width: 120px;
|
|
text-align: right;
|
|
font-weight: normal;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
.audio-metadata .audio-format,
|
|
.audio-metadata .audio-comments {
|
|
font-weight: normal;
|
|
}
|
|
|
|
/*
|
|
* ERRORS
|
|
*/
|
|
|
|
.error-popover {
|
|
position: fixed;
|
|
top: 36px;
|
|
margin: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
}
|
|
|
|
.error-popover.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.error-popover .error,
|
|
.error-popover .title {
|
|
padding: 10px;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
border-bottom: 1px solid #444;
|
|
}
|
|
|
|
.error-popover .title {
|
|
font-weight: bold;
|
|
color: #c44;
|
|
}
|
|
|
|
.error-popover .error {
|
|
color: #bbb;
|
|
}
|
|
|
|
.error-popover .error:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.error-text {
|
|
color: #c44;
|
|
}
|
|
|
|
/*
|
|
* RADIAL PROGRESS BAR
|
|
*/
|
|
|
|
.radial-progress {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
background-color: #888;
|
|
}
|
|
|
|
.radial-progress .circle .mask,
|
|
.radial-progress .circle .fill {
|
|
width: 16px;
|
|
height: 16px;
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
.radial-progress .circle .mask {
|
|
clip: rect(0px, 16px, 16px, 8px);
|
|
}
|
|
|
|
.radial-progress .circle .fill {
|
|
clip: rect(0px, 8px, 16px, 0px);
|
|
background-color: white;
|
|
}
|
|
|
|
.radial-progress .inset {
|
|
position: absolute;
|
|
width: 12px;
|
|
height: 12px;
|
|
margin: 2px 0 0 2px;
|
|
border-radius: 50%;
|
|
background-color: black;
|
|
}
|
|
|
|
.radial-progress-large {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.radial-progress-large .circle .mask,
|
|
.radial-progress-large .circle .fill {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.radial-progress-large .circle .mask {
|
|
clip: rect(0px, 40px, 40px, 20px);
|
|
}
|
|
|
|
.radial-progress-large .circle .fill {
|
|
clip: rect(0px, 20px, 40px, 0px);
|
|
background-color: white;
|
|
}
|
|
|
|
.radial-progress-large .inset {
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: 4px 0 0 4px;
|
|
}
|
|
|
|
/**
|
|
* Use this class on Material UI components to get correct native app behavior:
|
|
*
|
|
* - Dragging the button should NOT drag the entire app window
|
|
* - The cursor should be default, not a pointer (hand) like on the web
|
|
*/
|
|
|
|
.control {
|
|
-webkit-app-region: no-drag;
|
|
cursor: default !important;
|
|
}
|
|
|
|
.control * {
|
|
cursor: default !important;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
body,html{
|
|
background-color: black;
|
|
background-image: radial-gradient(rgba(0, 62, 81, 0.75), black 120%);
|
|
text-shadow: 0 0 5px #0b55b5;
|
|
background-attachment: fixed;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 1070px) {
|
|
.grid.grid-3-6-3 {
|
|
grid-template-columns: 100%;
|
|
grid-template-areas:
|
|
"content "
|
|
"sidebar1"
|
|
"sidebar2";
|
|
}
|
|
}
|
|
#blockrandom {
|
|
height: 70vh !important;
|
|
}
|
|
.content-grid {
|
|
margin: auto;
|
|
transform: none !important;
|
|
}
|
|
.grid .grid-column {
|
|
display: grid !important;
|
|
}
|
|
@media screen and (max-width: 670px) {
|
|
.post-preview-image.liquid.left {
|
|
background-size: contain !important;
|
|
height: 240px;
|
|
}
|
|
}
|
|
#colorbox, #colorbox * {
|
|
max-width: 100% !important;
|
|
}
|
|
.eb-thumb-left {
|
|
max-width: 100%;
|
|
}
|
|
.event-preview .event-preview-info {
|
|
height: auto;
|
|
}
|
|
.date-sticker-month {
|
|
color: #00232B !important;
|
|
}
|
|
.event-preview-info-bottom {
|
|
flex: fit-content;
|
|
}
|
|
.event-preview .event-preview-cover {
|
|
height: 144px !important;
|
|
}
|
|
.event-preview .event-preview-info {
|
|
height: 250px !important;
|
|
|
|
}
|
|
figure.post-preview-image, .post-preview-info.pt-3,.widget-box .widget-box-status .content-actions {
|
|
border-top: 1px solid #1c4352;
|
|
}
|
|
.floaty-bar {
|
|
background-color: #00151c;
|
|
background-image: radial-gradient(rgba(0, 62, 81, 0.59), #0000 120%);
|
|
border-top:1px solid #1c4352;
|
|
}
|
|
.form-counter {
|
|
background: #00151c;
|
|
}
|
|
.dropdown-box, .dropdown-navigation {
|
|
visibility: hidden;
|
|
}
|
|
#blockrandom, .dropdown-box {
|
|
border: 1px solid #1c4352 !important;
|
|
}
|
|
.form-control:focus {
|
|
box-shadow: 0 0 0 .2rem rgb(28, 67, 82);
|
|
}
|
|
.stream-box:hover {
|
|
border-bottom-left-radius: 12px;
|
|
border-bottom-right-radius: 12px;
|
|
}
|
|
.button.disabled {
|
|
opacity: 0.23;
|
|
cursor: not-allowed;
|
|
}
|
|
.header, .profile-header , .widget-box, .section-navigation, .uk-panel-box, .event-preview,.card, .sidebar-box, .section-filters-bar {
|
|
background-color: #61deed0d !important;
|
|
border: 1px solid #1c4352 !important;
|
|
}
|
|
.card{
|
|
padding: 32px 28px;
|
|
border-radius: 12px;
|
|
}
|
|
@media screen and (max-width: 680px) {
|
|
.header .header-actions.search-bar .interactive-input input {
|
|
border-radius: 0;
|
|
border-bottom: none !important;
|
|
border-top: none !important;
|
|
}
|
|
}
|
|
input[type="password"], input[type="text"], select, textarea, .form-control,.simple-dropdown,.menu-main .menu-main-item .menu-main, .reactions-given-summary, .react-box {
|
|
background: #00151c;
|
|
border: 1px solid #1c4352 !important;
|
|
}
|
|
span.toggle-outside {
|
|
border-radius:18px;
|
|
background: #1c4352 !important;
|
|
}
|
|
.switcher input~input:checked~.toggle-outside {
|
|
background:#2AE0E0 !important;
|
|
border-radius: 18px;
|
|
}
|
|
.switcher .toggle-inside {
|
|
border-radius: 18px;
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
.tag-item {
|
|
color: #00232B;
|
|
}
|
|
|
|
.header{
|
|
border-left:none !important;border-right:none !important;border-top:none !important;
|
|
background:radial-gradient(rgb(0, 55, 68), black 120%);
|
|
background-size: 100% 300px;
|
|
}
|
|
.post-preview {
|
|
background-color: #1d28336e;
|
|
}
|
|
.post-options {
|
|
background-color: #00151c;
|
|
}
|
|
.post-preview-info {
|
|
border-top: 1px solid #1c4352 !important;
|
|
}
|
|
.post-preview , .post-preview .post-preview-info {
|
|
//background: linear-gradient(#0d5b6829 36%, transparent);
|
|
background: linear-gradient(#052027 36%, transparent);
|
|
border-left: none;
|
|
border-right: none;
|
|
box-shadow: 0px -14px 30px 0px rgba(0,0,0,.2);
|
|
}
|
|
.post-preview.medium{
|
|
background:transparent;
|
|
box-shadow:none;
|
|
}
|
|
.post-preview.medium .post-preview-info {
|
|
margin-top: -82px;
|
|
}
|
|
.post-comment {
|
|
margin: 1.5rem;
|
|
border-radius: 12px;
|
|
border: 1px solid #1c4352 !important;
|
|
}
|
|
.form-select label {
|
|
padding: 4px 6px;
|
|
top: -16px;
|
|
border-top: 1px solid #1c4352 !important;
|
|
border-left: 1px solid #1c4352 !important;
|
|
border-radius: 6px 6px 0px 0px;
|
|
padding-bottom: 0;
|
|
border-right: 1px solid #1c4352 !important;
|
|
}
|
|
|
|
.form-input {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-top: 15px;
|
|
}
|
|
.float-start.item-image {
|
|
max-width: 33%;
|
|
float: right;
|
|
margin: 2rem;
|
|
border-radius: var(--p2s-border-radius);
|
|
background: #f2f1f7;
|
|
padding: 1rem;
|
|
padding-bottom: 1rem;
|
|
line-height: 2;
|
|
padding-bottom: 0;
|
|
font-size: 12px;
|
|
color: #726fe9;
|
|
text-align:center;
|
|
}
|
|
.simple-dropdown.widget-box-post-settings-dropdown {
|
|
padding: 0px 1rem 1rem 1rem;
|
|
}
|
|
.form-select label {
|
|
z-index: 1;
|
|
}
|
|
.floaty-bar {
|
|
margin-left: -17px;
|
|
width: calc(100% + 30px);
|
|
}
|
|
#cboxClose:hover {
|
|
background-position: inherit;
|
|
}
|
|
#cboxContent {
|
|
background: #1c4352;
|
|
}
|
|
.grid.grid-3-3-3, .grid.grid-3-3-3-3 {
|
|
grid-template-columns: repeat(auto-fit,273px);
|
|
}
|
|
label.required > .form-control-feedback {
|
|
background: var(--danger);
|
|
padding: 2px 14px;
|
|
border-radius: var(--p2s-border-radius);
|
|
color: #ffffff;
|
|
margin-left: 1rem;
|
|
}
|
|
iframe{
|
|
border-radius: var(--p2s-border-radius);
|
|
}
|
|
#modal_popup_target iframe {
|
|
margin-top: -2rem;
|
|
}
|
|
.input-group-text {
|
|
border-radius: 12px 0px 0px 12px;
|
|
color: #ffffff;
|
|
background-color: #1c4352;
|
|
border: 1px solid #1c4352 !important;
|
|
margin-right: -1px;
|
|
}
|
|
.input-group .btn {
|
|
width: auto;
|
|
}
|
|
.modal-dialog-centered {
|
|
display: inherit;
|
|
}
|
|
.modal-backdrop {
|
|
display: none;
|
|
}
|
|
.page-loader .page-loader-decoration .icon-logo {
|
|
fill: #fff;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
.page-loader .page-loader-decoration {
|
|
width: 108px;
|
|
height: 108px;
|
|
}
|
|
#cboxOverlay {
|
|
background: url(images/overlay.png) repeat 0 0;
|
|
background: #000;
|
|
opacity: 0.7 !important;
|
|
}
|
|
#cboxTopCenter, #cboxTopLeft, #cboxTopRight, #cboxBottomCenter, #cboxBottomLeft, #cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight {
|
|
display: none;
|
|
}
|
|
#cboxLoadedContent {
|
|
padding: 60px;
|
|
padding-bottom:40px;
|
|
margin-bottom:0px;
|
|
}
|
|
#cboxContent {
|
|
height: auto;
|
|
border-radius: var(--p2s-border-radius);
|
|
border: 1px solid #1c4352;
|
|
}
|
|
#colorbox #cboxContent h1 {
|
|
padding-bottom: 1rem;
|
|
}
|
|
#cboxClose {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
display: block;
|
|
background: url('/media/com_eventbooking/assets/js/colorbox/images/closebox.png') no-repeat top;
|
|
width: 30px;
|
|
height: 30px;
|
|
text-indent: -9999px;
|
|
}
|
|
#cboxLoadedContent a {
|
|
color: var(--p2s-primary-color);
|
|
}
|
|
body.dark-theme #cboxLoadedContent {
|
|
background: #161b28;
|
|
}
|
|
body.light-theme {
|
|
background: #f8f8fb;
|
|
font-family: Rajdhani,sans-serif;
|
|
}
|
|
body.dark-theme .emoji-img {
|
|
border-radius: 100%;
|
|
}
|
|
body.dark-theme a.section-menu-item.active > p.section-menu-item-text, body.dark-theme a.section-menu-item:hover > p.section-menu-item-text {
|
|
//color: #9aa4bf !important;
|
|
}
|
|
body.dark-theme .product-preview-image.liquid {
|
|
background-color: #ffffff !important;
|
|
}
|
|
body.dark-theme, body.dark-theme table {
|
|
color: #ffffff;
|
|
font-family: Rajdhani,sans-serif;
|
|
}
|
|
body.dark-theme .list-group-item {
|
|
background-color: transparent;
|
|
}
|
|
body.dark-theme joomla-tab > joomla-tab-element {
|
|
background-color: #00151c;
|
|
}
|
|
body.dark-theme joomla-tab button[role="tab"] {
|
|
border-bottom: 1px solid #2f3749;
|
|
border-right: 1px solid #2f3749;
|
|
background-color: #21283b;
|
|
}
|
|
body.dark-theme joomla-tab button[role="tab"][aria-expanded="true"] {
|
|
background-color: #00151c;
|
|
color: #fff;
|
|
border-bottom:none;
|
|
}
|
|
.video-box .video-box-cover:hover::after {
|
|
border-radius: var(--p2s-border-radius);
|
|
}
|
|
.information-line-text {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.form-input.small button {
|
|
border-radius: 0px var(--p2s-border-radius) var(--p2s-border-radius) 0px;
|
|
}
|
|
.form-control{
|
|
border: 1px solid #dedeea;
|
|
border-radius: var(--p2s-border-radius);
|
|
}
|
|
#jform_username-desc {
|
|
display: none;
|
|
}
|
|
#kunena.layout .breadcrumb > .active + li::before {
|
|
content: "/ ";
|
|
}
|
|
body.dark-theme .form-control{
|
|
background-color: #00151c;
|
|
border: 1px solid #3f485f;
|
|
color: #fff;
|
|
transition: border-color .2s ease-in-out;
|
|
}
|
|
body.dark-theme .form-control[readonly=""]:focus {
|
|
color: #ffffff22;
|
|
background-color: #00151C;
|
|
cursor: not-allowed;
|
|
}
|
|
body.dark-theme .form-control[readonly=""] {
|
|
background: #1c4352;
|
|
color: #ffffff69;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
button:active, button:focus {
|
|
outline: 0;
|
|
border: none;
|
|
-moz-outline-style: none;
|
|
}
|
|
.post-preview-text p {
|
|
margin-top: 16px;
|
|
font-size: .875rem;
|
|
line-height: 1.7142857143em;
|
|
font-weight: 500;
|
|
}
|
|
.section-menu .section-menu-item .section-menu-item-text {
|
|
width: 100%;
|
|
#color: #3e3f5e;
|
|
font-size: .875rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
top: 40px;
|
|
-webkit-transform: translateY(15px);
|
|
transform: translateY(15px);
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
.js-calendar button {
|
|
width: auto;
|
|
position: inherit !important;
|
|
}
|
|
.guru-modal {
|
|
z-index: 99999;
|
|
}
|
|
.section-menu .section-menu-item .section-menu-item-icon {
|
|
opacity: .6;
|
|
top: 22px;
|
|
}
|
|
.form-switch {
|
|
border: 1px solid transparent;
|
|
}
|
|
input, textarea {
|
|
border-radius: 12px;
|
|
}
|
|
div.form-input > label {
|
|
z-index: 1;
|
|
}
|
|
.form-input select {
|
|
padding-left: 12px;
|
|
font-weight: bold;
|
|
font-size: inherit;
|
|
}
|
|
body.dark-theme .form-control:focus {
|
|
color: #fffffff;
|
|
background-color: #00151C;
|
|
}
|
|
.form-input textarea {
|
|
height: 100px;
|
|
font-weight: bold;
|
|
padding: 12px 16px;
|
|
}
|
|
joomla-tab {
|
|
width: 100%;
|
|
padding: 16px;
|
|
box-shadow: none !important;
|
|
}
|
|
joomla-tab > joomla-tab-element {
|
|
padding: 48px 28px;
|
|
background-color: #fff;
|
|
border: none;
|
|
border-radius: 0 0 12px 12px;
|
|
box-shadow: none;
|
|
}
|
|
joomla-tab[view="tabs"] > div[role="tablist"] {
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
background: none !important;
|
|
}
|
|
joomla-tab button[role="tab"]:first-child {
|
|
border-top-left-radius: 12px;
|
|
}
|
|
joomla-tab button[role="tab"]:last-child {
|
|
border-top-right-radius: 12px;
|
|
border-right: none !important;
|
|
}
|
|
joomla-tab button[role="tab"] {
|
|
color: #adafca;
|
|
box-shadow: none;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 66px;
|
|
border-bottom: 1px solid #eaeaf5;
|
|
border-right: 1px solid #eaeaf5;
|
|
background-color: #fcfcfd;
|
|
cursor: pointer;
|
|
border-radius: 0px;
|
|
}
|
|
joomla-tab button[role="tab"][aria-expanded="true"] {
|
|
background-color: #fff;
|
|
background-image: none;
|
|
background-color: #fff;
|
|
border-bottom: none;
|
|
border-right: 1px solid #eaeaf5;
|
|
color:#3e3f5e;
|
|
box-shadow: none;
|
|
}
|
|
joomla-tab button[aria-expanded="true"]::after{
|
|
background-color:transparent;
|
|
}
|
|
/** Shop **/
|
|
.price-title::first-letter, #eshop-cart .cart-item-preview-price::first-letter {
|
|
color: var(--p2s-primary-color);
|
|
padding-right:3px;
|
|
}
|
|
.product-preview-image.liquid {
|
|
background-size: contain !important;
|
|
}
|
|
/** Comments **/
|
|
#jc {
|
|
background: #fff;
|
|
}
|
|
body.dark-theme #jc {
|
|
background:#00151c;
|
|
}
|
|
img.smile {
|
|
border-radius: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
/** Comdev **/
|
|
.col-md-7.pr-md-4 > img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
#kunena button, #kunena input[type="password"], #kunena input[type="text"], #kunena select, #kunena textarea {
|
|
width: auto;
|
|
}
|
|
|
|
|
|
label.checkbox > .form-check-input {
|
|
position: relative;
|
|
margin-top: 0px;
|
|
margin-left: 0px;
|
|
}
|
|
.noUi-horizontal .noUi-handle {
|
|
height: 22px;
|
|
left: -10px;
|
|
top: -7px;
|
|
width: 23px;
|
|
border-radius: 100%;
|
|
}
|
|
.noUi-handle::before, .noUi-handle::after {
|
|
height: 4px;
|
|
width: 4px;
|
|
background: #E2E2E2;
|
|
left: 9px;
|
|
top: 8px;
|
|
border-radius: 100%;
|
|
}
|
|
.noUi-connect {
|
|
background: var(--p2s-primary-color);
|
|
}
|
|
|