소스 검색

fix(profile_icon): Cursor and background styles

j8
hristoterezov 9 년 전
부모
커밋
2d4819257b
2개의 변경된 파일17개의 추가작업 그리고 1개의 파일을 삭제
  1. 13
    1
      css/_toolbars.scss
  2. 4
    0
      modules/UI/toolbars/Toolbar.js

+ 13
- 1
css/_toolbars.scss 파일 보기

114
     opacity: 0.5;
114
     opacity: 0.5;
115
 }
115
 }
116
 
116
 
117
+.button.unclickable {
118
+    cursor: default;
119
+}
120
+
121
+a.button.unclickable:hover,
122
+a.button.unclickable:active,
123
+a.button.unclickable.selected{
124
+    cursor: default;
125
+    background: none;
126
+}
127
+
117
 a.button:hover,
128
 a.button:hover,
118
 a.button:active,
129
 a.button:active,
119
 a.button.selected {
130
 a.button.selected {
219
 .slideOutExt {
230
 .slideOutExt {
220
   @include animation("slideOutExt .5s forwards");
231
   @include animation("slideOutExt .5s forwards");
221
 }
232
 }
233
+
222
 /**
234
 /**
223
  * END of slide in animation for extended toolbar panel.
235
  * END of slide in animation for extended toolbar panel.
224
- */
236
+ */

+ 4
- 0
modules/UI/toolbars/Toolbar.js 파일 보기

354
                 Toolbar._handleSideToolbarContainerToggled( containerId,
354
                 Toolbar._handleSideToolbarContainerToggled( containerId,
355
                                                             isVisible);
355
                                                             isVisible);
356
             });
356
             });
357
+
358
+        if(!APP.tokenData.isGuest) {
359
+            $("#toolbar_button_profile").addClass("unclickable");
360
+        }
357
     },
361
     },
358
     /**
362
     /**
359
      * Enables / disables the toolbar.
363
      * Enables / disables the toolbar.

Loading…
취소
저장