Переглянути джерело

организации/специализации ссылка и раскрывающийся список

anatoly 7 роки тому
батько
коміт
af2ab1c97b

+ 3 - 3
src/app/assets/scripts/main.js

@@ -127,9 +127,9 @@
             $(this).attr('placeholder', $(this).data('placeholder'));
         });
 
-        $('#organization__title, #specialization__title').click(function (e) {
-            $(this).next().toggleClass('active');
-            $(this).find('.leftbar__arrow').toggleClass('active');
+        $('#organization__title img, #specialization__title img').click(function (e) {
+            $(this).parent().next().toggleClass('active');
+            $(this).parent().find('.leftbar__arrow').toggleClass('active');
             e.preventDefault();
         });
 

+ 1 - 1
src/app/assets/styles/content/leftbar/leftbar.scss

@@ -98,7 +98,7 @@
     &__arrow {
         padding: 5px 8px;
         transform: rotate(0deg);
-
+        cursor: pointer;
         &.active {
             transform: rotate(90deg);
         }

+ 3 - 2
src/app/assets/styles/content/leftbar/organization.scss

@@ -2,9 +2,10 @@
     display: block;
 
     &__title {
-        text-decoration: none;
         position: relative;
-
+        a{
+            text-decoration: none;
+        }
         &::before {
             content: '';
             position: absolute;

+ 4 - 2
src/app/assets/styles/content/leftbar/specialization.scss

@@ -2,9 +2,11 @@
     display: block;
 
     &__title {
-        text-decoration: none;
         color: #3b434d;
-
+        a {
+            text-decoration: none;
+            color: #3b434d;
+        }
         &::before {
             content: '';
             position: absolute;

+ 7 - 3
src/app/www/css/all.css

@@ -1155,7 +1155,8 @@ body {
       visibility: hidden; }
   .leftbar__arrow {
     padding: 5px 8px;
-    transform: rotate(0deg); }
+    transform: rotate(0deg);
+    cursor: pointer; }
     .leftbar__arrow.active {
       transform: rotate(90deg); }
   .leftbar__item-caption {
@@ -1290,8 +1291,9 @@ body {
 .organization {
   display: block; }
   .organization__title {
-    text-decoration: none;
     position: relative; }
+    .organization__title a {
+      text-decoration: none; }
     .organization__title::before {
       content: '';
       position: absolute;
@@ -1329,8 +1331,10 @@ body {
 .specialization {
   display: block; }
   .specialization__title {
-    text-decoration: none;
     color: #3b434d; }
+    .specialization__title a {
+      text-decoration: none;
+      color: #3b434d; }
     .specialization__title::before {
       content: '';
       position: absolute;

Різницю між файлами не показано, бо вона завелика
+ 0 - 0
src/app/www/css/all.css.map


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
src/app/www/css/all.min.css


Різницю між файлами не показано, бо вона завелика
+ 0 - 0
src/app/www/js/all.min.js


Деякі файли не було показано, через те що забагато файлів було змінено