]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/static/css/_specifics.scss
style: adapt to large topik now being link cells
[panikweb.git] / panikweb_templates / static / css / _specifics.scss
index e0fdd58aa68dc1ad92d159b5687bf02f8b9414e0..31663d4ca25083b6d93d2be245aca53c03428954 100644 (file)
@@ -80,14 +80,6 @@ h5.focus-title {
     padding:5px 7px 0px 7px;
 }
 
-#RefreshWhatsOnAir {
-       opacity: 0.2;
-}
-
-#RefreshWhatsOnAir.spinning {
-       opacity: 0.8;
-}
-
 /****************************************************/
 /* WRAPPER */
 /****************************************************/
@@ -98,7 +90,7 @@ h5.focus-title {
 @media screen and (min-width: 760px) {
        #player-container.fixed {
                position: fixed;
-               top: 50px;
+               top: 60px;
                width: calc(0% + 235px);
        }
        .wrapper .rightPart{
@@ -233,13 +225,15 @@ body{
 }
 
 #metaNav ul li a{
-       height: 2em;
+       height: 3em;
+       line-height: 3em;
        display:block;
 }
 
 #metaNav ul li#nav-language span {
        cursor: pointer;
-       padding:0.4em 0 0.5em 0;
+       height: 3em;
+       line-height: 3em;
        display: inline-block;
 }
 
@@ -248,7 +242,6 @@ body{
 }
 
 #metaNav ul li a span{
-    padding:0.4em 0 0.5em 0;
        display:inline-block;
 }
 
@@ -279,6 +272,10 @@ body{
        width: 10em;
 }
 
+.icon-rss {
+       color: orange;
+}
+
 @media screen and (max-width:760px){
        #bg-title { display: none; }
        #metaNav .iconLabel {display:none;}
@@ -304,7 +301,7 @@ body{
                padding: 0.2em 0 0 1ex;
        }
        #metaNav ul li a {
-               padding: 0 1ex;
+               padding: 0 0.8em;
        }
 }
 
@@ -383,7 +380,7 @@ body{
                font-family: RegloScale;
                text-transform: uppercase;
                padding-left: 0;
-               padding-top: 40px;
+               padding-top: 2rem;
                padding-bottom: 0;
        }
 
@@ -691,7 +688,7 @@ h1.top#frequence {
        opacity:0.9;
        padding-top:0.2em;
        height:auto;
-       overflow:auto;
+       overflow: hidden;
 }
 
 @media screen and (max-width: 760px) {
@@ -714,6 +711,17 @@ h1.top#frequence {
                max-width:auto !important;
        }
 
+       #player.on-chat-page {
+               display: none;
+       }
+
+       div.chat-page .rightPart {
+               font-size: 95%;
+               margin-top: 4em;
+               padding-top: 1em;
+               border-top: 1px solid #777;
+       }
+
 }
 
 /****************************************************/
@@ -907,7 +915,7 @@ h1.top#frequence {
 .episode.resume .logo{
        float: right;
 }
-.topik.inline .logo,
+.topik-link .logo,
 .episode.inline .logo {
        min-height: 50px;
        float: left;
@@ -1286,6 +1294,7 @@ ul.newsSpecial{
        text-decoration: underline;
 }
 
+#fiber-content .episode a,
 #fiber-content ul.list a {
        text-decoration: none;
 }
@@ -1566,6 +1575,11 @@ h3.episode-subtitle {
        font-weight: bold;
 }
 
+span.timestamp {
+       cursor: pointer;
+       border-bottom: 1px dotted #666;
+}
+
 div.fragment-sound {
        position: relative;
 }
@@ -1626,7 +1640,7 @@ div.extra-soundfiles div.logo {
 div#fiber-content div.extra-soundfiles ul.list {
        display: inline-block;
        width: 88%;
-       width: calc(100% - 72px);
+       width: calc(100% - 74px);
 }
 
 div.download-links {
@@ -1642,7 +1656,7 @@ div.hidden-download-links {
 div.episode-detail div.sound div.download-links {
        display: inline-block;
        padding-top: 1ex;
-       padding-left: 1ex;
+       padding-left: 3em;
 }
 
 div.extra-soundfiles div.download-links {
@@ -1740,17 +1754,18 @@ ul.tags {
        clear: both;
 }
 
-div.topik.inline {
+a.topik-link {
        clear: both;
-        margin-top: 1em;
+       display: block;
+       margin-top: 1em;
 }
 
-#fiber-content div.topikcell a {
+#fiber-content div.topikcellcontent a {
        text-decoration: none;
        height: 500px;
 }
 
-#fiber-content div.topikcell .topik-large a {
+#fiber-content div.cell.topik-large a {
        height: auto;
 }
 
@@ -1758,16 +1773,31 @@ div.topikcellcontent h5 {
        padding-top: 1ex;
 }
 
-div.topikcellcontent.topik-large a {
+div.topik-large div.topikcellcontent a {
        width: 100%;
        float: none;
        display: inline-block;
        text-align: left;
 }
 
-div.topikcellcontent.topik-large img {
-       float: left;
-       margin-right: 1em;
+div.topik-large div.topikcellcontent img {
+       width: 100%;
+       display: block;
+}
+
+div.topik-large div.topikcellcontent a div {
+       @media screen and (min-width: 760px) {
+               display: flex;
+       }
+       margin-top: 1ex;
+       h2 {
+               margin-top: 0;
+               white-space: nowrap;
+               margin-right: 1ex;
+               @media screen and (max-width: 760px) {
+                       padding-bottom: 0;
+               }
+       }
 }
 
 div.topikcellcontent a {
@@ -1958,6 +1988,18 @@ div.chat-area {
        color: #666;
 }
 
+@media screen and (max-width: 760px) {
+    #chat span.from {
+        display: block;
+        position: static;
+        width: auto;
+    }
+    #chat span.content {
+        display: block;
+        padding-left: 2rem;
+    }
+}
+
 h1.top > span.chat.with-logo {
        position: relative;
        left: 140px;
@@ -2036,3 +2078,41 @@ div.programCell a.playlist {
        user-select: none;
        cursor: default;
 }
+
+.rightPart .menucell {
+       ul {
+               list-style: none;
+               padding: 0;
+               li {
+                       padding-bottom: 1rem;
+               }
+       }
+}
+
+div#loading-page {
+       position: fixed;
+       top: 0;
+       left: 0;
+       right: 0;
+       height: 5px;
+       background: $secondary;
+       z-index: 1100;
+       animation-name: load_animation;
+       animation-duration: 6000ms;
+       animation-timing-function: ease-out;
+       transition: opacity 200ms linear;
+       &.fade {
+               opacity: 0;
+       }
+}
+
+@keyframes load_animation {
+       0% { right: 100%; }
+       100% { right: 0%; }
+}
+
+.episode-auto-selection-cell.hide-emission-titles {
+       .emission-title, .soundfile-info .sep {
+               display: none;
+       }
+}