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