Skip to content

Commit 6999e69

Browse files
author
Olga Lytvynenko
committed
MAGETWO-41995: Template structure of Admin area is broken when Translate Inline mode is enabled
1 parent 0ae8940 commit 6999e69

File tree

1 file changed

+69
-0
lines changed
  • app/design/adminhtml/Magento/backend/Magento_Translation/web/css/source

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// /**
2+
// * Copyright © 2016 Magento. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
5+
6+
//
7+
// Inline translations
8+
// _____________________________________________
9+
10+
//
11+
// Variables
12+
// ---------------------------------------------
13+
14+
@translate-inline-title__z-index: @menu__z-index + 1;
15+
16+
//
17+
// Form
18+
// ---------------------------------------------
19+
20+
.translate-table-container {
21+
table {
22+
width: 100%;
23+
}
24+
25+
td {
26+
background: none;
27+
padding: @indent__xs;
28+
text-align: left;
29+
30+
&.value {
31+
.input-text {
32+
width: 100%;
33+
}
34+
}
35+
}
36+
37+
th {
38+
&.label {
39+
border: none;
40+
font-weight: bold;
41+
padding: 5px 5px 5px 0;
42+
text-align: left;
43+
width: 150px;
44+
}
45+
}
46+
}
47+
48+
//
49+
// Special tags
50+
// ---------------------------------------------
51+
52+
.translate-inline-title {
53+
display: block;
54+
left: 0;
55+
position: absolute;
56+
top: 0;
57+
z-index: @translate-inline-title__z-index;
58+
}
59+
60+
// Script tag that placed between menu and page wrapper
61+
.translate-inline-script {
62+
.menu-wrapper ~ & {
63+
display: block;
64+
left: @menu__width;
65+
position: absolute;
66+
top: 0;
67+
z-index: @translate-inline-title__z-index;
68+
}
69+
}

0 commit comments

Comments
 (0)