<commit_before>@require 'cozy-ui'

.fil-toolbar
  margin-left auto
  .coz-btn:last-child
    margin-right 0

b-menu-button
  position relative

b-menu-button > b-listbox
  display none
  position absolute

b-menu-button[open] > b-listbox
  display block

b-item
  display block

.fil-toolbar-menu
  right 0
  padding 5px 0
  margin 0
  z-index 1000
  background-color white
  margin-top 1px
  min-width 220px
  border 1px solid grey-09
  border-radius 4px
  box-shadow 0 1px 3px 0 rgba(50, 54, 63, 0.19), 0 6px 18px 0 rgba(50, 54, 63, 0.19)

  b-item:hover
  b-item:focus
    background-color grey-01
    outline none

  hr
    margin 5px 0
    border 0
    border-top 1px solid grey-09

  a
    padding em(8px) em(32px)
    left-padded(42px)
    cursor pointer
    color grey-08
    text-decoration none
    display block
    white-space nowrap

    &:hover
      text-decoration none
    &.fil-action-upload
      display none
      background: embedurl("../assets/icons/icon-upload-16.svg") em(16px) center no-repeat
    &.fil-action-newfolder
      background: embedurl("../assets/icons/icon-folder-add-16.svg") em(16px) center no-repeat
    &.fil-action-select
      background: embedurl("../assets/icons/icon-checkbox-16.svg") em(16px) center no-repeat


@media (max-width: (1023/basefont)rem)
  .fil-toolbar-menu
    a.fil-action-upload
      display block
<commit_msg>[fix] Show only "select items" in toolbar on mobile<commit_after>@require 'cozy-ui'

.fil-toolbar
  margin-left auto
  .coz-btn:last-child
    margin-right 0

b-menu-button
  position relative

b-menu-button > b-listbox
  display none
  position absolute

b-menu-button[open] > b-listbox
  display block

b-item
  display block

.fil-toolbar-menu
  right 0
  padding 5px 0
  margin 0
  z-index 1000
  background-color white
  margin-top 1px
  min-width 220px
  border 1px solid grey-09
  border-radius 4px
  box-shadow 0 1px 3px 0 rgba(50, 54, 63, 0.19), 0 6px 18px 0 rgba(50, 54, 63, 0.19)

  b-item:hover
  b-item:focus
    background-color grey-01
    outline none

  hr
    margin 5px 0
    border 0
    border-top 1px solid grey-09

  a
    padding em(8px) em(32px)
    left-padded(42px)
    cursor pointer
    color grey-08
    text-decoration none
    display block
    white-space nowrap

    &:hover
      text-decoration none
    &.fil-action-upload
      background: embedurl("../assets/icons/icon-upload-16.svg") em(16px) center no-repeat
    &.fil-action-newfolder
      background: embedurl("../assets/icons/icon-folder-add-16.svg") em(16px) center no-repeat
    &.fil-action-select
      background: embedurl("../assets/icons/icon-checkbox-16.svg") em(16px) center no-repeat

  a.fil-action-upload,
  a.fil-action-select,
  hr // temporary while there is only select after hr
    display none


@media (max-width: (1023/basefont)rem)
  .fil-toolbar-menu
    a.fil-action-upload,
    a.fil-action-select,
    hr // temporary while there is only select after hr
      display block

{'fraction_non_alphanumeric': 0.10602490743857287, 'fraction_numerical': 0.05048805116122518, 'mean_word_length': 2.6782178217821784, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2815127', 'n_tokens_mistral': 1170, 'n_tokens_neox': 1036, 'n_words': 277}