|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- {% if doc.at_import %}
- {{ doc.at_import }}
- {% endif %}
-
- body {
- {% if doc.background_image %}
- background: url("../{{ doc.background_image }}") repeat;
- {% elif doc.background_color %}
- background-color: #{{ doc.background_color }};
- background-image: none;
- {% else %}
- background-color: #ffffff;
- {% endif %}
- {% if doc.font or doc.google_web_font_for_text %}
- font-family: '{{ doc.google_web_font_for_text or doc.font }}', 'Helvetica Neue', Arial, Sans !important;
- {% endif %}
- {% if doc.font_size %}font-size: {{ doc.font_size }} !important;{% endif %}
- {% if doc.page_text %}color: #{{ doc.page_text }};{% endif %}
- }
-
- {% if doc.page_links %}a, a:hover {
- color: #{{ doc.page_links }};
- }{% endif %}
-
- {% if doc.font_size %}
- .small {
- font-size: {{ doc.small_font_size }} !important;
- }
- {% endif %}
-
- div.outer {
- background-color: #{{ doc.page_background }};
- }
-
- {% if doc.google_web_font_for_heading or doc.heading_font %}h1, h2, h3, h4, h5 {
- font-family: '{{ doc.google_web_font_for_heading or doc.heading_font }}', 'Helvetica Neue', Arial !important;
- }{% endif %}
-
- {% if doc.heading_text_style %}h1, h2, h3, h4, h5 {
- text-transform: {{ doc.heading_text_style }};
- }{% endif %}
-
- {% if doc.page_headings %}h1, h2, h3, h4, h5 {
- color: #{{ doc.page_headings }};
- }{% endif %}
-
- {% if doc.page_border %}
- /* Page Border*/
- div.outer {
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
- -moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
- -webkibox-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
- }
- {% else %}
- {% if doc.background_color.lower() == doc.page_background.lower() %}
- .web-footer {
- border-top: 1px solid #{{ doc.page_background | get_hex_shade(15) }};
- padding-top: 10px;
- }
- {% endif %}
- {% endif %}
-
- .web-footer, .web-footer a {
- font-size: 90%;
- color: #{{ doc.background_color | get_hex_shade(70) }};
- }
-
- /* Bootstrap Navbar */
- .navbar-default {
- border: 0px;
- }
-
- .navbar {
- background-color: #{{ doc.top_bar_background}};
- background-repeat: repeat-x;
- background-image: none;
- border-bottom: 1px solid {% if doc.top_bar_background.lower() == doc.page_background.lower() -%}
- #{{ doc.page_background | get_hex_shade(15) }};
- {%- else -%}
- transparent;
- {%- endif %}
- }
-
- .navbar .navbar-brand,
- .navbar .navbar-brand:hover,
- .navbar .navbar-brand:focus,
- .navbar .nav > li > a {
- color: #{{ doc.top_bar_foreground }};
- text-shadow: none;
- }
-
- .navbar .nav > li > a:hover,
- .navbar .nav > li > a:focus {
- color: #{{ doc.top_bar_foreground }};
- background-color: transparent;
- }
-
- .navbar .navbar-text {
- color: #999999;
- }
-
- .navbar .nav .active > a,
- .navbar .nav .active > a:hover,
- .navbar .nav .active > a:focus {
- color: #{{ doc.top_bar_foreground }};
- background-color: transparent;
- }
-
- .navbar .navbar-link {
- color: #444444;
- }
-
- .navbar .navbar-link:hover,
- .navbar .navbar-link:focus {
- color: #{{ doc.top_bar_foreground}};
- }
-
- .navbar-fixed-top,
- .navbar-static-top {
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
-
- }
- .navbar .nav > .active > a,
- .navbar .nav > .active > a:hover,
- .navbar .nav > .active > a:focus {
- color: #424242;
- text-decoration: none;
- background-color: transparent;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
- box-shadow: none;
- }
-
- .navbar .nav li.dropdown > .dropdown-toggle .caret,
- .navbar .nav li.dropdown > .dropdown-toggle:hover .caret {
- border-top-color: #{{ doc.top_bar_foreground}};
- border-bottom-color: #{{ doc.top_bar_foreground}};
- }
-
- .navbar .nav li.dropdown.open > .dropdown-toggle .caret,
- .navbar .nav li.dropdown.open > .dropdown-toggle:hover .caret {
- border-top-color: #{{ doc.top_bar_background}};
- border-bottom-color: #{{ doc.top_bar_background}};
- }
-
- .navbar .nav li.dropdown.open > .dropdown-toggle {
- color: #{{ doc.top_bar_background}};
- background-color: #{{ doc.top_bar_foreground}};
- }
-
- @media (max-width: 800px) {
- .navbar .nav-collapse .nav > li > a,
- .navbar .nav-collapse .dropdown-menu a {
- background-color: #{{ doc.top_bar_background}};
- color: #{{ doc.top_bar_foreground}};
- }
- .navbar .nav-collapse .nav > li > a:hover,
- .navbar .nav-collapse .dropdown-menu a:hover {
- background-color: #{{ doc.top_bar_foreground}};
- color: #{{ doc.top_bar_background}};
- }
-
- .navbar .nav li.dropdown > .dropdown-toggle .caret {
- border-top-color: #{{ doc.top_bar_foreground }};
- border-bottom-color: #{{ doc.top_bar_foreground }};
- }
-
- .navbar .nav li.dropdown > .dropdown-toggle:hover .caret {
- border-top-color: #{{ doc.top_bar_foreground }};
- border-bottom-color: #{{ doc.top_bar_foreground }};
- }
-
- .navbar .nav li.dropdown.open > .dropdown-toggle .caret,
- .navbar .nav li.dropdown.open > .dropdown-toggle:hover .caret {
- border-top-color: #{{ doc.top_bar_background }};
- border-bottom-color: #{{ doc.top_bar_background }};
- }
-
- }
-
- .navbar-default .navbar-toggle .icon-bar {
- background-color: #{{ doc.top_bar_foreground }};
- }
-
- .breadcrumb {
- background-color: #{{ doc.page_background | get_hex_shade(5) }};
- }
-
- .breadcrumb > li {
- text-shadow: none;
- }
-
-
- .table-striped tbody > tr:nth-child(odd) > td,
- .table-striped tbody > tr:nth-child(odd) > th {
- background-color: #{{ doc.page_background | get_hex_shade(5) }};
- }
-
- .table-hover tbody tr:hover td,
- .table-hover tbody tr:hover th {
- background-color: #{{ doc.page_background | get_hex_shade(10) }};
- }
-
- .table-bordered {
- border: 1px solid #{{ doc.page_background | get_hex_shade(15) }};
- }
-
- .table th,
- .table td {
- border-top: 1px solid #{{ doc.page_background | get_hex_shade(15) }};
- }
-
- .table-bordered th,
- .table-bordered td {
- border-left: 1px solid #{{ doc.page_background | get_hex_shade(15) }};
- }
-
-
-
- .hero-unit {
- background-color: #{{ doc.page_background | get_hex_shade(15) }};
- }
-
- pre, code {
- background-color: #{{ doc.page_background | get_hex_shade(5) }};
- }
-
- hr {
- border-top: 1px solid #{{ doc.page_background | get_hex_shade(15) }};
- border-bottom: 1px solid #{{ doc.page_background | get_hex_shade(5) }};
- }
-
- {% if doc.add_css -%}
- /* User CSS */
- {{ doc.add_css }}
- {%- endif %}
|