source: main/waeup.plonetheme.ngren2/trunk/waeup/plonetheme/ngren2/static/scss/parts/_plone.scss @ 10074

Last change on this file since 10074 was 10074, checked in by Henrik Bettermann, 11 years ago

Fill trunc.

File size: 19.0 KB
Line 
1/* ==========================================================================
2     Plone styles
3     ========================================================================== */
4/*----- Document Actions -----*/
5.documentActions {
6  font-size:0.92em;
7  text-align:right;
8  }
9#content .documentActions ul {
10  list-style-type:none;
11  }
12.documentActions li {
13  display:inline;
14  }
15.documentActions a {
16  padding:0 5px;
17  text-decoration:none;
18  }
19
20/*----- Events -----*/
21.eventDetails {
22  clear:right;
23  float:right;
24  margin:0 0 0.5em 1em;
25  }
26#content .eventDetails {
27  border:1px solid #ccc;
28  margin-top:1em;
29  width:22em;
30  }
31#content .eventDetails h2 {
32  background-color:#ddd;
33  font-size:100%;
34  margin: 0;
35  padding:0.5em 0.5em 0.5em 1em;
36  }
37#content .eventDetails .eventDetail {
38  clear:both;
39  }
40#content .eventDetails .eventDetail h3 {
41  float:left;
42  font-size:100%;
43  margin: 0;
44  padding:2%;
45  text-align:right;
46  width:37%;
47  }
48#content .eventDetails .eventDetail div {
49  float:left;
50  padding:2%;
51  width:55%;
52  }
53
54/*----- Search Results -----*/
55.highlightedSearchTerm {
56  background-color:#ff9;
57  padding:0 2px;
58  }
59
60/*----- Editing -----*/
61body#content {
62  margin: 1em;
63  }
64.fieldRequired {
65  color:#fff;
66  }
67.fieldRequired:before {
68  color:#f00;
69  content:"■ ";
70  }
71.formPanel {
72  padding:1em 2px;
73  }
74.formPanel textarea {
75  width:100%;
76  }
77#title {
78  font-size:2em;
79  width:100%;
80  }
81#description {
82  font-family:Arial, Helvetica, sans-serif;
83  width:100%;
84  }
85.suppressVisualEditor {
86  margin:0 !important;
87  }
88.fieldUploadFile {
89  display:none;
90  }
91.formHelp {
92  color: #555;
93  display: block;
94  font-weight: normal;
95  margin: 0 0 0.2em 0;
96  }
97.documentByLine {
98  color: #76797c;
99  font-size: 0.85em;
100  font-weight: normal;
101  margin-bottom: 0.5em;
102  }
103.documentFirstHeading + #viewlet-below-content-title .documentByLine {
104  margin-top: -1.46em;
105  }
106.tileHeadline + .documentByLine {
107  display: block;
108  margin-top: -1.46em;
109  }
110ul.configlets,
111#content ul.configlets {
112  list-style:none;
113  margin:1em 0;
114  }
115ul.configlets li {
116  margin-bottom:1em;
117  }
118ul.configlets li a {
119  text-decoration:none;
120  }
121#content ul.configletDetails {
122  margin:0 1em 1em 4em;
123  list-style:none;
124  }
125#content ul.configletDetails li {
126  margin-bottom:1em;
127  display:inline;
128  }
129#content ul.configletDetails li.configletDescription {
130  display:block;
131  color:#76797c;
132  margin:0;
133  }
134#ajax-spinner {
135  background-position:50% 50%;
136  display:none;
137  height:20px;
138  left:50%;
139  margin:-10px 0 0 -10px;
140  position:fixed;
141  top:50%;
142  width:20px;
143  }
144.formlibInlineEditable,
145.inlineEditable {
146  display:block;
147  padding:1px;
148  }
149body.kssActive .inlineEditable:hover,
150body.kssActive .formlibInlineEditable:hover {
151  border:1px solid #ddd;
152  border-color:#666 #ddd #ddd #666;
153  cursor:text;
154  padding:0;
155  }
156body.kssActive .inlineEditable a:hover,
157body.kssActive .formlibInlineEditable a:hover {
158  cursor:pointer;
159  }
160body.kssActive .formlibInlineForm:hover,
161body.kssActive .formlibInlineForm a:hover {
162  border:0;
163  cursor:default;
164  padding:1px;
165  }
166.inlineForm .formHelp,
167.inlineForm .fieldRequired,
168.inlineForm label {
169  display:none;
170  }
171/* In inline selection widgets the label *must* be displayed, as
172   otherwise you only see identical radio buttons without text. */
173.inlineForm .ArchetypesSelectionWidget label {
174  display: inline;
175  }
176.inlineForm #archetypes-fieldname-title input,
177.inlineForm #archetypes-fieldname-title {
178  font-size: 100%;
179  }
180/* Workaround for abnormally large buttons in the h1 tag */
181h1 div.formControls input {
182  font-size:55% !important;
183  }
184
185/*----- Edit Bar -----*/
186#edit-bar {
187  background-color:#75ad0a;
188  margin:0 0 1em;
189  padding:3px;
190  }
191#edit-bar:after {
192  clear: both;
193  content: "";
194  display: block;
195  visibility: hidden;
196}
197#content-views {
198  background-color: #75ad0a;
199  float: left;
200  margin: 0;
201  padding: 0;
202  }
203#content-views li {
204  display:inline;
205  }
206#content-views a {
207  color:#fff;
208  display:inline-block;
209  line-height:1.73em;
210  padding:0 0.75em;
211  text-decoration:none;
212  }
213#content-views li.selected a,
214#content-views li a:hover {
215  background:#fff;
216  color:#000;
217  }
218#content-views li.selected a {
219  font-weight:bold;
220  }
221
222/*----- Content pulldowns -----*/
223#contentActionMenus {
224  background-color: #75ad0a;
225  float: right;
226  margin: 0;
227  padding: 0;
228  }
229#contentActionMenus > li {
230  display: inline;
231  }
232.actionMenu {
233  float: right;
234  margin: 0 0 0 0.5em;
235  position: relative;
236  white-space: nowrap;
237  }
238.actionMenu dt {
239  font-weight: normal;
240  }
241.actionMenu a {
242  color: #fff;
243  display: block;
244  line-height: 1.73em;
245  text-decoration: none;
246  }
247.actionMenu dt a {
248  padding: 0 3px; 
249  }
250.arrowDownAlternative {
251  font-size: 80%;
252  }
253.actionMenu dd {
254  background-color:#75ad0a;
255  right:-3px;
256  margin:0;
257  min-width:100%;
258  padding:0 3px 3px;
259  position:absolute;
260  width:auto;
261  z-index:5;
262  }
263.actionMenu.deactivated dd {
264  display:none;
265  }
266.actionMenu ul {
267  list-style: none;
268  margin: 0;
269  padding: 0;
270  }
271.actionMenu dd a:hover,
272.actionMenu dd .actionMenuSelected {
273  background-color:#fff;
274  color:#666;
275  }
276.subMenuTitle {
277  display:block;
278  padding:0 3px;
279  }
280
281/*----- Form Tabs -----*/
282#content .formTabs {
283  background-color:#ddd;
284  margin:0;
285  padding:3px 3px 0;
286  }
287#content .formTab {
288  display:inline;
289  margin-right:0.25em;
290  }
291#content li.formTab a {
292  display:inline-block;
293  line-height:2em;
294  padding:0 0.75em;
295  text-decoration:none;
296  }
297#content li.formTab a.selected,
298#content li.formTab a:hover {
299  background:#fff;
300  color:#000;
301  }
302#content li.formTab a.notify {
303  background-color:red;
304  color:#fff;
305  }
306#content li.formTab a.required span:after,
307#content-core li.formTab a.required span:after,
308div.field span.required:after {
309  color:#f00;
310  content:" ■";
311  }
312#content fieldset.formPanel {
313  border:none;
314}
315#content fieldset.formPanel.hidden {
316  display:none;
317}
318#content div.formControls input.hidden {
319  display:none;
320  }
321
322/*----- Status messages -----*/
323.portalMessage {
324  background-color:#ffffe3;
325  border:1px solid #996;
326  clear:both;
327  margin:1em 0;
328  }
329.portalMessage dl {
330  margin:0;
331  }
332.portalMessage a {
333  border-bottom: 1px dotted;
334  color: #000;
335  }
336.portalMessage dt {
337  background-color:#996;
338  color:#fff;
339  font-weight:bold;
340  float:left;
341  line-height:1.25em;
342  margin:0 0.5em 0 0;
343  max-width:30%;
344  padding:0.5em 0.75em;
345  }
346.portalMessage dd {
347  line-height:1.25em;
348  margin:0;
349  padding:0.5em 0.5em;
350  }
351dl.warning {
352  border-color:#d80;
353  }
354dl.warning dt {
355  background-color:#d80;
356  }
357dl.warning dd {
358  background-color: #fd7;
359  }
360dl.error {
361  border-color:#d00;
362  }
363dl.error dt {
364  background-color:#d00;
365  }
366dl.error dd {
367  background-color:#fdc;
368  }
369
370/*----- Overlays -----*/
371.overlay {
372  display:none;
373  height:auto;
374  margin:1em;
375  width:auto;
376  }
377.overlay-iframe,
378.overlay-ajax {
379  min-height:100px;
380  width:600px;
381  z-index:99;
382  }
383.overlay-iframe {
384  height:60%;
385  }
386.overlaybg div.close,
387.overlay div.close {
388  background:url(../images/pb_close.png) no-repeat 0 0;
389  cursor:pointer;
390  height:30px;
391  left:-14px;
392  position:absolute;
393  top:-14px;
394  width:30px;
395  }
396.pb-ajax {
397  overflow-y:auto;
398  }
399.pb-ajax,
400.pb-image {
401  background-color:#fff;
402  border:1px solid #999;
403  white-space:normal;
404  box-shadow:0 0 3em 0.5em #666;
405  -moz-box-shadow:0 0 3em 0.5em #666;
406  -webkit-box-shadow:0 0 3em #666;
407  }
408.pb-ajax > div {
409  padding:1em;
410  }
411.pb-ajax .documentActions {
412  display:none;
413  }
414div.overlay div.close span {
415  display:block;
416  height:1px;
417  margin:-1px 0 0 -1px;
418  overflow:hidden;
419  padding:0;
420  width:1px;
421  }
422.overlay textarea {
423  width:100%;
424  }
425.overlay .link-parent { display: none; }
426.overlay #createGroup legend { display: none; }
427.overlay #createGroup fieldset { border: none; }
428.overlay p {
429  margin-bottom:1em;
430  }
431.overlay label {
432  margin-bottom:0.25em;
433  }
434.overlay a:hover {
435  color:#75ad0a;
436  }
437.overlay a.selected {
438  color: #000000;
439  }
440.overlay .formTab {
441  margin-right:1em;
442  font-weight: bold;
443  }
444.overlay .formTab.lastFormTab {
445  margin-right:0em;
446  }
447.overlay .formControls a {
448  display: block;
449  margin: 0.75em;
450  }
451
452/*----- Login form -----*/
453#fieldset-openid-login input,
454#login-form input {
455  font-size:150%;
456  }
457body.template-register #content input,
458body.template-new-user #content input {
459  font-size:150%;
460  width:inherit;
461  }
462#fieldset-openid-login label,
463#login-form label {
464  display:inline-block;
465  margin-right:0.5em;
466  padding-top:0.2em;
467  width:10em;
468  }
469#fieldset-openid-login .formControls,
470#login-form .formControls {
471  padding-left:10.7em;
472  }
473
474/*----- Content History -----*/
475div.historyRecord {
476  margin-bottom:1em;
477  }
478div.historyTools ul {
479  float:right;
480  margin:0.5em 1em;
481  }
482div.historyTools ul li {
483  display:inline;
484  padding:0 0.015em;
485  }
486div.historyTools form {
487  display:inline;
488  }
489.historyByLine {
490  background:#ddd;
491  padding:0.5em;
492  }
493div.historyLinks {
494  clear:right;
495  float:right;
496  margin:0.5em 1em 0 0;
497  }
498div.historyComment {
499  border:1px solid #ddd;
500  padding:0.5em 1em;
501  }
502div.historyComment p {
503  margin:0;
504  padding-top:1px;
505  }
506a.historyComparePrevious {
507  border-top:1px dotted #ccc;
508  display:block;
509  margin-top:3em;
510  text-align:center;
511  }
512a.historyComparePrevious span {
513  background-color:white;
514  position:relative;
515  top:-0.75em;
516  padding:0 0.5em;
517  }
518
519/*----- Data tables -----*/
520table.listing,
521table.plain {
522  border-spacing:0;
523  border-collapse:collapse;
524  margin:0 0 0.75em;
525  width:100%;
526  }
527table.invisible td,
528table.invisible th,
529table.plain td,
530table.plain th,
531table.listing td,
532table.listing th {
533  padding:0.5em 1em;
534  vertical-align:top;
535  }
536table.plain th,
537table.plain td {
538  border:1px solid #ddd;
539  }
540table.listing td.listingCheckbox,
541table.listing th.listingCheckbox {
542  text-align:center;
543  }
544table.listing {
545  border-left:1px solid #ddd;
546  border-bottom:1px solid #ddd;
547  }
548table.listing .top {
549  border-left:1px solid #ddd;
550  border-top:1px solid #ddd;
551  border-right:1px solid #ddd;
552  }
553table.listing th {
554  background:#ddd;
555  border:0.1em solid #e7e7e7;
556  border-style:solid solid none;
557  color:#666;
558  text-align:left;
559  }
560table.listing tr.odd th {
561  border:0.1em solid #fff;
562  border-style:solid solid none none;
563  }
564table.listing tbody th {
565  font-weight:bold;
566  }
567table.listing tbody tr {
568  text-align:left;
569  }
570table.listing tbody tr.odd {
571  background:#eee;
572  }
573table.listing tbody tr td {
574  background:transparent;
575  }
576table.listing tbody tr.odd td {
577  background:#eee;
578  }
579table.listing td {
580  border-right:1px solid #ddd;
581  }
582table.listing a {
583  border:none;
584  display:inline-block;
585  }
586table.listing td.draggable {
587  background:#ddd !important;
588  border-bottom:1px solid white;
589  padding:0.4em 0.4em 0 0.5em;
590  text-shadow:#fff 1px 1px 1px;
591  }
592
593/* Vertical table data listings */
594table.vertical th {
595  text-align:right;
596  }
597table.vertical td {
598  border-top:0.1em solid #e7e7e7;
599  padding:0.5em;
600  }
601
602/* Grid table listings */
603table.grid td,
604table.grid th {
605  border:1px solid #e7e7e7;
606  padding:0.5em;
607  }
608.dragindicator {
609  outline:2px solid #ffd700;
610  }
611#foldercontents-order-column {
612  padding:0;
613  }
614 
615/* Listing Bar */
616.listingBar {
617  margin:1em 0;
618  text-align:center;
619  }
620.listingBar .previous {
621  float:left;
622  }
623.listingBar .next {
624  float:right;
625  }
626.listingBar .previous {
627  display:inline-block;
628  }
629.listingBar a,
630.listingBar .current {
631  display:inline-block;
632  padding:0.25em 0.5em;
633  }
634
635/*---------- DASHBOARD ----------*/
636#dashboard {
637  font-size:100%;
638  line-height:inherit;
639  }
640#dashboard-portlets1,
641#dashboard-portlets2,
642#dashboard-portlets3,
643#dashboard-portlets4 {
644  margin-right:1.3%;
645  padding:0;
646  width:24%;
647  }
648#dashboard-portlets4 {
649  margin-right:0;
650  }
651
652/*---------- ALBUM ----------*/
653.photoAlbumEntry {
654  background:url(../images/album.png) no-repeat;
655  float:left;
656  font-size:0.92em;
657  height:162px;
658  line-height:1.36em;
659  margin:0 6px 6px;
660  padding:8px 7px 8px 6px;
661  width:132px;
662  }
663.photoAlbumFolder {
664  background-position:0 -178px;
665  }
666.photoAlbumEntry a {
667  display:block;
668  height:162px;
669  overflow:hidden;
670  position:relative;
671  text-decoration:none;
672  }
673.photoAlbumEntry a:after {
674  background-color:rgba(241, 241, 241, 0.4);
675  bottom:0;
676  content:"";
677  height:8px;
678  position:absolute;
679  width:100%;
680  }
681.photoAlbumEntryWrapper {
682  display:block;
683  text-align:center;
684  }
685.photoAlbumEntry img {
686  border:2px solid #fff;
687  }
688.photoAlbumEntryTitle {
689  color:#757373;
690  display:block;
691  padding:4px 3px 0;
692  width:126px;
693  }
694.photoAlbumEntry a:hover {
695  overflow:visible;
696  }
697.photoAlbumEntry a:hover .photoAlbumEntryTitle  {
698  background-color:rgb(241,241,241);
699  background-color:rgba(241,241,241,0.8);
700  bottom:0;
701  min-height:50%;
702  position:absolute;
703  }
704
705/*----- Accessibility elements, applied by JS -----*/
706body.largeText {
707  font-size:81%;
708  }
709body.smallText {
710  font-size:56%;
711  }
712
713/*---------- COMMENTING ----------*/
714.discussion .hide {
715  display:none;
716  }
717.discussion {
718  clear:both;
719  font-size:1.09em;
720  }
721.comment {
722  padding:0 0 9px;
723  }
724.commentImage {
725  float:left;
726  padding:5px 7px;
727  }
728.discussion .documentByLine {
729  background-color:#f1f1f1;
730  margin:0;
731  padding:5px;
732  }
733.commentBody {
734  border-color:#d9d9d9 #f1f1f1 #f1f1f1;
735  border-style:solid;
736  border-width:1px;
737  clear:both;
738  margin:0 0 5px;
739  padding:5px;
740  overflow:auto;
741  }
742.commentActions {
743  text-align:right;
744  }
745.reply-to-comment-button {
746  margin-left:11px;
747  }
748.reply {
749  background-color:#f1f1f1;
750  clear:both;
751  font-size:1.09em;
752  margin:35px 0 0;
753  padding:5px 7px;
754  position:relative;
755  }
756.reply fieldset {
757  margin:0;
758  }
759.reply legend {
760  font-weight:bold;
761  position:absolute;
762  top:-28px;
763  }
764.reply p {
765  color:#76797c;
766  font-size:0.92em;
767  }
768.reply textarea {
769  min-height:50px;
770  width:100%;
771  }
772
773/*----- Collapsible -----*/
774dl.collapsible {
775  border: 0.1em solid #8cacbb;
776  margin: 1em 0;
777  padding: 0;
778  }
779dl.collapsible dt.collapsibleHeader {
780  display: block;
781  float: left;
782  background: White;
783  line-height: 1.2em;
784  vertical-align: middle;
785  font-size: 90%;
786  position: relative;
787  top: -0.6em;
788  width: auto;
789  margin: 0 0 -0.6em 1em;
790  padding: 0 0.5em;
791  }
792dl.collapsible dd.collapsibleContent {
793  margin: 0;
794  padding: 0 1em 0.4em;
795  clear: left;
796  }
797
798/* for IE the following isn't needed, that's why the css2 selector is used */
799dl.collapsible dd.collapsibleContent > dl {
800  margin: 0;
801  padding: 0;
802  }
803dl.expandedInlineCollapsible dt.collapsibleHeader,
804dl.expandedBlockCollapsible dt.collapsibleHeader {
805  background: url(../images/treeExpanded.png) no-repeat 0.5em 50% #fff;
806  cursor: pointer;
807  padding: 0 0.5em 0 2em;
808  }
809dl.collapsedBlockCollapsible {
810  border: none;
811  height: 1em;
812  width: auto;
813  }
814dl.collapsedInlineCollapsible dt.collapsibleHeader,
815dl.collapsedBlockCollapsible dt.collapsibleHeader {
816  float: none;
817  position: relative;
818  margin: 0 0 0 1em;
819  padding: 0 0.5em 0 2em;
820  line-height: 1.2em;
821  cursor: pointer;
822  background: White url(../images/treeCollapsed.png) no-repeat 0.5em 50%;
823  }
824dl.collapsedInlineCollapsible dd.collapsibleContent,
825dl.collapsedBlockCollapsible dd.collapsibleContent {
826  display: none;
827  }
828dl.collapsedInlineCollapsible {
829  border: 0;
830  height: 1em;
831  width: auto;
832  display: inline;
833  }
834dl.collapsedInlineCollapsible dt.collapsibleHeader {
835  position: static;
836  float: none;
837  margin: 0;
838  padding: 0 0 0 2em;
839  line-height: 1em;
840  cursor: pointer;
841  display: inline;
842  }
843.collapsible .collapser.collapsed:after {
844  content:" ▶"
845  }
846.collapsible .collapser.expanded:after {
847  content:" ▼"
848  }
849 
850/*---------- CONTENT TYPE ICONS ----------*/
851.icons-on .contenttype-folder {
852  background:url(../images/icons-sprite.png) no-repeat 0 -1600px;
853  display:inline-block;
854  padding-left:19px;
855  }
856.icons-on .contenttype-document {
857  background:url(../images/icons-sprite.png) no-repeat 0 -1800px;
858  display:inline-block;
859  padding-left:19px;
860  }
861.icons-on .contenttype-news-item {
862  background:url(../images/icons-sprite.png) no-repeat 0 -2000px;
863  display:inline-block;
864  padding-left:19px;
865  }
866.icons-on .contenttype-event {
867  background:url(../images/icons-sprite.png) no-repeat 0 -2201px;
868  display:inline-block;
869  padding-left:19px;
870  }
871.icons-on .contenttype-topic {
872  background:url(../images/icons-sprite.png) no-repeat 0 -2402px;
873  display:inline-block;
874  padding-left:19px;
875  }
876.icons-on .contenttype-image {
877  background:url(../images/icons-sprite.png) no-repeat 0 -2601px;
878  display:inline-block;
879  padding-left:19px;
880  }
881.icons-on .contenttype-link {
882  background:url(../images/icons-sprite.png) no-repeat 0 -2997px;
883  display:inline-block;
884  padding-left:19px;
885  }
886.icons-on img[alt='File'] {
887  margin-right:3px;
888  }
889/* Add new */
890#plone-contentmenu-factories li a {
891  background:url(../images/icons-sprite.png) no-repeat 1px -1199px;
892  display:block;
893  padding-left:17px;
894  }
895#plone-contentmenu-factories li a:hover {
896  background-color:#fff;
897  background-position:1px -2799px;
898  }
899#plone-contentmenu-factories li .contenttype-folder {
900  background-position:1px 2px;
901  }
902#plone-contentmenu-factories li .contenttype-folder:hover {
903  background-position:2px -1598px;
904  }
905#plone-contentmenu-factories li .contenttype-document {
906  background-position:1px -199px;
907  }
908#plone-contentmenu-factories li .contenttype-document:hover {
909  background-position:2px -1799px;
910  }
911#plone-contentmenu-factories li .contenttype-news-item {
912  background-position:1px -399px;
913  }
914#plone-contentmenu-factories li .contenttype-news-item:hover {
915  background-position:2px -1999px;
916  }
917#plone-contentmenu-factories li .contenttype-event {
918  background-position:1px -599px;
919  }
920#plone-contentmenu-factories li .contenttype-event:hover {
921  background-position:2px -2199px;
922  }
923#plone-contentmenu-factories li .contenttype-topic {
924  background-position:1px -800px;
925  }
926#plone-contentmenu-factories li .contenttype-topic:hover {
927  background-position:2px -2400px;
928  }
929#plone-contentmenu-factories li .contenttype-image {
930  background-position:1px -999px;
931  }
932#plone-contentmenu-factories li .contenttype-image:hover {
933  background-position:2px -2599px;
934  }
935#plone-contentmenu-factories li .contenttype-file {
936  background-position:1px -1199px;
937  }
938#plone-contentmenu-factories li .contenttype-file:hover {
939  background-position:2px -2799px;
940  }
941#plone-contentmenu-factories li .contenttype-link {
942  background-position:1px -1395px;
943  }
944#plone-contentmenu-factories li .contenttype-link:hover {
945  background-position:2px -2995px;
946  }
947#plone-contentmenu-factories #settings {
948  background-image:none;
949  padding:0;
950  }
Note: See TracBrowser for help on using the repository browser.