[TASK] Cleanup and update language module
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3skin / Resources / Private / Styles / TYPO3 / _module_lang.less
1 //
2 // Language Module
3 //
4 div.typo3-module-lang {
5         table.t3-datatable {
6                 width: 100% !important;
7
8                 th {
9                         &.sorting,
10                         &.sorting_asc,
11                         &.sorting_desc {
12                                 cursor: pointer;
13                         }
14                 }
15
16                 tr {
17                         > .extensionName {
18                                 padding-left: 0 !important;
19                         }
20
21                         > .dt-center {
22                                 text-align: center;
23                         }
24
25                         &.disabled {
26                                 color: #aaaaaa;
27
28                                 a {
29                                         &.deactivateLanguageLink,
30                                         &.updateLanguageLink,
31                                         &.updateTranslationLink {
32                                                 display: none;
33                                         }
34                                 }
35                         }
36
37                         &.enabled {
38                                 a.activateLanguageLink {
39                                         display: none;
40                                 }
41                         }
42
43                         div.progressBar {
44                                 display: none;
45
46                                 .progress {
47                                         position: relative;
48
49                                         .progress-text {
50                                                 position: absolute;
51                                                 color: #FFFFFF;
52                                                 text-align: center;
53                                                 width: 100%;
54                                                 text-shadow: 0 0 6px #000000;
55                                         }
56                                 }
57                         }
58
59                         &.processing,
60                         &.complete {
61                                 div.progressBar {
62                                         display: inline;
63                                         cursor: default;
64                                 }
65                         }
66                 }
67
68                 tr.processing,
69                 td.processing,
70                 tr.complete,
71                 td.complete {
72                         a {
73                                 &.updateLanguageLink,
74                                 &.updateTranslationLink {
75                                         display: none;
76                                 }
77                         }
78                 }
79
80                 td {
81                         span {
82                                 &.loading,
83                                 &.complete {
84                                         display: none;
85                                 }
86                         }
87
88                         &.actions {
89                                 span {
90                                         cursor: pointer;
91                                 }
92                         }
93
94                         &.processing {
95                                 span.loading {
96                                         display: inline;
97                                         cursor: default;
98
99                                         .t3-icon {
100                                                 cursor: default;
101                                                 width: 14px;
102                                                 height: 14px;
103                                                 margin: 0;
104                                         }
105                                 }
106                         }
107
108                         &.complete {
109                                 span.complete {
110                                         display: inline;
111                                 }
112                         }
113                 }
114
115                 div.progress {
116                         margin-bottom: 0;
117                 }
118         }
119
120         div.menuItems {
121                 &.processing {
122                         span {
123                                 &.updateItem {
124                                         display: none;
125                                 }
126
127                                 &.loadingItem,
128                                 &.cancelItem {
129                                         display: inline;
130                                 }
131                         }
132                 }
133
134                 span {
135                         &.loadingItem,
136                         &.cancelItem {
137                                 display: none;
138                         }
139
140                         &.updateItem,
141                         &.cancelItem {
142                                 cursor: pointer;
143                         }
144                 }
145         }
146
147         .div.dataTables_filter input {
148                 margin-left: 3px;
149         }
150
151         div.progress-bar {
152                 background-color: #222222;
153         }
154 }