comparison src/DML/MainVisBundle/Resources/assets/bem-blocks/main-menu-bar.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 .main-menu-bar {
4 .box-shadow(0px 2px 2px 0px rgba(0,0,0,0.4));
5 background: @main-menu--background-color;
6
7 // ==================================
8 &__logo {
9 .cursor_std();
10 position: relative;
11 background: @main-menu--background-color;
12 width: auto;
13 float: left;
14 overflow: hidden;
15 height: @main-menu--height;
16 text-align: left;
17 color: #FFF;
18 padding-right: 5px;
19 font-size: @main-menu--height;
20 font-weight: 300;
21 line-height: @main-menu--height + @main-menu--logo-v-offset;
22 }
23
24 // ==================================
25 &__items {
26 }
27
28 &__items_block_help {
29 position: relative;
30 float: left;
31 }
32
33 &__items_block_undoredo {
34 position: absolute;
35 left: 30%;
36 padding-left: 30px; /* compensation for logo + help menu item */
37 }
38
39 &__items_block_misc {
40 position: absolute;
41 right: 0;
42 }
43
44 // ==================================
45 &__item {
46 float: left;
47 display: block;
48 height: @main-menu--height;
49 }
50
51 // ==================================
52 &__item a {
53 display: block;
54 color: #444;
55 .cursor_std();
56 text-decoration: none;
57 line-height: @main-menu--height;
58 height: @main-menu--height;
59 padding: 0 10px;
60 }
61 &__item a:active,
62 &__item_flashing {
63 background: #333;
64 }
65
66 &__item a:focus {
67 outline: none;
68 }
69
70 &__item_state_enabled a {
71 color: #ccc;
72 .cursor_action();
73 }
74
75 &__item_state_enabled a:hover {
76 color: #fff;
77 //background: #333;
78 }
79
80 &__item_state_enabled a:active,
81 &__item_state_enabled&__item_flashing a {
82 color: #fff;
83 background: #333;
84 }
85
86 &__item_location_last a {
87 padding-right: 15px;
88 }
89
90
91 // mode
92 @action_change-mode--width: 135px;
93 &__item_action_change-mode {
94 width: @action_change-mode--width;
95 //background: @config-grid--color;
96 }
97
98 &__item_action_change-mode a {
99 .cursor_action();
100 width: @action_change-mode--width;
101 color: #333;
102 display: none;
103 text-align: center;
104 padding-left: 0px;
105 padding-right: 0px;
106 }
107 &__item_action_change-mode a:hover {
108 color: #000;
109 }
110 &__item_mode_2recordings {
111 }
112 &__item_mode_2recordings &__item-a_mode_2recordings {
113 display: block;
114 background: @main-menu-bar--item-color_2recordings;
115 }
116 &__item_mode_2recordings &__item-a_mode_2recordings:active {
117 background: @main-menu-bar--item-color_2recordings_active;
118 }
119
120 &__item_mode_2collections {
121 }
122 &__item_mode_2collections &__item-a_mode_2collections {
123 display: block;
124 background: @main-menu-bar--item-color_2collections;
125 }
126 &__item_mode_2collections &__item-a_mode_2collections:active {
127 background: @main-menu-bar--item-color_2collections_active;
128 }
129
130 &__item_action_change-mode&__item_flashing {
131 opacity: 0.8;
132 }
133 &__item_action_change-mode&__item_flashing a {
134 color: rgba(255,255,255, 0.4);
135 }
136
137 }