Prechádzať zdrojové kódy

расписание врача

anatoly 7 rokov pred
rodič
commit
7e89a31970

+ 9 - 4
src/files/css/main.css

@@ -8951,9 +8951,9 @@ img {
   position: relative; }
 .shortnews__textpos {
   min-height: 100px;
-  background: -moz-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, #3b434d 100%);
-  background: -webkit-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, #3b434d 100%);
-  background: linear-gradient(to bottom, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, #3b434d 100%);
+  background: -moz-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, #3b434d 100%);
+  background: -webkit-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, #3b434d 100%);
+  background: linear-gradient(to bottom, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, #3b434d 100%);
   filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b434d', endColorstr='#3b434d', GradientType=0);
   position: absolute;
   bottom: 0;
@@ -10743,6 +10743,8 @@ img {
   .organization-info__slidedown-mesto {
     color: #929292;
     font-size: 13px; }
+  .organization-info__slidedown-content {
+    display: none; }
   .organization-info__slidedown-handler {
     position: absolute;
     top: 50%;
@@ -10751,7 +10753,10 @@ img {
     height: 9px;
     margin-top: -4px;
     cursor: pointer;
-    background: url(../img/blockslide_sprite.png) no-repeat; }
+    background: url(../img/blockslide_sprite.png) no-repeat;
+    transform: rotate(180deg); }
+    .organization-info__slidedown-handler.active {
+      transform: rotate(0); }
 .organization-info__administration-content {
   padding-left: 10px; }
 .organization-info__sub-organizations-header {

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
src/files/css/main.css.map


+ 12 - 0
src/files/js/script.js

@@ -51,6 +51,18 @@ $(document).ready(function () {
         });
         personal_title.css('min-height', title_heigh);
     }
+
+    // isolate scope for easier moving and extension
+    (function ($) {
+        $('.organization-info__slidedown-handler').click(function (e) {
+            e.preventDefault();
+            var $content = $(this)
+                .parents('.organization-info__slidedown')
+                .find('.organization-info__slidedown-content');
+            $(this).toggleClass('active');
+            $content.slideToggle();
+        });
+    })($);
 });
 $(window).on('load',function(){
     (function($){

+ 5 - 1
src/files/scss/_organization-worktime.scss

@@ -383,7 +383,7 @@ $organizationMediaSelector: 'organization-media';
         }
 
         &-content {
-
+            display: none;
         }
 
         &-handler {
@@ -395,6 +395,10 @@ $organizationMediaSelector: 'organization-media';
             margin-top: -4px;
             cursor: pointer;
             background: url(../img/blockslide_sprite.png) no-repeat;
+            transform: rotate(180deg);
+            &.active{
+                transform: rotate(0deg);
+            }
         }
     }
 

+ 3 - 3
src/files/scss/_shortnews.scss

@@ -60,9 +60,9 @@
 
   &__textpos {
     min-height: 100px;
-    background: -moz-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, rgba(59, 67, 77, 1) 100%);
-    background: -webkit-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, rgba(59, 67, 77, 1) 100%);
-    background: linear-gradient(to bottom, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.25) 10%, rgba(59, 67, 77, 1) 100%);
+    background: -moz-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, rgba(59, 67, 77, 1) 100%);
+    background: -webkit-linear-gradient(top, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, rgba(59, 67, 77, 1) 100%);
+    background: linear-gradient(to bottom, rgba(59, 67, 77, 0) 0%, rgba(59, 67, 77, 0.1) 10%, rgba(59, 67, 77, 1) 100%);
     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003b434d', endColorstr='#3b434d', GradientType=0);
     position: absolute;
     bottom: 0;

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov