<div class="o-search-result">
    <ul class="o-search-result__list">
        <li class="o-search-result__item o-search-result__item--article">
            <article class="row">
                <div class="grid-18 grid-md-4">
                    <a href="#"><img src="/assets/images/ALX_0876.jpg" alt="Hands typing on laptop" class="o-search-result__image o-search-result__image--article"></a>
                </div>
                <div class="grid-18 grid-md-14">
                    <div class="o-search-result__item__content">
                        <header>
                            <div class="a-meta">September 27, 2018</div>
                            <div class="a-meta a-meta--lowercase"><svg class="icon">
                                    <use xlink:href="#icon-read"></use>
                                </svg>
                                20 min <span class="u-hide-sm">läsning</span></div>

                        </header>
                        <h2>
                            <a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
                        </h2>
                        <p>Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.</p>
                    </div>
                </div>
            </article>
        </li>
        <li class="o-search-result__item o-search-result__item--article">
            <article class="row">
                <div class="grid-18 grid-md-4">
                    <a href="#"><img src="/assets/images/ALX_0876.jpg" alt="Hands typing on laptop" class="o-search-result__image o-search-result__image--article"></a>
                </div>
                <div class="grid-18 grid-md-14">
                    <div class="o-search-result__item__content">
                        <header>
                            <div class="a-meta">September 27, 2018</div>
                            <div class="a-meta a-meta--lowercase"><svg class="icon">
                                    <use xlink:href="#icon-read"></use>
                                </svg>
                                20 min <span class="u-hide-sm">läsning</span></div>

                        </header>
                        <h2>
                            <a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
                        </h2>
                        <p>Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.</p>
                    </div>
                </div>
            </article>
        </li>
        <li class="o-search-result__item o-search-result__item--file">
            <article class="row">
                <div class="o-search-result__item__content">
                    <header>
                        <div class="a-meta">September 27, 2018</div>
                    </header>
                    <h2>
                        <a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
                    </h2>
                    <p>Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.</p>
                </div>
                <div class="grid">
                    <div class="m-download">
                        <div class="row align-items-center justify-content-center">
                            <div class="grid-auto">
                                <figure class="m-download__icon-file">
                                    <svg class="icon">
                                        <use xlink:href="#icon-file"></use>
                                    </svg>
                                </figure>
                            </div>
                            <div class="grid u-position-static">
                                <div class="row flex-column">
                                    <div class="grid-18 u-position-static">
                                        <a href="https://www.iis.se/docs/Remiss_se_sv.pdf" class="beta m-download__link" download>
                                            Svenskarna och internet 2019
                                        </a>
                                    </div>
                                    <div class="grid-18  display-flex flex-column flex-sm-row justify-content-between align-items-start">
                                        <p class="u-m-b-0">Rapport om Svenskarnas internetanvändande i pdf-format</p>
                                        <div class="display-flex align-self-end flex-nowrap m-download__trigger">
                                            <strong class="m-download__text">Ladda ner</strong>
                                            <figure class="m-download__icon-download">
                                                <svg class="icon">
                                                    <use xlink:href="#icon-download"></use>
                                                </svg>
                                            </figure>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </article>
        </li>
        <li class="o-search-result__item o-search-result__item--page">
            <article class="row flex-row-reverse">
                <div class="grid-18 grid-md-9">
                    <a href="#"><img src="/assets/images/ALX_0876.jpg" alt="Hands typing on laptop" class="o-search-result__image o-search-result__image--page"></a>
                </div>
                <div class="grid-18 grid-md-9">
                    <div class="o-search-result__item__content">
                        <header>
                            <div class="a-meta">September 27, 2018</div>
                        </header>
                        <h2>
                            <a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
                        </h2>
                        <p>Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.</p>
                    </div>
                </div>
            </article>
        </li>
        <li class="o-search-result__item o-search-result__item--article">
            <article class="row">
                <div class="grid-18 grid-md-4">
                    <a href="#"><img src="/assets/images/ALX_0876.jpg" alt="Hands typing on laptop" class="o-search-result__image o-search-result__image--article"></a>
                </div>
                <div class="grid-18 grid-md-14">
                    <div class="o-search-result__item__content">
                        <header>
                            <div class="a-meta">September 27, 2018</div>
                            <div class="a-meta a-meta--lowercase"><svg class="icon">
                                    <use xlink:href="#icon-read"></use>
                                </svg>
                                20 min <span class="u-hide-sm">läsning</span></div>

                        </header>
                        <h2>
                            <a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
                        </h2>
                        <p>Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in.</p>
                    </div>
                </div>
            </article>
        </li>
    </ul>
</div>
<div class="o-search-result">
	<ul class="o-search-result__list">
		<li class="o-search-result__item o-search-result__item--article">
			<article class="row">
				<div class="grid-18 grid-md-4">
					<a href="#"><img src="{{img_url}}" alt="{{alt}}" class="o-search-result__image o-search-result__image--article"></a>
				</div>
				<div class="grid-18 grid-md-14">
					<div class="o-search-result__item__content">
						<header>
							{{> @meta text="September 27, 2018"}}
							{{render '@meta--lower-case'}}
						</header>
						<h2>
							<a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
						</h2>
						<p>{{exerpt}}</p>
					</div>
				</div>
			</article>
		</li>
		<li class="o-search-result__item o-search-result__item--article">
			<article class="row">
				<div class="grid-18 grid-md-4">
					<a href="#"><img src="{{img_url}}" alt="{{alt}}" class="o-search-result__image o-search-result__image--article"></a>
				</div>
				<div class="grid-18 grid-md-14">
					<div class="o-search-result__item__content">
						<header>
							{{> @meta text="September 27, 2018"}}
							{{render '@meta--lower-case'}}
						</header>
						<h2>
							<a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
						</h2>
						<p>{{exerpt}}</p>
					</div>
				</div>
			</article>
		</li>
		<li class="o-search-result__item o-search-result__item--file">
			<article class="row">
				<div class="o-search-result__item__content">
					<header>
						{{> @meta text="September 27, 2018"}}
					</header>
					<h2>
						<a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
					</h2>
					<p>{{exerpt}}</p>
				</div>
				<div class="grid">
					{{render '@download'}}
				</div>
			</article>
		</li>
		<li class="o-search-result__item o-search-result__item--page">
			<article class="row flex-row-reverse">
				<div class="grid-18 grid-md-9">
					<a href="#"><img src="{{img_url}}" alt="{{alt}}" class="o-search-result__image o-search-result__image--page"></a>
				</div>
				<div class="grid-18 grid-md-9">
					<div class="o-search-result__item__content">
						<header>
							{{> @meta text="September 27, 2018"}}
						</header>
						<h2>
							<a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
						</h2>
						<p>{{exerpt}}</p>
					</div>
				</div>
			</article>
		</li>
		<li class="o-search-result__item o-search-result__item--article">
			<article class="row">
				<div class="grid-18 grid-md-4">
					<a href="#"><img src="{{img_url}}" alt="{{alt}}" class="o-search-result__image o-search-result__image--article"></a>
				</div>
				<div class="grid-18 grid-md-14">
					<div class="o-search-result__item__content">
						<header>
							{{> @meta text="September 27, 2018"}}
							{{render '@meta--lower-case'}}
						</header>
						<h2>
							<a href="#" class="o-search-result__item__link">Nätneutraliteten</a>
						</h2>
						<p>{{exerpt}}</p>
					</div>
				</div>
			</article>
		</li>
	</ul>
</div>
{
  "label": "sök på internetstiftelsen.se",
  "alt": "Hands typing on laptop",
  "img_url": "/assets/images/ALX_0876.jpg",
  "title": "Man spelar Candy Crush",
  "url": "http://www.google.se",
  "exerpt": "Praesent tempus metus in arcu mollis, non convallis odio faucibus. Nullam lectus nulla, rutrum nec odio ut, mollis interdum enim. Proin tincidunt odio at quam eleifend imperdiet. Mauris sagittis nulla ipsum, consectetur efficitur libero dignissim in."
}
  • Content:
    @charset 'UTF-8';
    
    @include organism(search-result) {
    	@include e(list) {
    		margin: 0;
    		padding: 0;
    		list-style: none;
    	}
    
    	@include e(item) {
    		position: relative;
    		padding: rhythm(3) rhythm(2);
    
    		&:not(:first-child) {
    			border-top: 1px solid $color-concrete;
    		}
    
    		div > a {
    			@extend %reset-link-style;
    		}
    
    		@include m(article) {
    			article {
    				display: flex;
    				align-items: flex-start;
    			}
    
    			header {
    				display: flex;
    				align-items: flex-start;
    				justify-content: space-between;
    				margin-bottom: rhythm(1);
    			}
    
    			p {
    				margin-bottom: 0;
    			}
    
    			@include bp-up(xl) {
    				> h2,
    				p {
    					@include make-col(14);
    				}
    			}
    
    			@include e(content) {
    				@include bp-up(sm) {
    					margin-right: rhythm(2);
    				}
    
    				@include bp-up(md) {
    					margin-right: 0;
    				}
    			}
    		}
    
    		@include m(page) {
    			padding-right: rhythm(2);
    			padding-left: rhythm(2);
    		}
    
    		@include m(file) {
    			@include e(content) {
    				margin: 0 rhythm(3);
    
    				@include bp-up(xl) {
    					> h2,
    					p {
    						@include make-col(12);
    					}
    				}
    			}
    		}
    
    		@include e(content) {
    			flex: 0 1 100%;
    		}
    
    		@include e(link) {
    			@extend %reset-link-style;
    
    			color: $color-cyberspace;
    			text-decoration: none;
    
    			&:hover,
    			&:focus {
    				text-decoration: underline;
    			}
    		}
    	}
    
    	@include e(image) {
    		display: block;
    		width: 100%;
    		height: auto;
    		margin-bottom: rhythm(2);
    		border-radius: $border-radius;
    
    		@include bp-up(sm) {
    			margin-right: rhythm(2);
    		}
    
    		@include bp-up(md) {
    			margin-right: rhythm(2);
    			margin-bottom: 0;
    		}
    
    		@include bp-up(lg) {
    			margin-right: rhythm(3);
    		}
    
    		@include bp-up(xl) {
    			margin-right: rhythm(4);
    		}
    	}
    
    	@include bp-up(md) {
    		@include e(item) {
    			padding: rhythm(3);
    		}
    	}
    }
    
  • URL: /components/raw/search-result/_search-result.scss
  • Filesystem Path: src/organisms/search-result/_search-result.scss
  • Size: 1.7 KB

No notes defined.