annotate src/DML/MainVisBundle/Resources/assets/bem-blocks/help.less @ 1:f38015048f48 tip

Added GPL
author Daniel Wolff
date Sat, 13 Feb 2016 20:43:38 +0100
parents 493bcb69166c
children
rev   line source
Daniel@0 1 @import "../config.less";
Daniel@0 2
Daniel@0 3 .help {
Daniel@0 4
Daniel@0 5 .position_fixed_everywhere();
Daniel@0 6 .font_standard();
Daniel@0 7 z-index: @z-index_help;
Daniel@0 8
Daniel@0 9 background: @--popup-base-color;
Daniel@0 10 display: none;
Daniel@0 11
Daniel@0 12 &_animating {
Daniel@0 13 .transition(opacity 0.2s linear);
Daniel@0 14 }
Daniel@0 15
Daniel@0 16 &_state_hidden {
Daniel@0 17 display: none;
Daniel@0 18 }
Daniel@0 19 &_state_pre-hidden {
Daniel@0 20 pointer-events: none;
Daniel@0 21 display: block;
Daniel@0 22 opacity: 0;
Daniel@0 23 }
Daniel@0 24 &_state_pre-shown {
Daniel@0 25 display: block;
Daniel@0 26 opacity: 0;
Daniel@0 27 }
Daniel@0 28 &_state_shown {
Daniel@0 29 display: block;
Daniel@0 30 }
Daniel@0 31
Daniel@0 32 // ==================================
Daniel@0 33 &__body {
Daniel@0 34 .border-radius(@--border-radius);
Daniel@0 35 .position_fixed_everywhere(@help--margin);
Daniel@0 36 .box-shadow(@help--box-shadow);
Daniel@0 37 background: #fff;
Daniel@0 38 overflow: hidden;
Daniel@0 39 z-index: @z-index_help + 1;
Daniel@0 40 }
Daniel@0 41
Daniel@0 42 // ==================================
Daniel@0 43 &__toc-container {
Daniel@0 44 .position_absolute_everywhere();
Daniel@0 45 right: auto;
Daniel@0 46 width: @help--toc-width;
Daniel@0 47 background: #eee;
Daniel@0 48
Daniel@0 49 @media all and (max-width: @help--toc-hiding-threshold) {
Daniel@0 50 & {
Daniel@0 51 display: none;
Daniel@0 52 }
Daniel@0 53 }
Daniel@0 54 }
Daniel@0 55
Daniel@0 56 // ==================================
Daniel@0 57 &__toc {
Daniel@0 58 padding: 1em 0 0 0;
Daniel@0 59
Daniel@0 60 }
Daniel@0 61
Daniel@0 62
Daniel@0 63 // ==================================
Daniel@0 64 &__toc-element {
Daniel@0 65 position: relative;
Daniel@0 66 display: block;
Daniel@0 67 padding: .5em;
Daniel@0 68 text-decoration: none;
Daniel@0 69 color: #888;
Daniel@0 70
Daniel@0 71 &:hover {
Daniel@0 72 color: #000;
Daniel@0 73 }
Daniel@0 74 }
Daniel@0 75
Daniel@0 76 &__toc-element_current {
Daniel@0 77 color: #000;
Daniel@0 78 cursor: default;
Daniel@0 79 }
Daniel@0 80 &__toc-element_hierarchy_1 {
Daniel@0 81 padding-left: 25px;
Daniel@0 82 }
Daniel@0 83 &__toc-element_hierarchy_2 {
Daniel@0 84 padding-left: 25px;
Daniel@0 85 }
Daniel@0 86 &__toc-element_hierarchy_3 {
Daniel@0 87 padding-left: 40px;
Daniel@0 88 }
Daniel@0 89
Daniel@0 90 // ==================================
Daniel@0 91 &__toc-pointer {
Daniel@0 92
Daniel@0 93 }
Daniel@0 94
Daniel@0 95 // ==================================
Daniel@0 96 &__content-container {
Daniel@0 97 .position_absolute_everywhere();
Daniel@0 98 left: @help--toc-width;
Daniel@0 99 overflow: scroll;
Daniel@0 100
Daniel@0 101 @media all and (max-width: @help--toc-hiding-threshold) {
Daniel@0 102 & {
Daniel@0 103 left: 0;
Daniel@0 104 }
Daniel@0 105 }
Daniel@0 106 }
Daniel@0 107
Daniel@0 108 // ==================================
Daniel@0 109 &__closer {
Daniel@0 110 position: fixed;
Daniel@0 111 cursor: pointer;
Daniel@0 112 height: 30px;
Daniel@0 113 width: 30px;
Daniel@0 114 background: no-repeat 0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABk1JREFUeNqMV2tMVEcUnr177z54LU/Do4gCLUYNYEHS2DbRpECIRoTQPzWoNf4ziBoDpaBp0z+NiZpoE0lqg9FWbJ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QgFxnEFpwWcVZWluqfP38+ZQtWDs08CySBv2mCGewpXzh4AySgLpCmpqZa7kVQsAS3f/9+0dzcJBzqTxNOp2YRb968WfW4y8O23K3cSenrvQsXLnxNIuju7lYbwcdSB6ivqqqyhITsJGNiY6Xhcsn6+npLcFevXpVej0vqEKKHBUZC4+gVys3N/RZj9cCHJGbBwRvjuZ9gkSmaiF1aqnQ6nYAum5qaZFvbYQSIGKkbLmkATt2Q5RUV8sSJE7K4qEgROzWH9S1lNVb0P3j+AvgUWM9JQ90tCuClcOFPNLGnp2eRGIs7dRf3htQVXIqcftOm6LrphiFxxNZ3y5cvtxJFXV3djyQHYAsnjHQlPICiwBqc4RZMHqHJFGfNRXSXRzpBpIGECIjYcLkXyPFMxPa7S1mNjoxD8F8Y+wr4HNgIvMvxWklcuRvYsHfv3i8pttJH586dC1vUJKbzJWsNYwF20hUrVlikw8PDE5mZmadIf0CNGTzo1lrZic1fC1S2tbUdh2L9ptgoxb1NEdDY2CgfPnxokRYXF3dgvIVFRdYWAKkcNtWtMa3O4cOvrq2t/QZXbNQeFildIsvIxMRE6xzLysrkkSNHVLVitjt37gzh2Nox5zCwB6gCijgzxZv52CzwvLwbCuZUKdampaU1nj17tntmZsYv36Ihw40fOHCAyp3jQCuTbmEX59jKH01Vmbbq0s0VQiJvIo2Qnp6esXPnzmJcs7WIRMkZGRkJuKMueGQaYvSjchmGRwYhSBLSJDBGhSkFLIAi4n8UtrniVPW2ndhOHsP1URIHmCRGPHvGbasYJS82ywtTUf+CyV4waDOUCwJmiatzXJYL3GrQz4sFecGXNivieFP2UjUUQTzJ5GThFNfWfjupiKzu+dkM5AZb5mEyL8NjyzJmHpznxWd5ozPc260M2nOmY6l/nbg3qxOdieww87jD5p15JjFh//9JRibq/wUYAHXjNiANGWmBAAAAAElFTkSuQmCC);
Daniel@0 115 top: @help--margin - 15px;
Daniel@0 116 left: @help--margin - 15px;
Daniel@0 117 z-index: @z-index_help + 2;
Daniel@0 118
Daniel@0 119
Daniel@0 120 &_position_right {
Daniel@0 121 left: auto;
Daniel@0 122 right: @help--margin - 15px;
Daniel@0 123 }
Daniel@0 124 }
Daniel@0 125 }