annotate src/DML/MainVisBundle/Resources/assets/bem-blocks/screenshot.less @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
rev   line source
Daniel@0 1 @import "../config.less";
Daniel@0 2
Daniel@0 3 .screenshot {
Daniel@0 4 overflow: scroll;
Daniel@0 5
Daniel@0 6 & body {
Daniel@0 7 position: relative;
Daniel@0 8 width: 1340px;
Daniel@0 9 height: 715px;
Daniel@0 10 // can be defined as screenshot=...|1000x500|...
Daniel@0 11 background: #fff;
Daniel@0 12 }
Daniel@0 13
Daniel@0 14 & body::-webkit-scrollbar {
Daniel@0 15 width: 0 !important;
Daniel@0 16 height: 0 !important;
Daniel@0 17 display: none;
Daniel@0 18 }
Daniel@0 19
Daniel@0 20 & .config-grid-cells__container {
Daniel@0 21 overflow: hidden;
Daniel@0 22 }
Daniel@0 23
Daniel@0 24
Daniel@0 25 & .main-menu,
Daniel@0 26 & .main-menu-bar {
Daniel@0 27 position: absolute;
Daniel@0 28 }
Daniel@0 29
Daniel@0 30 & .config-grid-panel_dimension_entity .config-grid-panel__background {
Daniel@0 31 border-bottom-right-radius: @--border-radius;
Daniel@0 32 }
Daniel@0 33 & .config-grid-panel_dimension_view .config-grid-panel__background {
Daniel@0 34 border-radius: @--border-radius;
Daniel@0 35 }
Daniel@0 36
Daniel@0 37
Daniel@0 38 // ----------------------------------
Daniel@0 39 &_debug body {
Daniel@0 40 outline: 1px solid red;
Daniel@0 41 }
Daniel@0 42
Daniel@0 43 // ----------------------------------
Daniel@0 44 &_no-main-menu .main-menu {
Daniel@0 45 display: none;
Daniel@0 46 }
Daniel@0 47 &_no-main-menu .main-region {
Daniel@0 48 top: 0;
Daniel@0 49 }
Daniel@0 50 &_no-main-menu .config-grid-panel_dimension_entity .config-grid-panel__background {
Daniel@0 51 border-radius: @--border-radius;
Daniel@0 52 }
Daniel@0 53 &_no-main-menu .config-grid-panel_dimension_view .config-grid-panel__background {
Daniel@0 54 border-radius: @--border-radius;
Daniel@0 55 }
Daniel@0 56
Daniel@0 57 // ----------------------------------
Daniel@0 58 &_no-panel_view .config-grid__header {
Daniel@0 59 display: none;
Daniel@0 60 }
Daniel@0 61 &_no-panel_view .config-grid-panel_dimension_view {
Daniel@0 62 display: none;
Daniel@0 63 }
Daniel@0 64 &_no-panel_view .config-grid_type_collection {
Daniel@0 65 left: -@config-grid_collection--panel_view--width - @config-grid--cells--margin-left;
Daniel@0 66 }
Daniel@0 67
Daniel@0 68 // ----------------------------------
Daniel@0 69 &_no-buttons_new .config-grid-cells__entity-header_kind_adder {
Daniel@0 70 display: none;
Daniel@0 71 }
Daniel@0 72 &_no-buttons_new .config-grid-cells__view-header_kind_adder {
Daniel@0 73 display: none;
Daniel@0 74 }
Daniel@0 75
Daniel@0 76 // ----------------------------------
Daniel@0 77 &_autosize {
Daniel@0 78 // js-handled
Daniel@0 79 }
Daniel@0 80 &_autosize_grid .config-grid-cells__view-header-background,
Daniel@0 81 &_autosize .config-grid-cells__view-header-background {
Daniel@0 82 border-top-right-radius: @--border-radius;
Daniel@0 83 border-bottom-right-radius: @--border-radius;
Daniel@0 84 }
Daniel@0 85
Daniel@0 86 &__fake-cursor {
Daniel@0 87 background-image: url("@{bem-path}//screenshot/fake-cursor.png");
Daniel@0 88 background-repeat: no-repeat;
Daniel@0 89 position: fixed;
Daniel@0 90 display: block;
Daniel@0 91 height: 30px;
Daniel@0 92 width: 30px;
Daniel@0 93 z-index: @z-index_notifications;
Daniel@0 94 }
Daniel@0 95
Daniel@0 96 // flipper
Daniel@0 97
Daniel@0 98 @duration: 20s;
Daniel@0 99 &_state_flip .main-region__flipper{
Daniel@0 100 .transition(transform @duration);
Daniel@0 101 }
Daniel@0 102 &_state_flip .main-region__flipper .config-grid{
Daniel@0 103 .transition(transform @duration);
Daniel@0 104 }
Daniel@0 105 }