Sha256: a5a851ca1f5fc720343ad7e324b3e5aaa66408c3d30c037d6f2a36f95436595a
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
@import "../helpers/index.scss"; .cm-drawer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 5; background-color: rgba(0, 0, 0, 0.7); &__container { position: relative; width: 360px; height: 100%; background: $white; box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.16); .header { display: flex; align-items: center; justify-content: space-between; padding: 24px; background: $grey-lightest-clr; &__lhs { .title { @include font($size: $t1-text, $color: $primary-text-clr, $weight: 600); font-family: $primary-font; line-height: 28px; margin-bottom: 8px; } .description { @include font($size: $t4-text, $color: $primary-text-clr); font-family: $primary-font; line-height: 22px; margin-bottom: 0; } } &__rhs { color: $ink-lighter-clr; } } .body { padding: 24px; .info-text { @include font($size: $t4-text, $color: $primary-text-clr); font-family: $primary-font; line-height: 22px; } } } } .drawer-slide-in { animation: slideInLeft 0.3s ease-in forwards; } .drawer-slide-out { animation: slideOutLeft 0.3s ease-in forwards; } @keyframes slideInLeft { 0% { left: -400px; opacity: 0; } 100% { left: 0; opacity: 1; } } @keyframes slideOutLeft { 0% { left: 0; opacity: 1; } 100% { left: -400px; opacity: 0; } } .drawer-btn { cursor: pointer; margin-left: 8px; @include font($size: $t4-text, $color: $brand-color); } //Kanban drawer styles .kanban-drawer { .cm-drawer { display: flex; justify-content: flex-end; &__actions { display: flex; flex-direction: column; margin: 16px; } &__container { width: 624px; [class^="col-"] { width: 100% !important; } } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cm-admin-1.4.3 | app/assets/stylesheets/cm_admin/components/_drawer.scss |
cm-admin-1.4.2 | app/assets/stylesheets/cm_admin/components/_drawer.scss |