BigW Consortium Gitlab

_user_styles.html.haml 473 Bytes
Newer Older
Douwe Maan committed
1 2 3 4 5 6 7 8 9
:css
  [data-user-is] {
    display: none !important;
  }

  [data-user-is="#{current_user.try(:id)}"] {
    display: block !important;
  }

10 11 12 13
  [data-user-is="#{current_user.try(:id)}"][data-display="inline"] {
    display: inline !important;
  }

Douwe Maan committed
14 15 16 17
  [data-user-is-not] {
    display: block !important;
  }

18 19 20 21
  [data-user-is-not][data-display="inline"] {
    display: inline !important;
  }

Douwe Maan committed
22 23 24
  [data-user-is-not="#{current_user.try(:id)}"] {
    display: none !important;
  }