lab_pages 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/_data/affiliations.yml +9 -0
- data/_data/alumni.yml +8 -0
- data/_data/current_lab.yml +15 -0
- data/_data/navigation.yml +12 -0
- data/_data/news.yml +8 -0
- data/_data/projects.yml +3 -0
- data/_data/resources.yml +5 -0
- data/_includes/carousel.html +30 -0
- data/_layouts/default.html +72 -0
- data/_layouts/home.html +35 -0
- data/_layouts/paper.html +29 -0
- data/_sass/_bootstrap.scss +56 -0
- data/_sass/bootstrap/_alerts.scss +73 -0
- data/_sass/bootstrap/_badges.scss +68 -0
- data/_sass/bootstrap/_breadcrumbs.scss +28 -0
- data/_sass/bootstrap/_button-groups.scss +244 -0
- data/_sass/bootstrap/_buttons.scss +168 -0
- data/_sass/bootstrap/_carousel.scss +270 -0
- data/_sass/bootstrap/_close.scss +36 -0
- data/_sass/bootstrap/_code.scss +69 -0
- data/_sass/bootstrap/_component-animations.scss +37 -0
- data/_sass/bootstrap/_dropdowns.scss +216 -0
- data/_sass/bootstrap/_forms.scss +617 -0
- data/_sass/bootstrap/_glyphicons.scss +307 -0
- data/_sass/bootstrap/_grid.scss +84 -0
- data/_sass/bootstrap/_input-groups.scss +171 -0
- data/_sass/bootstrap/_jumbotron.scss +54 -0
- data/_sass/bootstrap/_labels.scss +66 -0
- data/_sass/bootstrap/_list-group.scss +130 -0
- data/_sass/bootstrap/_media.scss +66 -0
- data/_sass/bootstrap/_mixins.scss +40 -0
- data/_sass/bootstrap/_modals.scss +150 -0
- data/_sass/bootstrap/_navbar.scss +662 -0
- data/_sass/bootstrap/_navs.scss +242 -0
- data/_sass/bootstrap/_normalize.scss +424 -0
- data/_sass/bootstrap/_pager.scss +54 -0
- data/_sass/bootstrap/_pagination.scss +89 -0
- data/_sass/bootstrap/_panels.scss +271 -0
- data/_sass/bootstrap/_popovers.scss +131 -0
- data/_sass/bootstrap/_print.scss +101 -0
- data/_sass/bootstrap/_progress-bars.scss +87 -0
- data/_sass/bootstrap/_responsive-embed.scss +35 -0
- data/_sass/bootstrap/_responsive-utilities.scss +179 -0
- data/_sass/bootstrap/_scaffolding.scss +161 -0
- data/_sass/bootstrap/_tables.scss +234 -0
- data/_sass/bootstrap/_theme.scss +291 -0
- data/_sass/bootstrap/_thumbnails.scss +38 -0
- data/_sass/bootstrap/_tooltip.scss +101 -0
- data/_sass/bootstrap/_type.scss +298 -0
- data/_sass/bootstrap/_utilities.scss +55 -0
- data/_sass/bootstrap/_variables.scss +874 -0
- data/_sass/bootstrap/_wells.scss +29 -0
- data/_sass/bootstrap/mixins/_alerts.scss +14 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +18 -0
- data/_sass/bootstrap/mixins/_buttons.scss +65 -0
- data/_sass/bootstrap/mixins/_center-block.scss +7 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +22 -0
- data/_sass/bootstrap/mixins/_forms.scss +88 -0
- data/_sass/bootstrap/mixins/_gradients.scss +58 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +81 -0
- data/_sass/bootstrap/mixins/_grid.scss +122 -0
- data/_sass/bootstrap/mixins/_hide-text.scss +21 -0
- data/_sass/bootstrap/mixins/_image.scss +33 -0
- data/_sass/bootstrap/mixins/_labels.scss +12 -0
- data/_sass/bootstrap/mixins/_list-group.scss +32 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
- data/_sass/bootstrap/mixins/_nav-vertical-align.scss +9 -0
- data/_sass/bootstrap/mixins/_opacity.scss +8 -0
- data/_sass/bootstrap/mixins/_pagination.scss +24 -0
- data/_sass/bootstrap/mixins/_panels.scss +24 -0
- data/_sass/bootstrap/mixins/_progress-bar.scss +10 -0
- data/_sass/bootstrap/mixins/_reset-filter.scss +8 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_responsive-visibility.scss +21 -0
- data/_sass/bootstrap/mixins/_size.scss +10 -0
- data/_sass/bootstrap/mixins/_tab-focus.scss +9 -0
- data/_sass/bootstrap/mixins/_table-row.scss +28 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
- data/_sass/bootstrap/mixins/_text-overflow.scss +8 -0
- data/_sass/bootstrap/mixins/_vendor-prefixes.scss +222 -0
- data/_sass/jekyll-theme-lab_pages.scss +506 -0
- data/_sass/rouge-base16-dark.scss +81 -0
- data/assets/css/print.css +229 -0
- data/assets/css/style.scss +4 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/images/carousel/slide-1.png +0 -0
- data/assets/images/carousel/slide-2.png +0 -0
- data/assets/images/hr.png +0 -0
- data/assets/images/logo.png +0 -0
- data/assets/javascript/bootstrap.js +2377 -0
- data/assets/javascript/bootstrap.min.js +7 -0
- data/assets/javascript/bootstrap/affix.js +162 -0
- data/assets/javascript/bootstrap/alert.js +94 -0
- data/assets/javascript/bootstrap/button.js +125 -0
- data/assets/javascript/bootstrap/carousel.js +237 -0
- data/assets/javascript/bootstrap/collapse.js +212 -0
- data/assets/javascript/bootstrap/dropdown.js +165 -0
- data/assets/javascript/bootstrap/modal.js +339 -0
- data/assets/javascript/bootstrap/popover.js +108 -0
- data/assets/javascript/bootstrap/scrollspy.js +172 -0
- data/assets/javascript/bootstrap/tab.js +155 -0
- data/assets/javascript/bootstrap/tooltip.js +520 -0
- data/assets/javascript/bootstrap/transition.js +59 -0
- data/assets/javascript/jquery-3.3.1.min.js +2 -0
- data/papers/_posts/2017-01-10-slayer_paper.md +15 -0
- data/papers/index.html +22 -0
- metadata +256 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 54e51f47b242a645c2b59ae35748fb43ea5025b17b41585eecb670f1154c91db
|
4
|
+
data.tar.gz: e552b8635e51caed4a2005471410cfbe5696eb651ba7bc247476f274663d4921
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d668615c8a5bf6d93ef402e4bc32bb68cf7fed9e64aaeaa2f7d6f74417a6beb5770f73f99137935f70881eadfcfa3d27eeb4418b464fca46132333aac69d947b
|
7
|
+
data.tar.gz: f9b472e7cc3d6f343934676e9bfe1bf8bb47c6cd3114bd179a44d49c3bea350ed5965aa0c0b6401a10243eb3d65fabd8e69964e86dc19244d595b5f058d56340
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Caroline Cypranowska
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# lab_pages
|
2
|
+
|
3
|
+
Welcome to the lab_pages Jekyll theme. This theme is designed for academic laboratory pages with multiple team members, projects, and publications to document.
|
4
|
+
|
5
|
+
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
### _config.yml
|
13
|
+
|
14
|
+
Add information about website, webmaster, lab location, and PI contact info in _config.yml. Some information (e.g. `pi_fax` and `lab_fax`) are optional, but PI name, PI email, lab address and city are required.
|
15
|
+
|
16
|
+
### Layouts
|
17
|
+
|
18
|
+
There are three layouts with this theme: a homepage (`home`), a default page (`default`), and a papers page (`papers`). A table of papers will be displayed in /papers/index.html and the content will be determined by the .md files in (`/papers/_posts/`).
|
19
|
+
|
20
|
+
### Papers
|
21
|
+
|
22
|
+
Each .md file should begin with a date (formatted as `%YYYY-%mm-%dd`) followed by a string. The front matter of each post in `papers/_posts/` should contain the authors names, the paper title, an abbreviated citation, a DOI, and the journal name. The abstract of the paper should be included in the main content. Images can be included in these posts by placing the relevant image in the `/assets/images/` directory and pasting the path in the `-img:` field of the front matter.
|
23
|
+
|
24
|
+
### Carousel
|
25
|
+
|
26
|
+
The .html file for the homepage carousel is in `_includes/`. Images for the carousel live in the `assets/images/carousel/` directory.
|
27
|
+
|
28
|
+
## Contributing
|
29
|
+
|
30
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/isacofflab/lab_pages. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
31
|
+
|
32
|
+
## Development
|
33
|
+
|
34
|
+
To set up your environment to develop this theme, run `bundle install`.
|
35
|
+
|
36
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
37
|
+
|
38
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
39
|
+
To add a custom directory to your theme-gem, please edit the regexp in `lab_pages.gemspec` accordingly.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
44
|
+
|
data/_data/alumni.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
- name: PI Name
|
2
|
+
position: PI
|
3
|
+
email: pi@institution.edu
|
4
|
+
|
5
|
+
|
6
|
+
- name: Grad Student
|
7
|
+
position: Grad Student
|
8
|
+
email: grad@institution.edu
|
9
|
+
github: github_handle
|
10
|
+
|
11
|
+
|
12
|
+
- name: Super Postdoc
|
13
|
+
position: Postdoc
|
14
|
+
email: super_postdoc@institution.edu
|
15
|
+
google_scholar: super_scholar
|
data/_data/news.yml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
- date: 2016-05-30
|
2
|
+
description: Grad students graduated this Spring. Congrats to our newly minted PhDs.
|
3
|
+
|
4
|
+
- date: 2017-04-02
|
5
|
+
description: Grad student gets NSF Graduate Research Fellowship
|
6
|
+
|
7
|
+
- date: 2017-01-12
|
8
|
+
description: Lab gets BRAIN Initiative grant. Read about it <a href="http://linktograntinfo.com">here</a>
|
data/_data/projects.yml
ADDED
data/_data/resources.yml
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
<div class="col-lg-12 col-sm-12 col-xs-12 centered">
|
2
|
+
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
3
|
+
<!-- Indicators -->
|
4
|
+
<ol class="carousel-indicators">
|
5
|
+
{% for img in layout.carousel %}
|
6
|
+
{% if forloop.first == true %}
|
7
|
+
<li data-target="#carousel-example-generic" data-slide-to="0" class="active">
|
8
|
+
</li>
|
9
|
+
{% else %}
|
10
|
+
<li data-target="#carousel-example-generic" data-slide-to="{{ forloop.index0 }}"></li>
|
11
|
+
{% endif %}
|
12
|
+
{% endfor %}
|
13
|
+
</ol>
|
14
|
+
|
15
|
+
<!-- Wrapper for slides -->
|
16
|
+
<div class="carousel-inner">
|
17
|
+
{% for img in layout.carousel %}
|
18
|
+
{% if forloop.first == true %}
|
19
|
+
<div class="item active">
|
20
|
+
<img src="{{ "/assets/images/carousel/" }}{{ img }}" alt="">
|
21
|
+
</div>
|
22
|
+
{% else %}
|
23
|
+
<div class="item">
|
24
|
+
<img src="{{ "/assets/images/carousel/" }}{{ img }}" alt="">
|
25
|
+
</div>
|
26
|
+
{% endif %}
|
27
|
+
{% endfor %}
|
28
|
+
</div>
|
29
|
+
</div> <!--/Carousel -->
|
30
|
+
</div>
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
3
|
+
<head>
|
4
|
+
<meta charset='utf-8'>
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
7
|
+
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print">
|
8
|
+
<!--[if lt IE 9]>
|
9
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
10
|
+
<![endif]-->
|
11
|
+
|
12
|
+
{% seo %}
|
13
|
+
</head>
|
14
|
+
|
15
|
+
<nav class="navbar" role="navigation">
|
16
|
+
<ul class="navbar-nav">
|
17
|
+
{% assign links = site.data.navigation %}
|
18
|
+
{% for link in links %}
|
19
|
+
{% assign class = nil %}
|
20
|
+
{% if page.url contains link.url %}
|
21
|
+
{% assign class = 'active' %}
|
22
|
+
{% endif %}
|
23
|
+
{% if link.sublinks %}
|
24
|
+
<li class="dropdown {{ class }}">
|
25
|
+
<a href="{{ site.baseurl }}{{ link.url }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ link.title }} <span class="caret"></span></a>
|
26
|
+
<ul class="dropdown-menu">
|
27
|
+
{% for sublink in link.sublinks %}
|
28
|
+
{% if sublink.title == 'separator' %}
|
29
|
+
<li role="separator" class="divider"></li>
|
30
|
+
{% else %}
|
31
|
+
<li>
|
32
|
+
<a href="{{ site.baseurl }}{{ sublink.url }}">{{ sublink.title }}</a>
|
33
|
+
</li>
|
34
|
+
{% endif %}
|
35
|
+
{% endfor %}
|
36
|
+
</ul>
|
37
|
+
</li>
|
38
|
+
{% else %}
|
39
|
+
<li class="{{ class }}">
|
40
|
+
<a href="{{ site.baseurl }}{{ link.url }}">{{ link.title}}</a>
|
41
|
+
</li>
|
42
|
+
{% endif %}
|
43
|
+
{% endfor %}
|
44
|
+
</ul>
|
45
|
+
</nav>
|
46
|
+
|
47
|
+
<body>
|
48
|
+
<div class="container">
|
49
|
+
<div class="inner">
|
50
|
+
<section id="main_content">
|
51
|
+
{{ content }}
|
52
|
+
</section>
|
53
|
+
|
54
|
+
<footer>
|
55
|
+
This page was generated with the <a href="https://github.com/isacofflab/lab_pages">lab_pages</a> Jekyll theme.
|
56
|
+
</footer>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
{% if site.google_analytics %}
|
62
|
+
<script>
|
63
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
64
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
65
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
66
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
67
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
68
|
+
ga('send', 'pageview');
|
69
|
+
</script>
|
70
|
+
{% endif %}
|
71
|
+
</body>
|
72
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
carousel:
|
4
|
+
- slide-1.png
|
5
|
+
- slide-2.png
|
6
|
+
---
|
7
|
+
<script src="{{ site.baseurl }}/assets/javascript/jquery-3.3.1.min.js"></script>
|
8
|
+
<script src="{{ site.baseurl }}/assets/javascript/bootstrap.min.js"></script>
|
9
|
+
|
10
|
+
<header>
|
11
|
+
<h1>Welcome to {{ page.title | default: site.title }}</h1>
|
12
|
+
<h2>{{ page.description | default: site.description }}</h2>
|
13
|
+
</header>
|
14
|
+
|
15
|
+
<div id="carousel_container">
|
16
|
+
<div class="row">
|
17
|
+
{% include carousel.html %}
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="spacer"></div>
|
22
|
+
<div class="spacer"></div>
|
23
|
+
|
24
|
+
<h1>News</h1>
|
25
|
+
{% assign sorted = site.data.news | sort: 'date' | reverse %}
|
26
|
+
<div class="row">
|
27
|
+
{% for entry in sorted limit:4 %}
|
28
|
+
<div class="col-md-3">
|
29
|
+
<h3>{{ entry.date }}</h3>
|
30
|
+
<p style="word-wrap: break-word;">{{ entry.description}}</p>
|
31
|
+
</div>
|
32
|
+
{% endfor %}
|
33
|
+
</div>
|
34
|
+
|
35
|
+
{{ content }}
|
data/_layouts/paper.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="row">
|
5
|
+
<div class="col-md-12">
|
6
|
+
{% if page.image %}
|
7
|
+
<img src="{{ page.image }}">
|
8
|
+
{% endif %}
|
9
|
+
<div>
|
10
|
+
<h2>{{ page.title }}</h2>
|
11
|
+
</div>
|
12
|
+
<p>
|
13
|
+
<div>
|
14
|
+
{{ page.authors }} {{ page.year }}, {{ page.journal}}
|
15
|
+
</div>
|
16
|
+
</p>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-md-3">
|
22
|
+
{% if page.doi %}
|
23
|
+
<i class="fa fa-external-link fa-fw"></i>
|
24
|
+
<a href="http://dx.doi.org/{{ page.doi }}">{{ page. doi }}</a>
|
25
|
+
{% endif %}
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
{{ content }}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2016 Twitter, Inc.
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
// Core variables and mixins
|
8
|
+
@import "bootstrap/variables";
|
9
|
+
@import "bootstrap/mixins";
|
10
|
+
|
11
|
+
// Reset and dependencies
|
12
|
+
@import "bootstrap/normalize";
|
13
|
+
@import "bootstrap/print";
|
14
|
+
@import "bootstrap/glyphicons";
|
15
|
+
|
16
|
+
// Core CSS
|
17
|
+
@import "bootstrap/scaffolding";
|
18
|
+
@import "bootstrap/type";
|
19
|
+
@import "bootstrap/code";
|
20
|
+
@import "bootstrap/grid";
|
21
|
+
@import "bootstrap/tables";
|
22
|
+
@import "bootstrap/forms";
|
23
|
+
@import "bootstrap/buttons";
|
24
|
+
|
25
|
+
// Components
|
26
|
+
@import "bootstrap/component-animations";
|
27
|
+
@import "bootstrap/dropdowns";
|
28
|
+
@import "bootstrap/button-groups";
|
29
|
+
@import "bootstrap/input-groups";
|
30
|
+
@import "bootstrap/navs";
|
31
|
+
@import "bootstrap/navbar";
|
32
|
+
@import "bootstrap/breadcrumbs";
|
33
|
+
@import "bootstrap/pagination";
|
34
|
+
@import "bootstrap/pager";
|
35
|
+
@import "bootstrap/labels";
|
36
|
+
@import "bootstrap/badges";
|
37
|
+
@import "bootstrap/jumbotron";
|
38
|
+
@import "bootstrap/thumbnails";
|
39
|
+
@import "bootstrap/alerts";
|
40
|
+
@import "bootstrap/progress-bars";
|
41
|
+
@import "bootstrap/media";
|
42
|
+
@import "bootstrap/list-group";
|
43
|
+
@import "bootstrap/panels";
|
44
|
+
@import "bootstrap/responsive-embed";
|
45
|
+
@import "bootstrap/wells";
|
46
|
+
@import "bootstrap/close";
|
47
|
+
|
48
|
+
// Components w/ JavaScript
|
49
|
+
@import "bootstrap/modals";
|
50
|
+
@import "bootstrap/tooltip";
|
51
|
+
@import "bootstrap/popovers";
|
52
|
+
@import "bootstrap/carousel";
|
53
|
+
|
54
|
+
// Utility classes
|
55
|
+
@import "bootstrap/utilities";
|
56
|
+
@import "bootstrap/responsive-utilities";
|
@@ -0,0 +1,73 @@
|
|
1
|
+
//
|
2
|
+
// Alerts
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.alert {
|
10
|
+
padding: $alert-padding;
|
11
|
+
margin-bottom: $line-height-computed;
|
12
|
+
border: 1px solid transparent;
|
13
|
+
border-radius: $alert-border-radius;
|
14
|
+
|
15
|
+
// Headings for larger alerts
|
16
|
+
h4 {
|
17
|
+
margin-top: 0;
|
18
|
+
// Specified for the h4 to prevent conflicts of changing $headings-color
|
19
|
+
color: inherit;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Provide class for links that match alerts
|
23
|
+
.alert-link {
|
24
|
+
font-weight: $alert-link-font-weight;
|
25
|
+
}
|
26
|
+
|
27
|
+
// Improve alignment and spacing of inner content
|
28
|
+
> p,
|
29
|
+
> ul {
|
30
|
+
margin-bottom: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
> p + p {
|
34
|
+
margin-top: 5px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
// Dismissible alerts
|
39
|
+
//
|
40
|
+
// Expand the right padding and account for the close button's positioning.
|
41
|
+
|
42
|
+
.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
|
43
|
+
.alert-dismissible {
|
44
|
+
padding-right: ($alert-padding + 20);
|
45
|
+
|
46
|
+
// Adjust close link position
|
47
|
+
.close {
|
48
|
+
position: relative;
|
49
|
+
top: -2px;
|
50
|
+
right: -21px;
|
51
|
+
color: inherit;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// Alternate styles
|
56
|
+
//
|
57
|
+
// Generate contextual modifier classes for colorizing the alert.
|
58
|
+
|
59
|
+
.alert-success {
|
60
|
+
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
61
|
+
}
|
62
|
+
|
63
|
+
.alert-info {
|
64
|
+
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
65
|
+
}
|
66
|
+
|
67
|
+
.alert-warning {
|
68
|
+
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
|
69
|
+
}
|
70
|
+
|
71
|
+
.alert-danger {
|
72
|
+
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
73
|
+
}
|