annotate src/DML/MainVisBundle/Resources/assets/bem-blocks/config-grid-cells.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 .config-grid-cells {
Daniel@0 4 position: absolute;
Daniel@0 5 bottom: 0;
Daniel@0 6 right: 0;
Daniel@0 7 z-index: @z-index_main-region + 9;
Daniel@0 8 overflow: hidden;
Daniel@0 9 left: @config-grid_collection--panel_view--width;
Daniel@0 10 top: @config-grid_collection--panel_entity--height;
Daniel@0 11
Daniel@0 12 .config-grid_type_collection & {
Daniel@0 13 }
Daniel@0 14 .config-grid_type_recording & {
Daniel@0 15 left: @config-grid_recording--panel_view--width;
Daniel@0 16 top: @config-grid_recording--panel_entity--height;
Daniel@0 17 }
Daniel@0 18
Daniel@0 19 // ==================================
Daniel@0 20 &__container_position_scrollable {
Daniel@0 21 .position_absolute_everywhere();
Daniel@0 22 overflow: scroll;
Daniel@0 23 z-index: @z-index_main-region + 50;
Daniel@0 24 background: rgba(0,0,0,0.0);
Daniel@0 25 }
Daniel@0 26
Daniel@0 27 &__container_position_fixed {
Daniel@0 28 //.position_absolute_everywhere();
Daniel@0 29 position: absolute;
Daniel@0 30 pointer-events: none !important;
Daniel@0 31 top: 0px;
Daniel@0 32 left: 0px;
Daniel@0 33 overflow: hidden;
Daniel@0 34 z-index: @z-index_main-region + 20;
Daniel@0 35 }
Daniel@0 36
Daniel@0 37 // ==================================
Daniel@0 38 &__space {
Daniel@0 39 position: absolute;
Daniel@0 40 z-index: @z-index_main-region + 51;
Daniel@0 41 overflow: hidden;
Daniel@0 42 padding-left: @config-grid--cells--margin-left;
Daniel@0 43 padding-right: @config-grid--cells--margin-right;
Daniel@0 44 padding-bottom: @config-grid--cells--margin-bottom;
Daniel@0 45 }
Daniel@0 46 .config-grid_type_collection &__space {
Daniel@0 47 padding-top: @config-grid--entity-header-margin-top + @config-grid_collection--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 48 }
Daniel@0 49 .config-grid_type_recording &__space {
Daniel@0 50 padding-top: @config-grid--entity-header-margin-top + @config-grid_recording--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 51 }
Daniel@0 52
Daniel@0 53 // ==================================
Daniel@0 54 // ==================================
Daniel@0 55 &__entity-headers-container {
Daniel@0 56 position: absolute;
Daniel@0 57 //position: fixed;
Daniel@0 58 top: 0;
Daniel@0 59 left: @config-grid--cells--margin-left;
Daniel@0 60 right: 0;
Daniel@0 61 height: 10px;
Daniel@0 62 overflow: visible;
Daniel@0 63 z-index: @z-index_main-region-cells + 5;
Daniel@0 64 }
Daniel@0 65 .config-grid_type_collection &__entity-headers-container {
Daniel@0 66 height: @config-grid--entity-header-margin-top + @config-grid_collection--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 67 }
Daniel@0 68 .config-grid_type_recording &__entity-headers-container {
Daniel@0 69 height: @config-grid--entity-header-margin-top + @config-grid_recording--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 70 }
Daniel@0 71
Daniel@0 72 // ==================================
Daniel@0 73 &__entity-headers-blind {
Daniel@0 74 .position_absolute_everywhere();
Daniel@0 75 z-index: @z-index_main-region-cells + 6;
Daniel@0 76 background: @--background-color;
Daniel@0 77 }
Daniel@0 78
Daniel@0 79 // ==================================
Daniel@0 80 &__entity-header {
Daniel@0 81 .cursor_action();
Daniel@0 82 position: absolute;
Daniel@0 83 top: @config-grid--entity-header-margin-top;
Daniel@0 84 // left: 0; // defined by JS
Daniel@0 85 height: @config-grid_collection--entity-header-height;
Daniel@0 86 overflow: visible;
Daniel@0 87 z-index: @z-index_main-region-cells + 7;
Daniel@0 88 }
Daniel@0 89 .config-grid_type_collection &__entity-header {
Daniel@0 90 height: @config-grid_collection--entity-header-height;
Daniel@0 91 }
Daniel@0 92 .config-grid_type_recording &__entity-header {
Daniel@0 93 height: @config-grid_recording--entity-header-height;
Daniel@0 94 }
Daniel@0 95
Daniel@0 96 // ----------------------------------
Daniel@0 97 &__entity-header_kind_adder {
Daniel@0 98 width: 109px;
Daniel@0 99 height: @config-grid_collection--entity-header-height_adder !important;
Daniel@0 100 }
Daniel@0 101
Daniel@0 102 // ----------------------------------
Daniel@0 103 &__entity-header_kind_pair &__entity-header-background {
Daniel@0 104 background: @--background-color !important;
Daniel@0 105 }
Daniel@0 106 &__entity-header_kind_pair&__entity-header_selected &__entity-header-label {
Daniel@0 107 color: @config-grid--color_panel-label !important;
Daniel@0 108 }
Daniel@0 109
Daniel@0 110
Daniel@0 111 // ----------------------------------
Daniel@0 112 &__entity-header_selected {
Daniel@0 113 .cursor_std();
Daniel@0 114 }
Daniel@0 115
Daniel@0 116 // ==================================
Daniel@0 117 &__entity-header-background {
Daniel@0 118 .position_absolute_everywhere();
Daniel@0 119 border-radius: @--border-radius;
Daniel@0 120 border: @config-grid--header-border-size solid;
Daniel@0 121 background-color: @config-grid--color_panel-background;
Daniel@0 122 border-color: @config-grid--color_panel-background;
Daniel@0 123 }
Daniel@0 124 .config-grid_type_collection &__entity-header_selected &__entity-header-background {
Daniel@0 125 background-color: @config-grid_collection--color_panel-background;
Daniel@0 126 border-color: @config-grid_collection--color_panel-background;
Daniel@0 127 }
Daniel@0 128 .config-grid_type_recording &__entity-header_selected &__entity-header-background {
Daniel@0 129 background-color: @config-grid_recording--color_panel-background;
Daniel@0 130 border-color: @config-grid_recording--color_panel-background;
Daniel@0 131 }
Daniel@0 132
Daniel@0 133 // ----------------------------------
Daniel@0 134 &__entity-header_selected &__entity-header-background {
Daniel@0 135 border-top-left-radius: 0px;
Daniel@0 136 border-top-right-radius: 0px;
Daniel@0 137 top: -@config-grid--entity-header-margin-top - @config-grid--header-border-size;
Daniel@0 138 }
Daniel@0 139
Daniel@0 140 // ==================================
Daniel@0 141 &__entity-header-label {
Daniel@0 142 position: absolute;
Daniel@0 143 overflow: hidden;
Daniel@0 144 white-space: nowrap;
Daniel@0 145 top: -4px;
Daniel@0 146 bottom: 0;
Daniel@0 147 left: @config-grid--cells--header-padding-left;
Daniel@0 148 right: @config-grid--header-border-size;
Daniel@0 149 padding-top: @config-grid--cells--header-padding-top_entity;
Daniel@0 150 color: @config-grid--color_panel-label;
Daniel@0 151 }
Daniel@0 152 &__entity-header:hover &__entity-header-label {
Daniel@0 153 color: @config-grid--color_panel-label-hovered;
Daniel@0 154 }
Daniel@0 155 .config-grid_type_collection &__entity-header_selected:hover &__entity-header-label,
Daniel@0 156 .config-grid_type_collection &__entity-header_selected &__entity-header-label
Daniel@0 157 {
Daniel@0 158 color: @config-grid_collection--color_panel-label;
Daniel@0 159 }
Daniel@0 160 .config-grid_type_recording &__entity-header_selected:hover &__entity-header-label,
Daniel@0 161 .config-grid_type_recording &__entity-header_selected &__entity-header-label {
Daniel@0 162 color: @config-grid_recording--color_panel-label;
Daniel@0 163 }
Daniel@0 164
Daniel@0 165 // ----------------------------------
Daniel@0 166 &__entity-header-label_row2 {
Daniel@0 167 top: 14px;
Daniel@0 168 }
Daniel@0 169 .config-grid_type_collection &__entity-header-label_row2 {
Daniel@0 170 .font_small();
Daniel@0 171 }
Daniel@0 172
Daniel@0 173 // ----------------------------------
Daniel@0 174 &__entity-header_kind_adder &__entity-header-label {
Daniel@0 175 position: relative;
Daniel@0 176 text-align: center;
Daniel@0 177 left: 0;
Daniel@0 178 right: 0;
Daniel@0 179 padding-left: 0;
Daniel@0 180 padding-right: 0;
Daniel@0 181 }
Daniel@0 182
Daniel@0 183 // ==================================
Daniel@0 184 &__entity-header-label-fader {
Daniel@0 185 position: absolute;
Daniel@0 186 top: @config-grid--header-border-size;
Daniel@0 187 bottom:@config-grid--header-border-size;
Daniel@0 188 right: @config-grid--header-border-size;
Daniel@0 189 width: @config-grid--header-fader-width;
Daniel@0 190 .text-fader-background-gradient(@config-grid--color_panel-background);
Daniel@0 191 }
Daniel@0 192 .config-grid_type_collection &__entity-header_selected &__entity-header-label-fader {
Daniel@0 193 .text-fader-background-gradient(@config-grid_collection--color_panel-background);
Daniel@0 194 }
Daniel@0 195 .config-grid_type_recording &__entity-header_selected &__entity-header-label-fader {
Daniel@0 196 .text-fader-background-gradient(@config-grid_recording--color_panel-background);
Daniel@0 197 }
Daniel@0 198 &__entity-header_kind_pair &__entity-header-label-fader,
Daniel@0 199 &__entity-header_kind_pair&__entity-header_selected &__entity-header-label-fader {
Daniel@0 200 .text-fader-background-gradient(@--background-color);
Daniel@0 201 }
Daniel@0 202
Daniel@0 203
Daniel@0 204 // ==================================
Daniel@0 205 // ==================================
Daniel@0 206 &__view-headers-container {
Daniel@0 207 position: absolute;
Daniel@0 208 //position: fixed;
Daniel@0 209 left: 0;
Daniel@0 210 top: 0;
Daniel@0 211 right: 0;
Daniel@0 212 padding-right: @config-grid--cells--margin-left;
Daniel@0 213 overflow: visible;
Daniel@0 214 z-index: @z-index_main-region-cells + 2;
Daniel@0 215 }
Daniel@0 216 .config-grid_type_collection &__view-headers-container {
Daniel@0 217 top: @config-grid--entity-header-margin-top + @config-grid_collection--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 218 }
Daniel@0 219 .config-grid_type_recording &__view-headers-container {
Daniel@0 220 top: @config-grid--entity-header-margin-top + @config-grid_recording--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 221 }
Daniel@0 222
Daniel@0 223 // ==================================
Daniel@0 224 &__view-headers-blind {
Daniel@0 225 position: absolute;
Daniel@0 226 top: 0;
Daniel@0 227 left: 0;
Daniel@0 228 bottom: 0;
Daniel@0 229 width: @config-grid--cells--margin-left;
Daniel@0 230 z-index: @z-index_main-region-cells + 3;
Daniel@0 231 background: @--background-color;
Daniel@0 232 }
Daniel@0 233
Daniel@0 234 // ==================================
Daniel@0 235 &__view-header {
Daniel@0 236 .cursor_action();
Daniel@0 237 position: absolute;
Daniel@0 238 top: 0; // defined by JS
Daniel@0 239 left: @config-grid--cells--margin-left;
Daniel@0 240 right: 0;
Daniel@0 241 height: @config-grid--view-header-height;
Daniel@0 242 overflow: visible;
Daniel@0 243 z-index: @z-index_main-region-cells + 4;
Daniel@0 244 }
Daniel@0 245
Daniel@0 246 // ----------------------------------
Daniel@0 247 &__view-header_kind_adder {
Daniel@0 248 right: auto;
Daniel@0 249 width: auto;
Daniel@0 250 }
Daniel@0 251
Daniel@0 252 // ----------------------------------
Daniel@0 253 &__view-header_selected {
Daniel@0 254 .cursor_std();
Daniel@0 255 }
Daniel@0 256
Daniel@0 257 // ==================================
Daniel@0 258 &__view-header-background {
Daniel@0 259 position: absolute;
Daniel@0 260 top: 0;
Daniel@0 261 left: 0;
Daniel@0 262 right: 0;
Daniel@0 263 bottom: 0;
Daniel@0 264 border-top-left-radius: @--border-radius;
Daniel@0 265 border-bottom-left-radius: @--border-radius;
Daniel@0 266 background-color: @config-grid--color_panel-background;
Daniel@0 267 }
Daniel@0 268 .config-grid_type_collection &__view-header_selected &__view-header-background {
Daniel@0 269 background-color: @config-grid_collection--color_panel-background;
Daniel@0 270 }
Daniel@0 271 .config-grid_type_recording &__view-header_selected &__view-header-background {
Daniel@0 272 background-color: @config-grid_recording--color_panel-background;
Daniel@0 273 }
Daniel@0 274
Daniel@0 275 // ----------------------------------
Daniel@0 276 &__view-header_kind_adder &__view-header-background {
Daniel@0 277 border-top-right-radius: @--border-radius;
Daniel@0 278 border-bottom-right-radius: @--border-radius;
Daniel@0 279 }
Daniel@0 280
Daniel@0 281 // ----------------------------------
Daniel@0 282 &__view-header_selected &__view-header-background {
Daniel@0 283 border-top-left-radius: 0px;
Daniel@0 284 border-bottom-left-radius: 0px;
Daniel@0 285 left: -@config-grid--cells--margin-left;
Daniel@0 286 }
Daniel@0 287
Daniel@0 288 // ==================================
Daniel@0 289 &__view-header-label {
Daniel@0 290 position: absolute;
Daniel@0 291 overflow: hidden;
Daniel@0 292 white-space: nowrap;
Daniel@0 293 top: 0;
Daniel@0 294 left: 0;
Daniel@0 295 right: 0;
Daniel@0 296 bottom: 0;
Daniel@0 297 padding-left: @config-grid--cells--header-padding-left;
Daniel@0 298 padding-right: @config-grid--cells--header-padding-left;
Daniel@0 299 padding-top: @config-grid--cells--header-padding-top_view;
Daniel@0 300 color: @config-grid--color_panel-label;
Daniel@0 301 }
Daniel@0 302 &__view-header:hover &__view-header-label {
Daniel@0 303 color: @config-grid--color_panel-label-hovered;
Daniel@0 304 }
Daniel@0 305 .config-grid_type_collection &__view-header_selected:hover &__view-header-label,
Daniel@0 306 .config-grid_type_collection &__view-header_selected &__view-header-label {
Daniel@0 307 color: @config-grid_collection--color_panel-label;
Daniel@0 308 }
Daniel@0 309 .config-grid_type_recording &__view-header_selected:hover &__view-header-label,
Daniel@0 310 .config-grid_type_recording &__view-header_selected &__view-header-label {
Daniel@0 311 color: @config-grid_recording--color_panel-label;
Daniel@0 312 }
Daniel@0 313
Daniel@0 314 // ----------------------------------
Daniel@0 315 &__view-header_kind_adder &__view-header-label {
Daniel@0 316 position: relative;
Daniel@0 317 }
Daniel@0 318
Daniel@0 319 // ==================================
Daniel@0 320 &__view-header-label-part_modified {
Daniel@0 321 text-decoration: line-through;
Daniel@0 322 }
Daniel@0 323
Daniel@0 324 // ==================================
Daniel@0 325 // ==================================
Daniel@0 326 &__corner-blind {
Daniel@0 327 display: block;
Daniel@0 328 position: absolute;
Daniel@0 329 top: 0;
Daniel@0 330 left: 0;
Daniel@0 331 width: @config-grid--cells--margin-left;
Daniel@0 332 z-index: @z-index_main-region-cells + 9;
Daniel@0 333 background: @--background-color;
Daniel@0 334 }
Daniel@0 335 .config-grid_type_collection &__corner-blind {
Daniel@0 336 height: @config-grid--entity-header-margin-top + @config-grid_collection--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 337 }
Daniel@0 338 .config-grid_type_recording &__corner-blind {
Daniel@0 339 height: @config-grid--entity-header-margin-top + @config-grid_recording--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 340 }
Daniel@0 341
Daniel@0 342 // ==================================
Daniel@0 343 &__vis-instances-container {
Daniel@0 344 position: absolute;
Daniel@0 345 left: @config-grid--cells--margin-left;
Daniel@0 346 top: 0;
Daniel@0 347 width: 0;
Daniel@0 348 height: 0;
Daniel@0 349 overflow: visible;
Daniel@0 350 z-index: @z-index_main-region-cells + 1;
Daniel@0 351 }
Daniel@0 352 .config-grid_type_collection &__vis-instances-container {
Daniel@0 353 top: @config-grid--entity-header-margin-top + @config-grid_collection--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 354 }
Daniel@0 355 .config-grid_type_recording &__vis-instances-container {
Daniel@0 356 top: @config-grid--entity-header-margin-top + @config-grid_recording--entity-header-height + @config-grid--cells--margin-top;
Daniel@0 357 }
Daniel@0 358
Daniel@0 359 &__vis-instance {
Daniel@0 360 background: @--background-color;
Daniel@0 361 position: absolute;
Daniel@0 362 left: 0;
Daniel@0 363 top: 0;
Daniel@0 364 overflow: hidden;
Daniel@0 365 }
Daniel@0 366 }