Sha256: e18bb0fc382684349b987f15e27cc0f36766f29f42a716589ca71458d17e8f27

Contents?: true

Size: 2 KB

Versions: 4

Compression:

Stored size: 2 KB

Contents

// Minimal style to get a working ActiveList

div[data-list-source] {
  table.list {
    thead {
      tr {
        th {
          &[data-list-column-sort] {
            cursor: pointer;
          }

          &.spe {
            padding: 0;
            .list-menu {
              position: relative;
              a { cursor: pointer; }
              .list-menu-start {
                display: block;
                height: 16px;
                padding: 2px;
              }
              &:hover {
                .list-menu-start { z-index:5000;  position: relative; top: 0px; }
                & > ul { display: block; }
              }
              ul {
                display: none;
                position:absolute;
                top: 20px;
                padding: 1px;
                margin:0;
                 & { right: 0px;}
                html[dir="rtl"] & { left: 0px;}
                li {
                  &[data-list-change-page-size], &[data-list-toggle-column] {
                    cursor: pointer;
                    display: block;
                  }
                  list-style-type: none;
                  width: 25ex;
                  position: relative;
                  a {
                    display: block;
                  }
                  ul {
                    display: none;
                    position: absolute;
                    top: -2px;
                     & { right: 25ex; }
                    html[dir="rtl"] & { left: 25ex; }
                    &:hover { display:block; }
                  }
                  &:hover ul { display:block; }
                }
              }
            }
          }

          &.hidden {
            display: none;
          }

        }
      }
    }

    tbody {
      tr {
        td.hidden {
          display: none;
        }
      }
    }

  }

  div.extras {
    .pagination {
      a[data-list-move-to-page] {
        cursor: pointer;
      }
      a[data-list-move-to-page][disabled] {
        cursor: default;
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
active_list-6.0.1 app/assets/stylesheets/active_list/minimal.scss
active_list-6.0.0 app/assets/stylesheets/active_list/minimal.scss
active-list-5.0.1 app/assets/stylesheets/active_list/minimal.scss
active-list-5.0.0 app/assets/stylesheets/active_list/minimal.scss