Skip to content

Commit f081d8d

Browse files
committed
Update extras.
1 parent e1edfcc commit f081d8d

File tree

6 files changed

+1528
-1443
lines changed

6 files changed

+1528
-1443
lines changed

src/extras/agency-landing.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010
<!-- CSS Dependencies -->
11-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
1212
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
13-
<link rel="stylesheet" href="css/shards.min.css">
14-
<link rel="stylesheet" href="css/shards-extras.min.css">
13+
<link rel="stylesheet" href="css/shards.min.css?version=2.0.0">
14+
<link rel="stylesheet" href="css/shards-extras.min.css?version=2.0.0">
1515
</head>
1616
<body class="shards-landing-page--1">
1717
<!-- Welcome Section -->
@@ -276,6 +276,6 @@ <h3 class="section-title text-center m-5">Contact Us</h3>
276276
<!-- JavaScript Dependencies -->
277277
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
278278
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
279-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
279+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
280280
</body>
281281
</html>

src/extras/app-promo.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010
<!-- CSS Dependencies -->
11-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
11+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
1212
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
13-
<link rel="stylesheet" href="css/shards.min.css">
14-
<link rel="stylesheet" href="css/shards-extras.min.css">
13+
<link rel="stylesheet" href="css/shards.min.css?version=2.0.0">
14+
<link rel="stylesheet" href="css/shards-extras.min.css?version=2.0.0">
1515
</head>
1616
<body class="shards-app-promo-page--1">
1717
<!-- Welcome Section -->
@@ -224,7 +224,7 @@ <h3 class="section-title text-center text-white m-5">Newsletter</h3>
224224
<p class="text-muted col-md-6 text-center mx-auto">Lorem ipsum dolor sit amet, consectetur adipisicing elit. At voluptatum libero ipsum eius rem, facere deserunt repudiandae autem sapiente dolores.</p>
225225
<form class="form-inline d-table mb-5 mx-auto" action="/">
226226
<div class="form-group">
227-
<input class="form-control border-0 mr-3 mb-2" type="text" placeholder="Email address">
227+
<input class="form-control border-0 mr-3 mb-2 mr-sm-0" type="text" placeholder="Email address">
228228
<button class="btn btn-success mb-2" type="submit">Subscribe</button>
229229
</div>
230230
</form>
@@ -303,6 +303,6 @@ <h3 class="section-title text-center m-5">Contact Us</h3>
303303
<!-- JavaScript Dependencies -->
304304
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
305305
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
306-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
306+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
307307
</body>
308308
</html>

src/extras/scss/_app-promo.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
img {
9191
max-width: 300px;
92-
position: relative;
92+
position: absolute;
9393
z-index: 1;
9494
top: 50%;
9595
left: 100%;
@@ -98,8 +98,10 @@
9898
0 60px 100px rgba(#C0C0C0, .5);
9999

100100
@include media-breakpoint-down(md) {
101-
left: 50%;
102-
transform: translateX(-50%, 0);
101+
display: table;
102+
position: static;
103+
transform: translate(0);
104+
margin: 0 auto;
103105
}
104106
}
105107
}
@@ -121,6 +123,10 @@
121123
}
122124
}
123125

126+
.blog .card-img-top {
127+
height: 100%;
128+
}
129+
124130
// Better separation between sections.
125131
.section { border-bottom: 1px solid lighten($blueish-grey, 54); }
126132

src/extras/scss/shards-demo.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Shards — Demo Page Adjustments
33
*/
44

5-
// Partial dependencies.
6-
@import '../../scss/functions';
7-
@import '../../scss/mixins';
5+
// Dependencies
6+
@import "../../scss/functions";
7+
@import "../../scss/mixins";
88
@import '../../scss/variables';
99

1010
// Page loader
@@ -265,6 +265,10 @@
265265
background: $white;
266266
box-shadow: 0 0 25px rgba(40, 47, 60, .05), 0 20px 25px rgba(40, 47, 60, .05), 0 3px 4px rgba(40, 47, 60, .05);
267267

268+
&-striped tbody tr:nth-of-type(odd) {
269+
background-color: #f7f8fb;
270+
}
271+
268272
td,
269273
th {
270274
padding: 30px 25px;

src/extras/scss/shards-extras.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
// Shards Agency landing page styles.
33
//
44

5-
// Shards dependencies.
6-
@import '../../scss/functions';
7-
@import '../../scss/mixins';
5+
// Bootstrap 4 dependencies.
6+
@import "../../../node_modules/bootstrap/scss/functions";
7+
@import "../../../node_modules/bootstrap/scss/mixins";
8+
9+
// Shards Variables
810
@import '../../scss/variables';
911

1012
// Extra pages styles.

0 commit comments

Comments
 (0)