123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582 |
- /*!
- ckin v0.0.1: Custom HTML5 Video Player Skins.
- (c) 2017
- MIT License
- git+https://github.com/hunzaboy/ckin.git
- */
- @font-face {
- font-family: 'ckin';
- src: url("../fonts/ckin.eot?g02cfx");
- src: url("../fonts/ckin.eot?g02cfx#iefix") format("embedded-opentype"), url("../fonts/ckin.ttf?g02cfx") format("truetype"), url("../fonts/ckin.woff?g02cfx") format("woff"), url("../fonts/ckin.svg?g02cfx#ckin") format("svg");
- font-weight: normal;
- font-style: normal;
- }
- [class^="ckin-"], [class*=" ckin-"] {
- /* use !important to prevent issues with browser extensions that change fonts */
- font-family: 'ckin' !important;
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- /* Better Font Rendering =========== */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .default__controls i{font-size: 16px;}
- .ckin-compress:before {
- content: "\e901";
- }
- .ckin-expand:before {
- content: "\e900";
- }
- .ckin-play:before {
- content: "\ea1c";
- }
- .ckin-pause:before {
- content: "\ea1d";
- }
- .ckin-stop:before {
- content: "\ea1e";
- }
- .ckin-backward:before {
- content: "\ea1f";
- }
- .ckin-forward:before {
- content: "\ea20";
- }
- .ckin-volume-high:before {
- content: "\ea26";
- }
- .ckin-volume-medium:before {
- content: "\ea27";
- }
- .ckin-volume-low:before {
- content: "\ea28";
- }
- .ckin-volume-mute:before {
- content: "\ea2a";
- }
- body {
- font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- letter-spacing: 0.02em;
- }
- video {
- width: 100%;
- height: auto;
- cursor: pointer;
- }
- .ckin__player {
- margin-bottom: 20px;
- font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
- letter-spacing: 0.02em;
- }
- .ckin__player.ckin__fullscreen {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- height: 100%;
- width: 100%;
- z-index: 10000000;
- background: #000;
- border-radius: 0 !important;
- display: -ms-flexbox;
- display: flex;
- }
- .ckin__overlay {
- position: relative;
- }
- .ckin__overlay:before {
- background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.65) 100%);
- }
- .ckin__overlay--2:before {
- background: rgba(24, 24, 24, 0.8);
- }
- .default {
- border: 0 solid rgba(0, 0, 0, 0.2);
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
- position: relative;
- font-size: 0;
- overflow: hidden;
- border-radius: 5px;
- cursor: pointer;
- }
- .default:before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- border-radius: 5px;
- transition: opacity .2s;
- opacity: 1;
- visibility: visible;
- }
- .default__title {
- position: absolute;
- left: 10px;
- top: 10px;
- z-index: 1;
- font-size: 14px;
- color: rgba(255, 255, 255, 0.8);
- }
- .default__button {
- background: none;
- border: 0;
- line-height: 1;
- color: #3566e3;
- outline: 0;
- padding: 0;
- cursor: pointer;
- -ms-flex-pack: center;
- justify-content: center;
- display: -ms-flexbox;
- display: flex;
- max-width: 50px;
- }
- .default__button i {
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- }
- .default__button--big {
- background: none;
- border: 0;
- line-height: 1;
- color: #fff;;
- text-align: center;
- outline: 0;
- padding: 0;
- cursor: pointer;
- position: absolute;
- opacity: 1;
- visibility: visible;
- top: 50%;
- left: 50%;
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- font-size: 36px;
- transition: all .2s;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- }
- .default__slider {
- width: 10px;
- height: 30px;
- }
- .default__controls {
- display: -ms-flexbox;
- display: flex;
- position: absolute;
- bottom: 0;
- right: 0;
- left: 0;
- transition: all .3s;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
- font-size: 32px;
- -ms-flex-align: center;
- align-items: center;
- padding: 10px;
- -ms-transform: translateY(0);
- transform: translateY(0);
- -ms-flex-pack: justify;
- justify-content: space-between;
- border-radius: 0 0 5px 5px;
- }
- .default.is-playing:before {
- opacity: 0;
- visibility: hidden;
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
- .default.is-playing .default__button--big {
- opacity: 0;
- visibility: hidden;
- }
- .default.is-playing .default__controls {
- -ms-transform: translateY(52px);
- transform: translateY(52px);
- }
- .default.is-playing:hover .default__controls {
- -ms-transform: translateY(0);
- transform: translateY(0);
- }
- .default__controls > * {
- -ms-flex: 1;
- flex: 1;
- }
- .default .progress {
- position: relative;
- display: -ms-flexbox;
- display: flex;
- height: 10px;
- transition: height 0.3s;
- background: rgba(0, 0, 0, 0.5);
- cursor: pointer;
- border-radius: 4px;
- }
- .default .progress__filled {
- width: 0%;
- background: #3566e3;
- -ms-flex: 0;
- flex: 0;
- -ms-flex-preferred-size: 0%;
- flex-basis: 0%;
- border-radius: 4px;
- }
- .minimal {
- border: 0 solid rgba(0, 0, 0, 0.2);
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
- position: relative;
- font-size: 0;
- overflow: hidden;
- border-radius: 5px;
- cursor: pointer;
- }
- .minimal:before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- border-radius: 5px;
- transition: opacity .2s;
- opacity: 1;
- visibility: visible;
- }
- .minimal__title {
- position: absolute;
- left: 20px;
- top: 20px;
- z-index: 1;
- font-size: 24px;
- color: rgba(255, 255, 255, 0.8);
- font-style: italic;
- }
- .minimal__button {
- background: none;
- border: 0;
- line-height: 1;
- color: #3566e3;
- outline: 0;
- padding: 0;
- cursor: pointer;
- -ms-flex-pack: center;
- justify-content: center;
- display: -ms-flexbox;
- display: flex;
- max-width: 50px;
- }
- .minimal__button i {
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- }
- .minimal__button--big {
- background: none;
- border: 0;
- line-height: 1;
- color: #3566e3;
- text-align: center;
- outline: 0;
- padding: 0;
- cursor: pointer;
- position: absolute;
- opacity: 1;
- visibility: visible;
- top: 50%;
- left: 50%;
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- font-size: 64px;
- transition: all .2s ease-in;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- }
- .minimal__slider {
- width: 10px;
- height: 30px;
- }
- .minimal__controls {
- display: -ms-flexbox;
- display: flex;
- position: absolute;
- bottom: 0;
- right: 0;
- left: 0;
- transition: all .3s;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- background: #242424;
- font-size: 32px;
- -ms-flex-align: center;
- align-items: center;
- padding: 10px;
- -ms-transform: translateY(0);
- transform: translateY(0);
- -ms-flex-pack: justify;
- justify-content: space-between;
- border-radius: 0 0 5px 5px;
- }
- .minimal.is-playing:before {
- opacity: 0;
- visibility: hidden;
- }
- .minimal.is-playing .minimal__button--big {
- opacity: 0;
- visibility: hidden;
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
- .minimal.is-playing .minimal__controls {
- -ms-transform: translateY(52px);
- transform: translateY(52px);
- }
- .minimal.is-playing:hover .minimal__controls {
- -ms-transform: translateY(0);
- transform: translateY(0);
- }
- .minimal__controls > * {
- -ms-flex: 1;
- flex: 1;
- }
- .minimal .progress {
- position: relative;
- display: -ms-flexbox;
- display: flex;
- height: 10px;
- transition: height 0.3s;
- background: rgba(0, 0, 0, 0.5);
- cursor: pointer;
- border-radius: 4px;
- }
- .minimal .progress__filled {
- width: 0%;
- background: #3566e3;
- -ms-flex: 0;
- flex: 0;
- -ms-flex-preferred-size: 0%;
- flex-basis: 0%;
- border-radius: 4px;
- }
- .compact {
- border: 0 solid rgba(0, 0, 0, 0.2);
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
- position: relative;
- font-size: 0;
- overflow: hidden;
- border-radius: 5px;
- cursor: pointer;
- }
- .compact:before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- border-radius: 5px;
- transition: opacity .2s;
- opacity: 1;
- visibility: visible;
- }
- .compact__title {
- position: absolute;
- left: 20px;
- top: 20px;
- z-index: 1;
- font-size: 24px;
- color: rgba(255, 255, 255, 0.8);
- }
- .compact__button {
- background: none;
- border: 0;
- line-height: 1;
- color: #3566e3;
- outline: 0;
- padding: 0;
- cursor: pointer;
- -ms-flex-pack: center;
- justify-content: center;
- display: -ms-flexbox;
- display: flex;
- max-width: 50px;
- }
- .compact__button i {
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- }
- .compact__button--big {
- background: none;
- border: 0;
- line-height: 1;
- color: #3566e3;
- text-align: center;
- outline: 0;
- padding: 0;
- cursor: pointer;
- position: absolute;
- opacity: 1;
- visibility: visible;
- top: 50%;
- left: 50%;
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- font-size: 64px;
- transition: all .2s ease-in;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- }
- .compact__slider {
- width: 10px;
- height: 30px;
- }
- .compact__controls {
- display: -ms-flexbox;
- display: flex;
- position: absolute;
- max-width: 400px;
- bottom: 0;
- right: 0;
- left: 50%;
- transition: all .3s;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- background: #242424;
- font-size: 32px;
- -ms-flex-align: center;
- align-items: center;
- padding: 10px;
- -ms-transform: translateY(-20px) translateX(-50%);
- transform: translateY(-20px) translateX(-50%);
- -ms-flex-pack: justify;
- justify-content: space-between;
- border-radius: 5px;
- }
- .compact.is-playing:before {
- opacity: 0;
- visibility: hidden;
- }
- .compact.is-playing .compact__button--big {
- opacity: 0;
- visibility: hidden;
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
- .compact.is-playing .compact__controls {
- -ms-transform: translateY(52px) translateX(-50%);
- transform: translateY(52px) translateX(-50%);
- }
- .compact.is-playing:hover .compact__controls {
- -ms-transform: translateY(-20px) translateX(-50%);
- transform: translateY(-20px) translateX(-50%);
- }
- .compact__controls > * {
- -ms-flex: 1;
- flex: 1;
- }
- .compact .progress {
- position: relative;
- display: -ms-flexbox;
- display: flex;
- height: 10px;
- transition: height 0.3s;
- background: rgba(0, 0, 0, 0.5);
- cursor: pointer;
- border-radius: 4px;
- }
- .compact .progress__filled {
- width: 0%;
- background: #3566e3;
- -ms-flex: 0;
- flex: 0;
- -ms-flex-preferred-size: 0%;
- flex-basis: 0%;
- border-radius: 4px;
- }
- @media (max-width: 480px) {
- .ckin__player button {
- font-size: 18px;
- }
- }
- video::-webkit-media-controls-enclosure {
- display: none !important;
- }
|