.o_kanban_view.o_theme_kanban { $o-theme-kanban-gray: #fcfcfc; background-color: $o-theme-kanban-gray; /// Un-grouped Layout (default) &.o_kanban_ungrouped { @include o-justify-content(space-between); margin: 0 0 0 ($o-kanban-record-margin - 2 * $grid-gutter-width); @media (max-width: $screen-xs-max) { padding-left: $o-horizontal-padding - $o-kanban-record-margin; padding-right: $o-horizontal-padding; } .o_kanban_record { @include o-flex(1, 0, 220px); } } .o_kanban_record { margin-left: $grid-gutter-width * 2; padding: 0; box-shadow: none; background: none; border: none; .o_browser_bar:before { content: "•••"; display: block; padding-left: 10px; color: darken($o-theme-kanban-gray, 10%); font: 12px/20px Courier, monospace; letter-spacing: -1px; } &.o_theme_installed .o_theme_preview_top { border-color: $o-brand-optional; > .fa-check-circle { @include o-position-absolute(10px, 10px); @include square(20px); font-size: 20px; } } .o_theme_preview_top { border: 1px solid darken($o-theme-kanban-gray, 20%); border-radius: 2px; @include o-transform-origin(center, bottom); @include o-transition(all, .1s); .o_theme_cover, .o_theme_logo, .o_theme_screenshot { width: 100%; padding-bottom: 127%; background-repeat: no-repeat; background-position: center center; background-size: 40% 32%; } .o_theme_cover { background-size: contain; } .o_theme_screenshot { background-size: cover; } } .o_theme_preview_bottom { h5, h6 { line-height: 16px; } } .o_button_area { @include o-position-absolute(20px, -1px, -1px, -1px); @include o-transition(opacity, 100ms); @include o-flex-display; @include o-flex-flow(column, nowrap); @include o-justify-content(center); @include translate3d(0,0,0); @include o-linear-gradient(0deg, rgba(black, 0.6), rgba(black, 0.3)); padding: 10% 20%; opacity: 0; visibility: hidden; > .btn { padding: $padding-large-vertical $padding-large-horizontal; } hr { width: 100%; } } &:not(.o_theme_installed) { .o_theme_preview_top:hover { @include o-transition(all, .3s); @include o-transform(translateY(-10px)); border-color: darken($o-theme-kanban-gray, 26%); box-shadow: 0 15px 12px -8px rgba(0, 0, 0, .4); .o_button_area { opacity: 1; visibility: visible; @include o-transition(opacity, 0.2s, ease, 0.1s); } } } } /// Grouped Layout &.o_kanban_grouped { .o_kanban_group { background-color: $o-theme-kanban-gray; padding: 0 20px; .o_kanban_header { height: 30px; .o_column_title { padding: 0; color: $text-color; } &:hover, &.open { .o_kanban_config { display: none; } } } .o_theme_preview_top { border-color: darken($o-theme-kanban-gray, 16%); } &:nth-child(even) { background-color: darken($o-theme-kanban-gray, 4%); .o_theme_cover, .o_theme_logo { background-color: white; } } } .o_kanban_record { width: 100%; margin-left: 0; margin-right: 0; .o_theme_preview_top { .o_theme_cover, .o_theme_logo { padding-bottom: 50%; background-size: 32% 62%; } .o_theme_cover { background-size: cover; } } } } }