123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- $content-height--loading: 150px !default;
- @mixin featureContent() {
- .esri-feature-content__loader-container {
- height: $content-height--loading;
- padding: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .esri-feature-content__loader {
- height: 64px;
- width: 100%;
- background: url(../base/images/loading-throb.gif) no-repeat center center;
- }
- .esri-feature-content {
- font-size: $font-size;
- }
- .esri-feature-content h1,
- .esri-feature-content h2,
- .esri-feature-content h3,
- .esri-feature-content h4,
- .esri-feature-content h5,
- .esri-feature-content h6 {
- color: $font-color;
- margin: 0.5em 0 0.5em 0;
- letter-spacing: 0;
- font-weight: $font-weight__heading;
- line-height: normal;
- }
- .esri-feature-content h1 {
- font-size: 1.75em;
- }
- .esri-feature-content h2 {
- font-size: 1.5em;
- }
- .esri-feature-content h3 {
- font-size: 1.25em;
- }
- .esri-feature-content h4,
- .esri-feature-content h5,
- .esri-feature-content h6 {
- font-size: 1em;
- }
- .esri-widget__heading.esri-feature-element-info__title {
- color: $font-color;
- font-size: $font-size__h1;
- font-weight: $font-weight--regular;
- margin-bottom: 0.2em;
- margin-top: 0;
- }
- .esri-feature-element-info__description {
- font-size: $font-size__body;
- font-weight: $font-weight--regular;
- margin-bottom: $cap-spacing--three-quarters;
- }
- .esri-feature-content p {
- font-size: $font-size;
- line-height: normal;
- margin: 0 0 1.2em;
- }
- .esri-feature-content img {
- max-width: 100%;
- max-height: 100%;
- image-orientation: from-image;
- }
- .esri-feature-content figure {
- padding: 0;
- margin: 0;
- }
- .esri-feature-content figcaption {
- font-size: $font-size--small;
- font-style: italic;
- padding: 0;
- margin: 0.2em 0 0;
- display: block;
- }
- .esri-feature-content ul {
- margin-bottom: 1rem;
- }
- .esri-feature-content a {
- color: $interactive-font-color;
- &:hover,
- &:focus {
- color: $interactive-font-color--hover;
- }
- }
- }
- @if $include_FeatureContent == true {
- @include featureContent();
- }
|