Révision 74f6bef0
Ajouté par Assos Assos il y a plus de 10 ans
drupal7/sites/all/themes/adaptivetheme/at_subtheme/css/global.styles.css | ||
---|---|---|
114 | 114 |
* ========================================================================== */ |
115 | 115 |
|
116 | 116 |
/* |
117 |
* Page wrapper, includes the .container class which sets the overall page or section width |
|
118 |
* Main wrapper in page.tpl.php, the .container class sets the width of the page, do not add width to it! |
|
117 |
* Outer wrappers: |
|
118 |
* - #page-wrapper: body > #page-wrapper |
|
119 |
* - #page: body > #page-wrapper > #page |
|
120 |
* - .container: body > #page-wrapper > #page.container |
|
121 |
* |
|
122 |
* The .container class holds the page width value from theme settings. |
|
119 | 123 |
*/ |
124 |
#page-wrapper {} |
|
120 | 125 |
#page {} |
121 | 126 |
#page .container {} |
122 | 127 |
|
... | ... | |
136 | 141 |
#content-column {} |
137 | 142 |
|
138 | 143 |
/* |
139 |
* Wraps the main-content-header, the content region and feed-icons. Use this wrapper to style the entire main content column |
|
144 |
* Wraps the main-content-header, the content region and feed-icons. Use this |
|
145 |
* wrapper to style the entire main content column |
|
140 | 146 |
*/ |
141 | 147 |
#main-content {} |
142 | 148 |
|
143 | 149 |
/* |
144 |
* Wraps the content region, avoid applying styles to this wrapper, its used mainly for position and invisible gutters and can be problematic to style |
|
150 |
* Wraps the content region, avoid applying styles to this wrapper, its used |
|
151 |
* mainly for position and invisible gutters and can be problematic to style |
|
145 | 152 |
*/ |
146 | 153 |
#content {} |
147 | 154 |
|
... | ... | |
159 | 166 |
* Full Width Wrappers |
160 | 167 |
* These are used in the optional page--full-width-wrappers.tpl.php template. |
161 | 168 |
* All have internal .container classes. In the full width wrapper template the |
162 |
* .container classes set the width or max-width of the contained element - you |
|
163 |
* can style this but never add any width/margin/padding/borders etc to .container |
|
164 |
*/ |
|
165 |
/* |
|
166 |
* Wraps #page |
|
169 |
* .container classes set the width or max-width - you can style this but never |
|
170 |
* add any width/margin/padding/borders etc to .container |
|
167 | 171 |
*/ |
168 |
#page-wrapper {} |
|
169 |
#page-wrapper .container {} |
|
170 | 172 |
|
171 | 173 |
/* |
172 | 174 |
* Wraps the leaderboard |
... | ... | |
250 | 252 |
} |
251 | 253 |
|
252 | 254 |
/* |
253 |
* Wrapper for the site name and slogan (hgroup)
|
|
255 |
* Wrapper for the site name and slogan |
|
254 | 256 |
*/ |
255 | 257 |
#name-and-slogan {} |
256 | 258 |
|
... | ... | |
328 | 330 |
.more-link {} |
329 | 331 |
|
330 | 332 |
/* |
331 |
* Generic styles for links. See the ul.links declaration in node and comment stylesheets |
|
333 |
* Generic styles for links. See the ul.links declaration in node and comment |
|
334 |
* stylesheets |
|
332 | 335 |
*/ |
333 | 336 |
ul.links { |
334 | 337 |
margin: 0; |
... | ... | |
350 | 353 |
*/ |
351 | 354 |
.search-results { |
352 | 355 |
margin: 0; |
356 |
padding: 0; |
|
357 |
} |
|
358 |
|
|
359 |
/* |
|
360 |
* Attribution message and link |
|
361 |
*/ |
|
362 |
.attribution { |
|
363 |
display: block; |
|
364 |
opacity: 0.65; |
|
365 |
padding: 1em 0; |
|
366 |
text-align: center; |
|
367 |
} |
|
368 |
|
|
369 |
.attribution a { |
|
370 |
text-decoration: none; |
|
371 |
color: inherit; |
|
372 |
} |
|
373 |
|
|
374 |
.attribution a:hover, |
|
375 |
.attribution a:focus { |
|
376 |
text-decoration: underline; |
|
353 | 377 |
} |
354 | 378 |
|
355 | 379 |
|
... | ... | |
358 | 382 |
* ========================================================================== */ |
359 | 383 |
|
360 | 384 |
/* |
361 |
* Standard region wrapper, don't add width to any regions, you will bork the layout - no margin, padding or borders etc |
|
385 |
* Standard region wrapper, don't add width to any regions, you will bork the |
|
386 |
* layout - no margin, padding or borders etc |
|
362 | 387 |
*/ |
363 | 388 |
.region {} |
364 | 389 |
|
... | ... | |
447 | 472 |
* Primary, Secondary and Menu Bar region menus |
448 | 473 |
* ========================================================================== */ |
449 | 474 |
|
450 |
/* |
|
451 |
* Use one of the following id's for granular control: |
|
452 |
* - #menu-bar (menu bar region) |
|
453 |
* - #primary-menu (main menu) |
|
454 |
* - #secondary-menu (secondary/user menu) |
|
455 |
* You can target all of these with .nav or div[id$="menu-bar"] |
|
456 |
*/ |
|
457 | 475 |
.nav { |
458 | 476 |
clear: both; |
459 | 477 |
margin: 10px 0; |
... | ... | |
592 | 610 |
} |
593 | 611 |
|
594 | 612 |
|
613 |
|
|
614 |
|
|
615 |
/* ============================================================================= |
|
616 |
* Menu Toggles |
|
617 |
* ========================================================================== */ |
|
618 |
|
|
619 |
.at-mt .at-menu-toggle, |
|
620 |
.at-mt .at-menu-toggle ul, |
|
621 |
.at-mt .at-menu-toggle ul.menu { |
|
622 |
margin-top: 0; |
|
623 |
margin-bottom: 0; |
|
624 |
padding: 0; |
|
625 |
} |
|
626 |
|
|
627 |
.at-mt .at-menu-toggle-button { |
|
628 |
margin: 0; |
|
629 |
} |
|
630 |
|
|
631 |
.at-mt .at-menu-toggle ul a { |
|
632 |
padding: 0 10px; |
|
633 |
white-space: nowrap; |
|
634 |
} |
|
635 |
|
|
636 |
|
|
637 |
|
|
638 |
|
|
595 | 639 |
/* ============================================================================= |
596 | 640 |
* Menus, usually blocks |
597 | 641 |
* ========================================================================== */ |
... | ... | |
652 | 696 |
.book-navigation .page-next {} |
653 | 697 |
|
654 | 698 |
.book-navigation .page-up { |
655 |
/* Prevent text wrapping to a new line, assumes English "up" is used (two characters) */
|
|
699 |
/* Prevent text wrapping to a new line, assumes the string is two chars */
|
|
656 | 700 |
min-width: 2em; |
657 | 701 |
white-space: nowrap; |
658 | 702 |
} |
... | ... | |
710 | 754 |
#breadcrumb a:hover, |
711 | 755 |
#breadcrumb a:focus {} |
712 | 756 |
|
757 |
#breadcrumb .crumb-separator {} |
|
758 |
|
|
713 | 759 |
|
714 | 760 |
/* ============================================================================= |
715 | 761 |
* Pagers |
... | ... | |
902 | 948 |
.field-label-above {} |
903 | 949 |
|
904 | 950 |
/* |
905 |
* When labels are set to inline in field display settings the clearfix class is automatically added |
|
951 |
* When labels are set to inline in field display settings the clearfix class is |
|
952 |
* automatically added |
|
906 | 953 |
*/ |
907 | 954 |
.field-label-inline {} |
908 | 955 |
|
956 |
.field-label-inline .field-label { |
|
957 |
margin: 0; |
|
958 |
} |
|
959 |
|
|
909 | 960 |
/* |
910 |
* Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted ineritance issues |
|
961 |
* Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted |
|
962 |
* ineritance issues |
|
911 | 963 |
*/ |
912 | 964 |
.field-label { |
913 | 965 |
font-size: 1em; |
... | ... | |
918 | 970 |
} |
919 | 971 |
|
920 | 972 |
|
973 |
|
|
974 |
|
|
921 | 975 |
/* |
922 | 976 |
* Field types (Core) |
923 | 977 |
*/ |
... | ... | |
1076 | 1130 |
} |
1077 | 1131 |
|
1078 | 1132 |
/* |
1079 |
* Inner wrapper for most blocks, good for margin, padding and borders, block_system_main does not have it |
|
1133 |
* Inner wrapper for most blocks, good for margin, padding and borders, |
|
1134 |
* block_system_main does not have it |
|
1080 | 1135 |
*/ |
1081 | 1136 |
.block-inner {} |
1082 | 1137 |
|
... | ... | |
1603 | 1658 |
*/ |
1604 | 1659 |
#forum td {} |
1605 | 1660 |
|
1606 |
#forum td .created,
|
|
1607 |
#forum td .posts,
|
|
1608 |
#forum td .topics,
|
|
1609 |
#forum td .last-reply,
|
|
1610 |
#forum td .replies,
|
|
1611 |
#forum td .pager {
|
|
1661 |
#forum td.created, |
|
1662 |
#forum td.posts, |
|
1663 |
#forum td.topics, |
|
1664 |
#forum td.last-reply, |
|
1665 |
#forum td.replies, |
|
1666 |
#forum td.pager { |
|
1612 | 1667 |
white-space: normal; |
1613 | 1668 |
} |
1614 | 1669 |
|
1615 | 1670 |
|
1671 |
|
|
1616 | 1672 |
/* ============================================================================= |
1617 | 1673 |
* Messages |
1618 | 1674 |
* ========================================================================== */ |
Formats disponibles : Unified diff
Weekly update of contrib modules