Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a891045c

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID a891045c7071254bca909518795e81c93ed843dc
  • Vorgänger f88ca788
  • Nachfolger f97bb078

css/less -> Geaenderte & Neue Less-Dateien

Unterschiede anzeigen:

css/less/control_panels.less
1
/* ------------------------------------------------------------- */
2
/* CONTROL PANELS (control_panels.less)                          */
3
/* ------------------------------------------------------------- */
4

  
1 5
// ----------------------------------------------------------------------------
2 6
//
3 7
// CONTROL PANELS
......
21 25
// --------------------------------------
22 26
// General Class for all control panels
23 27
.control-panel {
24
  border:           @controlpanel-border;
25
  background-color: @controlpanel-bg;
28
  border:           @controlpanel-border !important;
29
  background-color: @controlpanel-bg-color;
30
  background:        @controlpanel-bg-style ;
26 31
  border-radius:    @controlpanel-radius;
27
  color:            red ;
32
  //color:            red ;
28 33
  overflow:         hidden ;
34

  
35
  span.label{
36
    padding-right: 0.6em ;
37
  }
29 38
}
30 39

  
40

  
41

  
42

  
31 43
// --------------------------------------
32 44
// FORM-ADDITION
33 45
// --------------------------------------
34 46
// Settings for including fields in a report
35 47
.form-addition{
36
  padding:          @controlpanel-padding-bold ;
48
  padding:          @controlpanel-padding-bold !important ;
37 49
  margin:           @controlpanel-margin !important ;
38 50
  width:            auto !important ;
39 51
  display:          inline-block ;
40 52

  
41 53
  h3{
42
    color:          @controlpanel-h3-color  !important;
43
    font-size:      @controlpanel-h3-size   !important;
44
    font-weight:    @controlpanel-h3-weight !important;
45
    margin: 0.3em 0 0.1em 0 !important;
46
    padding: 0 ;
54
//    color:          @controlpanel-h3-color  !important;
55
//    font-size:      @controlpanel-h3-size   !important;
56
//    font-weight:    @controlpanel-h3-weight !important;
57
    margin:         0.3em 0 0.1em 0 !important;
58
    padding:         0 ;
47 59
  }
48 60
  h4{
49
    color:        @controlpanel-h4-color !important;;
50
    font-size:    @controlpanel-h4-size;
51
    font-weight:  @controlpanel-h4-weight;
52
    font-style:   @controlpanel-h4-style;
61
   color:          @controlpanel-h4-color !important;;
62
   font-size:      @controlpanel-h4-size;
63
   font-weight:    @controlpanel-h4-weight;
64
   font-style:     @controlpanel-h4-style;
53 65
  }
54 66

  
55 67
  div.list{
......
66 78
// --------------------------------------
67 79
// SELECT ITEM
68 80
// --------------------------------------
69
// for selecting a hidden Record (e.g. Contacts, Delivery Address etc.)
81
// Panel for selecting a hidden Record (e.g. Contacts, Delivery Address etc.)
70 82
.select-item{
71 83
  display:          inline-block ;
72 84
  width:            auto ;
73 85
  height:           auto;
74 86
  padding:          @controlpanel-select-item-padding ;
75 87
  margin:           @controlpanel-margin ;
76
  border:           @controlpanel-border ;
77
  border-radius:    @controlpanel-radius ;
78
  background-color: @controlpanel-bg ;
79 88
  color:            @controlpanel-color ;
80 89
  font-size:        @font-size-smaller ;
90
  border:           @controlpanel-border ;
91
  border-radius:    @controlpanel-radius ;
92
  background-color: @controlpanel-bg-color ;
93
  background:        @_bg_style_button ; // PENDENT:
94

  
81 95
  input,
82 96
  select{
83 97
    margin-left:    0.6em ;
......
117 131
      select { margin: -0.3em 0 0 0; }
118 132
    }
119 133
  }
134

  
120 135
} // /.select-item
136

  
121 137
// Select function within standard wrapper
122 138
.ui-tabs-panel > .select-item {
123
  margin:     @contentbox-margin;
139
  margin:         @contentbox-margin;
140
  vertical-align: top ;
141

  
124 142
}
125 143
.wrapper > .select-item {
126 144
  margin:     0.8em 0 1.0em 0 ;
......
128 146

  
129 147

  
130 148

  
149

  
150

  
151

  
152

  
131 153
// --------------------------------------
132 154
// FILTER-TOGGLE-PANEL
133 155
// --------------------------------------
134 156
// for togglin a filter panel
135 157
// see inlcude file /templates/webpages/common/filter-toggle.html
158
.toggle_panel.control-panel{
159
  border:         none !important;
160
  background:     none !important;
161
  border-radius:   0 !important;
162
  overflow:       visible !important;
163
}
136 164
.toggle_panel{
137 165
  & > a.button.toggle {
138
    padding: 0.2em 0 0.2em 1.4em;
166
    padding:   0.2em 0 0.2em 1.4em;
139 167
    &:hover {
140
      background-color: @controlpanel-bg !important;
141
      text-decoration: underline ;
168
      background-color: @controlpanel-bg-color !important;
169
      text-decoration:   underline ;
142 170
    }
143 171
  }
144 172
  span.summary {
145
    font-size: @font-size-small;
173
    font-size:     @font-size-small;
146 174
    padding-left: 2.0em;
147
    color: @gray-mediumdark;
175
    color:         @controlpanel-color;
148 176
  }
149 177
  .toggle_panel_block {
150
    display:  block;
151
    overflow: hidden;
178
    display:          block;
179
    overflow:         hidden;
152 180
    padding:          @controlpanel-padding ;
153
    margin:           2em 1em 0em 0; ;
181
    margin:            2em 1em 0em 0; ;
182
    background-color: @controlpanel-bg-color;
154 183

  
184
    border:                     @controlpanel-border ;
155 185
    border-bottom-left-radius:  @controlpanel-radius ;
156 186
    border-bottom-right-radius: @controlpanel-radius ;
157 187
    border-top-right-radius:    @controlpanel-radius ;
158 188
    margin-top: -1px ;
159 189

  
160 190
    .buttons{
161
      clear: left ;
162
      padding: 0 !important;
163
      margin: 0;
191
      clear:     left ;
192
      padding:   0 !important;
193
      margin:   0;
164 194
    }
165 195
  }
166 196

  
197
  // PENDENT: ggf. anpassen an Controlpanel-Farbtoene
167 198
  .tbl-horizontal {
168
    th{ color: @brand-darkest ; }
199
    //th{ color: @brand-superdark ; }
169 200
  }
170 201

  
171 202
}
......
178 209
// --------------------------------------
179 210
// Panel for entering data via jQuery-Scripts etc.
180 211
#content .input-panel {
181
  overflow: hidden;
182
  padding:                    @controlpanel-padding ;
212
  display:                    inline-block;
213
  overflow:                   hidden ;
214
  padding:                    @controlpanel-padding-narrow ;
183 215
  margin:                     @margin-from-wrapper ;
184
  background-color:           @controlpanel-bg;
216
  background-color:           @controlpanel-bg-color;
185 217
  border:                     @controlpanel-border ;
186
  border-bottom-left-radius:  @controlpanel-radius ;
187
  border-bottom-right-radius: @controlpanel-radius ;
188
  border-top-right-radius:    @controlpanel-radius ;
189
  border-top-left-radius:     @controlpanel-radius ;
190
  width: auto ;
191
  min-width: 30% ;
218
  border-radius:              @controlpanel-radius ;
219
//  border-bottom-left-radius:  @controlpanel-radius ;
220
//  border-bottom-right-radius: @controlpanel-radius ;
221
//  border-top-right-radius:    @controlpanel-radius ;
222
//  border-top-left-radius:     @controlpanel-radius ;
223
  width:                       auto ;
224
  min-width:                   30% ;
192 225
  //max-width: 70% ;
193
  display: inline-block;
194 226

  
195 227
  & > h3 {
196 228
    margin-top: 0 ;
197 229
  }
198 230
  p      {
199
    font-size: @font-size-smaller ;
200
    margin: 0 0 0.4em 0 ;
231
    font-size:   @font-size-smaller ;
232
    margin:     0 0 0.4em 0 ;
233
  }
234
  table.condensed {
235
    margin-bottom: 0.1em;
236
    caption { padding-top: 0.1em ; }
237
    td span.label {
238
      padding-right: 0.6em ;
239
      &.above{ margin-bottom: 0em ; }
240
    }
201 241
  }
202 242
}
203

  
243
#content .ui-tabs-panel > .input-panel { margin-left: @margin-left-from-content }
204 244

  
205 245

  
206 246
// --------------------------------------
207 247
// PAGINATE
208 248
// --------------------------------------
209
.paginate{
249
.paginate {
210 250
  display:          inline-block ;
211 251
  width:            auto ;
212
  height:           auto;
213
  padding:          0;
252
  height:           auto ;
253
  padding:          0 ;
214 254
  margin:           @controlpanel-margin ;
215
  border:           @controlpanel-border;
255
  border:           @controlpanel-border ;
216 256
  border-radius:    @controlpanel-radius ;
217
  background-color: @controlpanel-bg;
257
  background-color: @controlpanel-bg-color ;
218 258
  color:            @controlpanel-color ;
219 259

  
220 260
  & > a,
221 261
  & > span {
222
    padding: 0.4em 0.6em !important;
223
    margin-top: -1px;
262
    padding: 0.4em 0.6em !important ;
263
    margin-top: -1px ;
224 264
  }
225 265

  
226 266
  .paginate-prev {
227 267
    display:          inline-block ;
228
    &::before{ content: "◄"; }
268
    &::before{ content: "◄" ; }
229 269
    &:hover{
230
      border-bottom-left-radius: @controlpanel-radius;
231
      border-top-left-radius:    @controlpanel-radius;
270
      border-bottom-left-radius: @controlpanel-radius ;
271
      border-top-left-radius:    @controlpanel-radius ;
232 272
    }
233 273
  }
234 274
  .paginate-next {
235 275
    display:          inline-block ;
236 276
    &::after{ content: "►"; }
237 277
    &:hover{
238
      border-bottom-right-radius: @controlpanel-radius;
239
      border-top-right-radius:    @controlpanel-radius;
278
      border-bottom-right-radius: @controlpanel-radius ;
279
      border-top-right-radius:    @controlpanel-radius ;
240 280
    }
241 281
  }
242 282
  .paginate-page {
......
267 307
  &.right { float: right; }
268 308

  
269 309
  border: @controlpanel-border;
270
  border-radius: 0.2em ;
271
  background-color: @controlpanel-bg;
310
  border-radius: @controlpanel-radius ;
311
  background-color: @controlpanel-bg-color;
272 312
  margin: 0.8em 2.0em 0 1.2em !important;
273 313
}
274 314

  
......
309 349

  
310 350

  
311 351

  
352

  
353

  
354
// --------------------------------------
355
// DEZIDIERTE ELEMENTE
356
// --------------------------------------
357

  
358
.control-panel select#contact_cp_id {
359

  
360
}
361

  
362

  

Auch abrufbar als: Unified diff