Skip to content

Commit 7069bf6

Browse files
author
Carolina Koehn
committed
Add SCSS
1 parent ad6c69b commit 7069bf6

2 files changed

Lines changed: 221 additions & 0 deletions

File tree

contao/assets/scss/style_src.scss

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
/**
2+
* This file is part of MetaModels/core.
3+
*
4+
* (c) 2012-2019 The MetaModels team.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* This project is provided in good faith and hope to be usable by anyone.
10+
*
11+
* @package MetaModels
12+
* @subpackage Core
13+
* @author Andreas Isaak <info@andreas-isaak.de>
14+
* @author Ingolf Steinhardt <info@e-spin.de>
15+
* @author Sven Baumann <baumann.sv@gmail.com>
16+
* @author Carolina Koehn <ck@kikmedia.de>
17+
* @copyright 2012-2019 The MetaModels team.
18+
* @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later
19+
* @filesource
20+
*/
21+
22+
//urls
23+
$icon_fields: url('../images/icons/fields.png');
24+
$icon_dca_add: url('../images/icons/dca_add.png');
25+
$icon_rendersettings_add: url('../images/icons/rendersettings_add.png');
26+
$icon_pal_open: url('../../../../themes/default/images/palOpen.gif');
27+
$icon_filter_setting: url('../images/icons/filter_settings.png');
28+
$icon_locale: url('../images/icons/locale.png');
29+
30+
body[class*="version_3"] {
31+
a[class*="header_"] {
32+
margin-left: 15px;
33+
}
34+
.tl_file_list .field_type img {
35+
margin-right: 8px;
36+
float: left;
37+
}
38+
}
39+
.header_css_fields {
40+
padding: 2px 0 3px 20px;
41+
background-image: $icon_fields;
42+
background-position: left center;
43+
background-repeat: no-repeat;
44+
}
45+
.header_add_all {
46+
padding: 2px 0 3px 20px;
47+
background-image: $icon_dca_add;
48+
background-position: left center;
49+
background-repeat: no-repeat;
50+
}
51+
.rendersetting_add_all {
52+
background-image: $icon_rendersettings_add;
53+
}
54+
.dca_palette {
55+
color: rgba(138, 184, 88, 1);
56+
margin: 6px 0;
57+
padding-left: 24px;
58+
background: $icon_pal_open 3px center no-repeat;
59+
}
60+
.mm_problem_display {
61+
margin-bottom: 30px;
62+
ul {
63+
padding: 0;
64+
list-style: none;
65+
}
66+
}
67+
.tl_subdca {
68+
> legend {
69+
margin: 0;
70+
padding: 10px 0 10px 23px;
71+
background: $icon_filter_setting no-repeat left center;
72+
}
73+
legend label {
74+
font-weight: bold;
75+
}
76+
}
77+
body[class*="version_2"] {
78+
.tl_content .field_type img {
79+
margin-right: 8px;
80+
float: left;
81+
}
82+
.tl_content_right + img {
83+
margin-right: 8px;
84+
float: left;
85+
}
86+
}
87+
.list_view {
88+
li:first-child .tl_content {
89+
border-top: 1px solid rgba(235, 235, 228, 1);
90+
}
91+
.tl_content > div:first-child {
92+
float: left;
93+
}
94+
}
95+
.tl_class {
96+
color: rgba(198, 198, 198, 1);
97+
}
98+
.tl_formbody {
99+
position: relative;
100+
}
101+
input[readonly] {
102+
background-color: rgba(235, 235, 228, 1);
103+
&:focus {
104+
background-color: rgba(235, 235, 228, 1);
105+
}
106+
}
107+
textarea[readonly] {
108+
background-color: rgba(235, 235, 228, 1);
109+
&:focus {
110+
background-color: rgba(235, 235, 228, 1);
111+
}
112+
}
113+
.wc_info {
114+
margin: 0;
115+
}
116+
.wc_label {
117+
width: 31px;
118+
display: inline-block;
119+
}
120+
.clx {
121+
overflow: visible;
122+
}
123+
.w50x {
124+
height: auto;
125+
}
126+
#table_tl_metamodel_dcasetting_ tr.odd td {
127+
background-color: transparent;
128+
}
129+
.dca_combine.widget td:empty {
130+
display: none;
131+
}
132+
form[id*="tl_metamodel_"] .wizard {
133+
a[data-lightbox] img {
134+
margin-top: 3px;
135+
}
136+
a[onclick] img {
137+
margin-top: 3px;
138+
}
139+
}
140+
div[class*="table_tl_metamodel_"] .tl_file_list {
141+
padding: 4px 0 6px;
142+
}
143+
fieldset.tl_subdca {
144+
padding: 0;
145+
margin: 0;
146+
border: none;
147+
}
148+
.multicolumnwizard .fallback_language span {
149+
font-weight: bold;
150+
}
151+
form[id^=mm_] .sort_hint {
152+
display: none;
153+
}
154+
.long .chzn-container {
155+
width: 100%;
156+
}
157+
.widget.translat-attr label {
158+
padding-left: 20px;
159+
display: inline-block;
160+
background: $icon_locale no-repeat left center;
161+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/**
2+
* This file is part of MetaModels/core.
3+
*
4+
* (c) 2012-2019 The MetaModels team.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* This project is provided in good faith and hope to be usable by anyone.
10+
*
11+
* @package MetaModels
12+
* @subpackage Core
13+
* @author Andreas Isaak <info@andreas-isaak.de>
14+
* @author Ingolf Steinhardt <info@e-spin.de>
15+
* @author Sven Baumann <baumann.sv@gmail.com>
16+
* @author Carolina Koehn <ck@kikmedia.de>
17+
* @copyright 2012-2019 The MetaModels team.
18+
* @license https://github.com/MetaModels/core/blob/master/LICENSE LGPL-3.0-or-later
19+
* @filesource
20+
*/
21+
22+
//colors
23+
$white: rgba(255, 255, 255, 1);
24+
25+
//urls
26+
$url_metamodels: url('http://now.metamodel.me/files/standard/layout/images/metamodels.png');
27+
28+
.mm_support_display {
29+
.logo {
30+
display: block;
31+
height: 38px;
32+
text-indent: -99999px;
33+
width: 169px;
34+
background: $white $metamodels no-repeat top left;
35+
}
36+
h1 {
37+
margin-bottom: 20px;
38+
}
39+
.colset {
40+
width: 100%;
41+
padding-top: 10px;
42+
padding-bottom: 10px;
43+
overflow: hidden;
44+
clear: both;
45+
form {
46+
padding-top: 10px;
47+
}
48+
.left {
49+
width: 35%;
50+
float: left;
51+
}
52+
.right {
53+
float: right;
54+
width: 60%;
55+
}
56+
}
57+
a {
58+
text-decoration: underline;
59+
}
60+
}

0 commit comments

Comments
 (0)