init commit
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.theia
|
||||||
|
.env
|
||||||
|
__pycache__
|
||||||
0
index.html
Normal file
4
myproject/.babelrc
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"presets": [ "@babel/preset-env" ],
|
||||||
|
"compact": false
|
||||||
|
}
|
||||||
3
myproject/.bowerrc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"directory": "bower_components"
|
||||||
|
}
|
||||||
5
myproject/.browserslistrc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Browsers that we support
|
||||||
|
last 2 versions
|
||||||
|
ie >= 9
|
||||||
|
ios >= 7
|
||||||
|
android >= 4.4
|
||||||
8
myproject/.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
.DS_Store
|
||||||
|
node_modules
|
||||||
|
npm-debug.log
|
||||||
|
bower_components
|
||||||
|
dist
|
||||||
|
*.swp
|
||||||
|
.cache
|
||||||
|
.idea
|
||||||
5
myproject/CHANGELOG.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## Version 1.0 (November 19, 2015)
|
||||||
|
|
||||||
|
Initial release.
|
||||||
28
myproject/config.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Your project's server will run on localhost:xxxx at this port
|
||||||
|
PORT: 8102
|
||||||
|
|
||||||
|
# UnCSS will use these settings
|
||||||
|
UNCSS_OPTIONS:
|
||||||
|
html:
|
||||||
|
# Search for used CSS classes in generated HTML files
|
||||||
|
- "dist/**/*.html"
|
||||||
|
ignore:
|
||||||
|
- !!js/regexp .foundation-mq
|
||||||
|
- !!js/regexp ^\.is-.*
|
||||||
|
|
||||||
|
# Gulp will reference these paths when it copies files
|
||||||
|
PATHS:
|
||||||
|
# Path to dist folder
|
||||||
|
dist: "dist"
|
||||||
|
# Paths to static assets that aren't images, CSS, or JavaScript
|
||||||
|
assets:
|
||||||
|
- "src/assets/**/*"
|
||||||
|
- "!src/assets/{img,js,scss}/**/*"
|
||||||
|
# Paths to Sass libraries, which can then be loaded with @import
|
||||||
|
sass:
|
||||||
|
- "node_modules/foundation-sites/scss"
|
||||||
|
- "node_modules/motion-ui/src"
|
||||||
|
# Paths to JavaScript entry points for webpack to bundle modules
|
||||||
|
entries:
|
||||||
|
- "src/assets/js/building-blocks/responsive-hidden-nav.js"
|
||||||
|
- "src/assets/js/app.js"
|
||||||
173
myproject/gulpfile.babel.js
Normal file
@@ -0,0 +1,173 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
import plugins from 'gulp-load-plugins';
|
||||||
|
import yargs from 'yargs';
|
||||||
|
import browser from 'browser-sync';
|
||||||
|
import gulp from 'gulp';
|
||||||
|
import panini from 'panini';
|
||||||
|
import rimraf from 'rimraf';
|
||||||
|
import sherpa from 'style-sherpa';
|
||||||
|
import yaml from 'js-yaml';
|
||||||
|
import fs from 'fs';
|
||||||
|
import webpackStream from 'webpack-stream';
|
||||||
|
import webpack2 from 'webpack';
|
||||||
|
import named from 'vinyl-named';
|
||||||
|
import uncss from 'uncss';
|
||||||
|
import autoprefixer from 'autoprefixer';
|
||||||
|
|
||||||
|
// Load all Gulp plugins into one variable
|
||||||
|
const $ = plugins();
|
||||||
|
|
||||||
|
// Check for --production flag
|
||||||
|
const PRODUCTION = !!(yargs.argv.production);
|
||||||
|
|
||||||
|
// Load settings from settings.yml
|
||||||
|
const { PORT, UNCSS_OPTIONS, PATHS } = loadConfig();
|
||||||
|
|
||||||
|
function loadConfig() {
|
||||||
|
let ymlFile = fs.readFileSync('config.yml', 'utf8');
|
||||||
|
return yaml.load(ymlFile);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build the "dist" folder by running all of the below tasks
|
||||||
|
// Sass must be run later so UnCSS can search for used classes in the others assets.
|
||||||
|
gulp.task('build',
|
||||||
|
gulp.series(clean, gulp.parallel(pages, javascript, images, copy), sass, styleGuide));
|
||||||
|
|
||||||
|
// Build the site, run the server, and watch for file changes
|
||||||
|
gulp.task('default',
|
||||||
|
gulp.series('build', server, watch));
|
||||||
|
|
||||||
|
// Delete the "dist" folder
|
||||||
|
// This happens every time a build starts
|
||||||
|
function clean(done) {
|
||||||
|
rimraf(PATHS.dist, done);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Copy files out of the assets folder
|
||||||
|
// This task skips over the "img", "js", and "scss" folders, which are parsed separately
|
||||||
|
function copy() {
|
||||||
|
return gulp.src(PATHS.assets)
|
||||||
|
.pipe(gulp.dest(PATHS.dist + '/assets'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Copy page templates into finished HTML files
|
||||||
|
function pages() {
|
||||||
|
return gulp.src('src/pages/**/*.{html,hbs,handlebars}')
|
||||||
|
.pipe(panini({
|
||||||
|
root: 'src/pages/',
|
||||||
|
layouts: 'src/layouts/',
|
||||||
|
partials: 'src/partials/',
|
||||||
|
data: 'src/data/',
|
||||||
|
helpers: 'src/helpers/'
|
||||||
|
}))
|
||||||
|
.pipe(gulp.dest(PATHS.dist));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Load updated HTML templates and partials into Panini
|
||||||
|
function resetPages(done) {
|
||||||
|
panini.refresh();
|
||||||
|
done();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Generate a style guide from the Markdown content and HTML template in styleguide/
|
||||||
|
function styleGuide(done) {
|
||||||
|
sherpa('src/styleguide/index.md', {
|
||||||
|
output: PATHS.dist + '/styleguide.html',
|
||||||
|
template: 'src/styleguide/template.html'
|
||||||
|
}, done);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compile Sass into CSS
|
||||||
|
// In production, the CSS is compressed
|
||||||
|
function sass() {
|
||||||
|
|
||||||
|
const postCssPlugins = [
|
||||||
|
// Autoprefixer
|
||||||
|
autoprefixer(),
|
||||||
|
|
||||||
|
// UnCSS - Uncomment to remove unused styles in production
|
||||||
|
// PRODUCTION && uncss.postcssPlugin(UNCSS_OPTIONS),
|
||||||
|
].filter(Boolean);
|
||||||
|
|
||||||
|
return gulp.src('src/assets/scss/app.scss')
|
||||||
|
.pipe($.sourcemaps.init())
|
||||||
|
.pipe($.sass({
|
||||||
|
includePaths: PATHS.sass
|
||||||
|
})
|
||||||
|
.on('error', $.sass.logError))
|
||||||
|
.pipe($.postcss(postCssPlugins))
|
||||||
|
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie9' })))
|
||||||
|
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
|
||||||
|
.pipe(gulp.dest(PATHS.dist + '/assets/css'))
|
||||||
|
.pipe(browser.reload({ stream: true }));
|
||||||
|
}
|
||||||
|
|
||||||
|
let webpackConfig = {
|
||||||
|
mode: (PRODUCTION ? 'production' : 'development'),
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.js$/,
|
||||||
|
use: {
|
||||||
|
loader: 'babel-loader',
|
||||||
|
options: {
|
||||||
|
presets: [ "@babel/preset-env" ],
|
||||||
|
compact: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
devtool: !PRODUCTION && 'source-map'
|
||||||
|
}
|
||||||
|
|
||||||
|
// Combine JavaScript into one file
|
||||||
|
// In production, the file is minified
|
||||||
|
function javascript() {
|
||||||
|
return gulp.src(PATHS.entries)
|
||||||
|
.pipe(named())
|
||||||
|
.pipe($.sourcemaps.init())
|
||||||
|
.pipe(webpackStream(webpackConfig, webpack2))
|
||||||
|
.pipe($.if(PRODUCTION, $.terser()
|
||||||
|
.on('error', e => { console.log(e); })
|
||||||
|
))
|
||||||
|
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
|
||||||
|
.pipe(gulp.dest(PATHS.dist + '/assets/js'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Copy images to the "dist" folder
|
||||||
|
// In production, the images are compressed
|
||||||
|
function images() {
|
||||||
|
return gulp.src('src/assets/img/**/*')
|
||||||
|
.pipe($.if(PRODUCTION, $.imagemin([
|
||||||
|
$.imagemin.jpegtran({ progressive: true }),
|
||||||
|
])))
|
||||||
|
.pipe(gulp.dest(PATHS.dist + '/assets/img'));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start a server with BrowserSync to preview the site in
|
||||||
|
function server(done) {
|
||||||
|
browser.init({
|
||||||
|
server: PATHS.dist, port: PORT
|
||||||
|
}, done);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reload the browser with BrowserSync
|
||||||
|
function reload(done) {
|
||||||
|
browser.reload();
|
||||||
|
done();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Watch for changes to static assets, pages, Sass, and JavaScript
|
||||||
|
function watch() {
|
||||||
|
gulp.watch(PATHS.assets, copy);
|
||||||
|
gulp.watch('src/pages/**/*.html').on('all', gulp.series(pages, browser.reload));
|
||||||
|
gulp.watch('src/{layouts,partials}/**/*.html').on('all', gulp.series(resetPages, pages, browser.reload));
|
||||||
|
gulp.watch('src/data/**/*.{js,json,yml}').on('all', gulp.series(resetPages, pages, browser.reload));
|
||||||
|
gulp.watch('src/helpers/**/*.js').on('all', gulp.series(resetPages, pages, browser.reload));
|
||||||
|
gulp.watch('src/assets/scss/**/*.scss').on('all', sass);
|
||||||
|
gulp.watch('src/assets/js/**/*.js').on('all', gulp.series(javascript, browser.reload));
|
||||||
|
gulp.watch('src/assets/img/**/*').on('all', gulp.series(images, browser.reload));
|
||||||
|
gulp.watch('src/styleguide/**').on('all', gulp.series(styleGuide, browser.reload));
|
||||||
|
}
|
||||||
0
myproject/index.html
Normal file
13246
myproject/package-lock.json
generated
Normal file
57
myproject/package.json
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
{
|
||||||
|
"name": "foundation-zurb-template",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Official ZURB Template for Foundation for Sites.",
|
||||||
|
"main": "gulpfile.babel.js",
|
||||||
|
"scripts": {
|
||||||
|
"start": "gulp",
|
||||||
|
"build": "gulp build --production"
|
||||||
|
},
|
||||||
|
"author": "ZURB <foundation@zurb.com>",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"foundation-sites": "^6.6.0",
|
||||||
|
"jquery": "^3.2.1",
|
||||||
|
"motion-ui": "^2.0.3",
|
||||||
|
"what-input": "^5.1.2"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@babel/core": "^7.1.2",
|
||||||
|
"@babel/preset-env": "^7.1.0",
|
||||||
|
"@babel/register": "^7.0.0",
|
||||||
|
"autoprefixer": "^9.1.5",
|
||||||
|
"babel-loader": "^8.0.4",
|
||||||
|
"browser-sync": "^2.10.0",
|
||||||
|
"gulp": "^4.0.0",
|
||||||
|
"gulp-babel": "^8.0.0",
|
||||||
|
"gulp-clean-css": "^3.3.1",
|
||||||
|
"gulp-cli": "^2.0.1",
|
||||||
|
"gulp-concat": "^2.5.2",
|
||||||
|
"gulp-extname": "^0.2.0",
|
||||||
|
"gulp-if": "^2.0.0",
|
||||||
|
"gulp-imagemin": "^4.1.0",
|
||||||
|
"gulp-load-plugins": "^1.1.0",
|
||||||
|
"gulp-postcss": "^8.0.0",
|
||||||
|
"gulp-sass": "^4.0.1",
|
||||||
|
"gulp-sourcemaps": "^2.6.4",
|
||||||
|
"gulp-terser": "^1.2.0",
|
||||||
|
"js-yaml": "^3.4.6",
|
||||||
|
"panini": "^1.3.0",
|
||||||
|
"rimraf": "^2.4.3",
|
||||||
|
"style-sherpa": "^1.0.0",
|
||||||
|
"uncss": "^0.16.2",
|
||||||
|
"vinyl-named": "^1.1.0",
|
||||||
|
"webpack": "^4.20.2",
|
||||||
|
"webpack-stream": "^5.1.1",
|
||||||
|
"yargs": "^12.0.2"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/zurb/foundation-zurb-template.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/zurb/foundation-sites/issues",
|
||||||
|
"email": "foundation@zurb.com"
|
||||||
|
},
|
||||||
|
"private": true
|
||||||
|
}
|
||||||
70
myproject/readme.md
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# ZURB Template
|
||||||
|
|
||||||
|
[](https://david-dm.org/zurb/foundation-zurb-template#info=devDependencies)
|
||||||
|
|
||||||
|
**Please open all issues with this template on the main [Foundation for Sites](https://github.com/zurb/foundation-sites/issues) repo.**
|
||||||
|
|
||||||
|
This is the official ZURB Template for use with [Foundation for Sites](http://foundation.zurb.com/sites). We use this template at ZURB to deliver static code to our clients. It has a Gulp-powered build system with these features:
|
||||||
|
|
||||||
|
- Handlebars HTML templates with Panini
|
||||||
|
- Sass compilation and prefixing
|
||||||
|
- JavaScript module bundling with webpack
|
||||||
|
- Built-in BrowserSync server
|
||||||
|
- For production builds:
|
||||||
|
- CSS compression
|
||||||
|
- JavaScript module bundling with webpack
|
||||||
|
- Image compression
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
To use this template, your computer needs:
|
||||||
|
|
||||||
|
- [NodeJS](https://nodejs.org/en/) (Version 6 or greater recommended, tested with 6.11.4 and 8.12.0)
|
||||||
|
- [Git](https://git-scm.com/)
|
||||||
|
|
||||||
|
This template can be installed with the Foundation CLI, or downloaded and set up manually.
|
||||||
|
|
||||||
|
### Using the CLI
|
||||||
|
|
||||||
|
Install the Foundation CLI with this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install foundation-cli --global
|
||||||
|
```
|
||||||
|
|
||||||
|
Use this command to set up a blank Foundation for Sites project with this template:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
foundation new --framework sites --template zurb
|
||||||
|
```
|
||||||
|
|
||||||
|
The CLI will prompt you to give your project a name. The template will be downloaded into a folder with this name.
|
||||||
|
|
||||||
|
Now `cd` to your project name and to start your project run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
foundation watch
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual Setup
|
||||||
|
|
||||||
|
To manually set up the template, first download it with Git:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/zurb/foundation-zurb-template projectname
|
||||||
|
```
|
||||||
|
|
||||||
|
Then open the folder in your command line, and install the needed dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd projectname
|
||||||
|
yarn
|
||||||
|
```
|
||||||
|
|
||||||
|
Finally, run `yarn start` to run Gulp. Your finished site will be created in a folder called `dist`, viewable at this URL:
|
||||||
|
|
||||||
|
```
|
||||||
|
http://localhost:8000
|
||||||
|
```
|
||||||
|
|
||||||
|
To create compressed, production-ready assets, run `yarn run build`.
|
||||||
BIN
myproject/src/assets/fonts/BalooBhaina2-Bold.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooBhaina2-ExtraBold.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooBhaina2-Medium.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooBhaina2-Regular.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooBhaina2-SemiBold.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooTammudu2-Bold.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooTammudu2-ExtraBold.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooTammudu2-Medium.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooTammudu2-Regular.ttf
Normal file
BIN
myproject/src/assets/fonts/BalooTammudu2-SemiBold.ttf
Normal file
BIN
myproject/src/assets/fonts/Baloo_Bhaina_2,Baloo_Tammudu_2.zip
Normal file
BIN
myproject/src/assets/fonts/DancingScript.ttf
Normal file
BIN
myproject/src/assets/fonts/Dancing_Script.zip
Normal file
202
myproject/src/assets/fonts/LICENSE.txt
Normal file
@@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
93
myproject/src/assets/fonts/OFL.txt
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
Copyright 2016 The Dancing Script Project Authors (impallari@gmail.com), with Reserved Font Name 'Dancing Script’.
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
64
myproject/src/assets/fonts/README.txt
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
Dancing Script Variable Font
|
||||||
|
============================
|
||||||
|
|
||||||
|
This download contains Dancing Script as both a variable font and static fonts.
|
||||||
|
|
||||||
|
Dancing Script is a variable font with this axis:
|
||||||
|
wght
|
||||||
|
|
||||||
|
This means all the styles are contained in a single file:
|
||||||
|
DancingScript-VariableFont_wght.ttf
|
||||||
|
|
||||||
|
If your app fully supports variable fonts, you can now pick intermediate styles
|
||||||
|
that aren’t available as static fonts. Not all apps support variable fonts, and
|
||||||
|
in those cases you can use the static font files for Dancing Script:
|
||||||
|
static/DancingScript-Regular.ttf
|
||||||
|
static/DancingScript-Medium.ttf
|
||||||
|
static/DancingScript-SemiBold.ttf
|
||||||
|
static/DancingScript-Bold.ttf
|
||||||
|
|
||||||
|
Get started
|
||||||
|
-----------
|
||||||
|
|
||||||
|
1. Install the font files you want to use
|
||||||
|
|
||||||
|
2. Use your app's font picker to view the font family and all the
|
||||||
|
available styles
|
||||||
|
|
||||||
|
Learn more about variable fonts
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
||||||
|
https://variablefonts.typenetwork.com
|
||||||
|
https://medium.com/variable-fonts
|
||||||
|
|
||||||
|
In desktop apps
|
||||||
|
|
||||||
|
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
||||||
|
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
||||||
|
|
||||||
|
Online
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/getting_started
|
||||||
|
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
||||||
|
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
||||||
|
|
||||||
|
Installing fonts
|
||||||
|
|
||||||
|
MacOS: https://support.apple.com/en-us/HT201749
|
||||||
|
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
||||||
|
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
||||||
|
|
||||||
|
Android Apps
|
||||||
|
|
||||||
|
https://developers.google.com/fonts/docs/android
|
||||||
|
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
Please read the full license text (OFL.txt) to understand the permissions,
|
||||||
|
restrictions and requirements for usage, redistribution, and modification.
|
||||||
|
|
||||||
|
Commercial usage is allowed for any purpose, in any medium, but some
|
||||||
|
requirements apply in some situations. Always read your font licenses and
|
||||||
|
understand what they mean.
|
||||||
BIN
myproject/src/assets/fonts/RobotoMono-Bold.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-BoldItalic.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-Italic.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-Light.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-LightItalic.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-Medium.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-MediumItalic.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-Regular.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-Thin.ttf
Normal file
BIN
myproject/src/assets/fonts/RobotoMono-ThinItalic.ttf
Normal file
BIN
myproject/src/assets/fonts/Roboto_Mono.zip
Normal file
BIN
myproject/src/assets/fonts/static/DancingScript-Bold.ttf
Normal file
BIN
myproject/src/assets/fonts/static/DancingScript-Medium.ttf
Normal file
BIN
myproject/src/assets/fonts/static/DancingScript-Regular.ttf
Normal file
BIN
myproject/src/assets/fonts/static/DancingScript-SemiBold.ttf
Normal file
0
myproject/src/assets/img/.gitkeep
Normal file
BIN
myproject/src/assets/img/FET-Logo-2014-quadrat.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
myproject/src/assets/img/Personal-Crowd.jpg
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
myproject/src/assets/img/happy-people.jpg
Normal file
|
After Width: | Height: | Size: 88 KiB |
BIN
myproject/src/assets/img/image_gallery.jpeg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
myproject/src/assets/img/index2.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
BIN
myproject/src/assets/img/logo2014_64.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
myproject/src/assets/img/studienvertretung.png
Normal file
|
After Width: | Height: | Size: 3.8 MiB |
BIN
myproject/src/assets/img/vector-silhouettes.jpg
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
myproject/src/assets/img/view-of-the-clouds.jpg
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
17
myproject/src/assets/js/app.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import $ from 'jquery';
|
||||||
|
import 'what-input';
|
||||||
|
|
||||||
|
// Foundation JS relies on a global variable. In ES6, all imports are hoisted
|
||||||
|
// to the top of the file so if we used `import` to import Foundation,
|
||||||
|
// it would execute earlier than we have assigned the global variable.
|
||||||
|
// This is why we have to use CommonJS require() here since it doesn't
|
||||||
|
// have the hoisting behavior.
|
||||||
|
window.jQuery = $;
|
||||||
|
require('foundation-sites');
|
||||||
|
|
||||||
|
// If you want to pick and choose which modules to include, comment out the above and uncomment
|
||||||
|
// the line below
|
||||||
|
//import './lib/foundation-explicit-pieces';
|
||||||
|
|
||||||
|
|
||||||
|
$(document).foundation();
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
var $topBar = $('[data-responsive-hidden-nav]');
|
||||||
|
var $button = $('[data-responsive-hidden-nav] .responsive-hidden-button');
|
||||||
|
var $visibleLinks = $('[data-responsive-hidden-nav] .visible-links');
|
||||||
|
var $hiddenLinks = $('[data-responsive-hidden-nav] .hidden-links');
|
||||||
|
|
||||||
|
var responsiveBreaks = []; // Empty List (Array) on initialization
|
||||||
|
|
||||||
|
function updateTopBar() {
|
||||||
|
|
||||||
|
var availableSpace = $button.hasClass('hidden') ? $topBar.width() : $topBar.width() - $button.width() - 30; // Calculation of available space on the logic of whether button has the class `hidden` or not
|
||||||
|
|
||||||
|
if($visibleLinks.width() > availableSpace) { // Logic when visible list is overflowing the nav
|
||||||
|
|
||||||
|
responsiveBreaks.push($visibleLinks.width()); // Record the width of the list
|
||||||
|
$visibleLinks.children().last().prependTo($hiddenLinks); // Move item to the hidden list
|
||||||
|
|
||||||
|
// Show the resonsive hidden button
|
||||||
|
if($button.hasClass('hidden')) {
|
||||||
|
$button.removeClass('hidden');
|
||||||
|
}
|
||||||
|
|
||||||
|
} else { // Logic when visible list is not overflowing the nav
|
||||||
|
|
||||||
|
if(availableSpace > responsiveBreaks[responsiveBreaks.length-1]) { // Logic when there is space for another item in the nav
|
||||||
|
$hiddenLinks.children().first().appendTo($visibleLinks);
|
||||||
|
responsiveBreaks.pop(); // Move the item to the visible list
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hide the resonsive hidden button if list is empty
|
||||||
|
if(responsiveBreaks.length < 1) {
|
||||||
|
$button.addClass('hidden');
|
||||||
|
$hiddenLinks.addClass('hidden');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$button.attr("count", responsiveBreaks.length); // Keeping counter updated
|
||||||
|
|
||||||
|
if($visibleLinks.width() > availableSpace) { // Occur again if the visible list is still overflowing the nav
|
||||||
|
updateTopBar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Window listeners
|
||||||
|
$(window).resize(function() {
|
||||||
|
updateTopBar();
|
||||||
|
});
|
||||||
|
$button.on('click', function() {
|
||||||
|
$hiddenLinks.toggleClass('hidden');
|
||||||
|
});
|
||||||
|
updateTopBar();
|
||||||
83
myproject/src/assets/js/lib/foundation-explicit-pieces.js
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
import $ from 'jquery';
|
||||||
|
|
||||||
|
import { Foundation } from 'foundation-sites/js/foundation.core';
|
||||||
|
import * as CoreUtils from 'foundation-sites/js/foundation.core.utils';
|
||||||
|
import { Box } from 'foundation-sites/js/foundation.util.box'
|
||||||
|
import { onImagesLoaded } from 'foundation-sites/js/foundation.util.imageLoader';
|
||||||
|
import { Keyboard } from 'foundation-sites/js/foundation.util.keyboard';
|
||||||
|
import { MediaQuery } from 'foundation-sites/js/foundation.util.mediaQuery';
|
||||||
|
import { Motion, Move } from 'foundation-sites/js/foundation.util.motion';
|
||||||
|
import { Nest } from 'foundation-sites/js/foundation.util.nest';
|
||||||
|
import { Timer } from 'foundation-sites/js/foundation.util.timer';
|
||||||
|
import { Touch } from 'foundation-sites/js/foundation.util.touch';
|
||||||
|
import { Triggers } from 'foundation-sites/js/foundation.util.triggers';
|
||||||
|
import { Abide } from 'foundation-sites/js/foundation.abide';
|
||||||
|
import { Accordion } from 'foundation-sites/js/foundation.accordion';
|
||||||
|
import { AccordionMenu } from 'foundation-sites/js/foundation.accordionMenu';
|
||||||
|
import { Drilldown } from 'foundation-sites/js/foundation.drilldown';
|
||||||
|
import { Dropdown } from 'foundation-sites/js/foundation.dropdown';
|
||||||
|
import { DropdownMenu } from 'foundation-sites/js/foundation.dropdownMenu';
|
||||||
|
import { Equalizer } from 'foundation-sites/js/foundation.equalizer';
|
||||||
|
import { Interchange } from 'foundation-sites/js/foundation.interchange';
|
||||||
|
import { Magellan } from 'foundation-sites/js/foundation.magellan';
|
||||||
|
import { OffCanvas } from 'foundation-sites/js/foundation.offcanvas';
|
||||||
|
import { Orbit } from 'foundation-sites/js/foundation.orbit';
|
||||||
|
import { ResponsiveMenu } from 'foundation-sites/js/foundation.responsiveMenu';
|
||||||
|
import { ResponsiveToggle } from 'foundation-sites/js/foundation.responsiveToggle';
|
||||||
|
import { Reveal } from 'foundation-sites/js/foundation.reveal';
|
||||||
|
import { Slider } from 'foundation-sites/js/foundation.slider';
|
||||||
|
import { SmoothScroll } from 'foundation-sites/js/foundation.smoothScroll';
|
||||||
|
import { Sticky } from 'foundation-sites/js/foundation.sticky';
|
||||||
|
import { Tabs } from 'foundation-sites/js/foundation.tabs';
|
||||||
|
import { Toggler } from 'foundation-sites/js/foundation.toggler';
|
||||||
|
import { Tooltip } from 'foundation-sites/js/foundation.tooltip';
|
||||||
|
import { ResponsiveAccordionTabs } from 'foundation-sites/js/foundation.responsiveAccordionTabs';
|
||||||
|
|
||||||
|
Foundation.addToJquery($);
|
||||||
|
|
||||||
|
// Add Foundation Utils to Foundation global namespace for backwards
|
||||||
|
// compatibility.
|
||||||
|
Foundation.rtl = CoreUtils.rtl;
|
||||||
|
Foundation.GetYoDigits = CoreUtils.GetYoDigits;
|
||||||
|
Foundation.transitionend = CoreUtils.transitionend;
|
||||||
|
Foundation.RegExpEscape = CoreUtils.RegExpEscape;
|
||||||
|
Foundation.onLoad = CoreUtils.onLoad;
|
||||||
|
|
||||||
|
Foundation.Box = Box;
|
||||||
|
Foundation.onImagesLoaded = onImagesLoaded;
|
||||||
|
Foundation.Keyboard = Keyboard;
|
||||||
|
Foundation.MediaQuery = MediaQuery;
|
||||||
|
Foundation.Motion = Motion;
|
||||||
|
Foundation.Move = Move;
|
||||||
|
Foundation.Nest = Nest;
|
||||||
|
Foundation.Timer = Timer;
|
||||||
|
|
||||||
|
// Touch and Triggers previously were almost purely sede effect driven,
|
||||||
|
// so no need to add it to Foundation, just init them.
|
||||||
|
Touch.init($);
|
||||||
|
Triggers.init($, Foundation);
|
||||||
|
MediaQuery._init();
|
||||||
|
|
||||||
|
Foundation.plugin(Abide, 'Abide');
|
||||||
|
Foundation.plugin(Accordion, 'Accordion');
|
||||||
|
Foundation.plugin(AccordionMenu, 'AccordionMenu');
|
||||||
|
Foundation.plugin(Drilldown, 'Drilldown');
|
||||||
|
Foundation.plugin(Dropdown, 'Dropdown');
|
||||||
|
Foundation.plugin(DropdownMenu, 'DropdownMenu');
|
||||||
|
Foundation.plugin(Equalizer, 'Equalizer');
|
||||||
|
Foundation.plugin(Interchange, 'Interchange');
|
||||||
|
Foundation.plugin(Magellan, 'Magellan');
|
||||||
|
Foundation.plugin(OffCanvas, 'OffCanvas');
|
||||||
|
Foundation.plugin(Orbit, 'Orbit');
|
||||||
|
Foundation.plugin(ResponsiveMenu, 'ResponsiveMenu');
|
||||||
|
Foundation.plugin(ResponsiveToggle, 'ResponsiveToggle');
|
||||||
|
Foundation.plugin(Reveal, 'Reveal');
|
||||||
|
Foundation.plugin(Slider, 'Slider');
|
||||||
|
Foundation.plugin(SmoothScroll, 'SmoothScroll');
|
||||||
|
Foundation.plugin(Sticky, 'Sticky');
|
||||||
|
Foundation.plugin(Tabs, 'Tabs');
|
||||||
|
Foundation.plugin(Toggler, 'Toggler');
|
||||||
|
Foundation.plugin(Tooltip, 'Tooltip');
|
||||||
|
Foundation.plugin(ResponsiveAccordionTabs, 'ResponsiveAccordionTabs');
|
||||||
|
|
||||||
|
export { Foundation };
|
||||||
928
myproject/src/assets/scss/_settings.scss
Normal file
@@ -0,0 +1,928 @@
|
|||||||
|
// Foundation for Sites Settings
|
||||||
|
// -----------------------------
|
||||||
|
//
|
||||||
|
// Table of Contents:
|
||||||
|
//
|
||||||
|
// 1. Global
|
||||||
|
// 2. Breakpoints
|
||||||
|
// 3. The Grid
|
||||||
|
// 4. Base Typography
|
||||||
|
// 5. Typography Helpers
|
||||||
|
// 6. Abide
|
||||||
|
// 7. Accordion
|
||||||
|
// 8. Accordion Menu
|
||||||
|
// 9. Badge
|
||||||
|
// 10. Breadcrumbs
|
||||||
|
// 11. Button
|
||||||
|
// 12. Button Group
|
||||||
|
// 13. Callout
|
||||||
|
// 14. Card
|
||||||
|
// 15. Close Button
|
||||||
|
// 16. Drilldown
|
||||||
|
// 17. Dropdown
|
||||||
|
// 18. Dropdown Menu
|
||||||
|
// 19. Flexbox Utilities
|
||||||
|
// 20. Forms
|
||||||
|
// 21. Label
|
||||||
|
// 22. Media Object
|
||||||
|
// 23. Menu
|
||||||
|
// 24. Meter
|
||||||
|
// 25. Off-canvas
|
||||||
|
// 26. Orbit
|
||||||
|
// 27. Pagination
|
||||||
|
// 28. Progress Bar
|
||||||
|
// 29. Prototype Arrow
|
||||||
|
// 30. Prototype Border-Box
|
||||||
|
// 31. Prototype Border-None
|
||||||
|
// 32. Prototype Bordered
|
||||||
|
// 33. Prototype Display
|
||||||
|
// 34. Prototype Font-Styling
|
||||||
|
// 35. Prototype List-Style-Type
|
||||||
|
// 36. Prototype Overflow
|
||||||
|
// 37. Prototype Position
|
||||||
|
// 38. Prototype Rounded
|
||||||
|
// 39. Prototype Separator
|
||||||
|
// 40. Prototype Shadow
|
||||||
|
// 41. Prototype Sizing
|
||||||
|
// 42. Prototype Spacing
|
||||||
|
// 43. Prototype Text-Decoration
|
||||||
|
// 44. Prototype Text-Transformation
|
||||||
|
// 45. Prototype Text-Utilities
|
||||||
|
// 46. Responsive Embed
|
||||||
|
// 47. Reveal
|
||||||
|
// 48. Slider
|
||||||
|
// 49. Switch
|
||||||
|
// 50. Table
|
||||||
|
// 51. Tabs
|
||||||
|
// 52. Thumbnail
|
||||||
|
// 53. Title Bar
|
||||||
|
// 54. Tooltip
|
||||||
|
// 55. Top Bar
|
||||||
|
// 56. Xy Grid
|
||||||
|
|
||||||
|
@import 'util/util';
|
||||||
|
|
||||||
|
// 1. Global
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$global-font-size: 100%;
|
||||||
|
$global-width: rem-calc(1200);
|
||||||
|
$global-lineheight: 1.5;
|
||||||
|
$foundation-palette: (
|
||||||
|
primary: #2D6699,
|
||||||
|
secondary: #A6ADB4,
|
||||||
|
success: #3adb76,
|
||||||
|
warning: #ffae00,
|
||||||
|
alert: #cc4b37,
|
||||||
|
);
|
||||||
|
$light-gray: #e6e6e6;
|
||||||
|
$medium-gray: #cacaca;
|
||||||
|
$dark-gray: #8a8a8a;
|
||||||
|
$black: #0a0a0a;
|
||||||
|
$white: #fefefe;
|
||||||
|
$body-background: #F8F8F8;
|
||||||
|
$body-font-color: $black;
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: myRoboto;
|
||||||
|
src: url("/assets/fonts/RobotoMono-Light.ttf");
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: BalooBhaina;
|
||||||
|
src: url("/assets/fonts/BalooBhaina2-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: DancingScript;
|
||||||
|
src: url("/assets/fonts/DancingScript.ttf");
|
||||||
|
}
|
||||||
|
// # $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;'Helvetica Neue', Helvetica,
|
||||||
|
$body-font-family: 'Helvetica Neue', Helvetica;
|
||||||
|
|
||||||
|
$body-antialiased: true;
|
||||||
|
$global-margin: 1rem;
|
||||||
|
$global-padding: 1rem;
|
||||||
|
$global-position: 1rem;
|
||||||
|
$global-weight-normal: normal;
|
||||||
|
$global-weight-bold: bold;
|
||||||
|
$global-radius: 0;
|
||||||
|
$global-menu-padding: 0.7rem 1rem;
|
||||||
|
$global-menu-nested-margin: 1rem;
|
||||||
|
$global-text-direction: ltr;
|
||||||
|
$global-flexbox: true;
|
||||||
|
$global-prototype-breakpoints: false;
|
||||||
|
$global-button-cursor: auto;
|
||||||
|
$global-color-pick-contrast-tolerance: 0;
|
||||||
|
$print-transparent-backgrounds: true;
|
||||||
|
$print-hrefs: true;
|
||||||
|
|
||||||
|
@include add-foundation-colors;
|
||||||
|
|
||||||
|
// 2. Breakpoints
|
||||||
|
// --------------
|
||||||
|
|
||||||
|
$breakpoints: (
|
||||||
|
small: 0,
|
||||||
|
medium: 640px,
|
||||||
|
large: 1024px,
|
||||||
|
xlarge: 1200px,
|
||||||
|
xxlarge: 1440px,
|
||||||
|
);
|
||||||
|
$breakpoints-hidpi: (
|
||||||
|
hidpi-1: 1,
|
||||||
|
hidpi-1-5: 1.5,
|
||||||
|
hidpi-2: 2,
|
||||||
|
retina: 2,
|
||||||
|
hidpi-3: 3
|
||||||
|
);
|
||||||
|
$print-breakpoint: large;
|
||||||
|
$breakpoint-classes: (small medium large);
|
||||||
|
|
||||||
|
// 3. The Grid
|
||||||
|
// -----------
|
||||||
|
|
||||||
|
$grid-row-width: $global-width;
|
||||||
|
$grid-column-count: 12;
|
||||||
|
$grid-column-gutter: (
|
||||||
|
small: 20px,
|
||||||
|
medium: 30px,
|
||||||
|
);
|
||||||
|
$grid-column-align-edge: true;
|
||||||
|
$grid-column-alias: 'columns';
|
||||||
|
$block-grid-max: 8;
|
||||||
|
|
||||||
|
// 4. Base Typography
|
||||||
|
// ------------------
|
||||||
|
|
||||||
|
$header-font-family: $body-font-family;
|
||||||
|
$header-font-weight: $global-weight-normal;
|
||||||
|
$header-font-style: normal;
|
||||||
|
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
||||||
|
$header-color: inherit;
|
||||||
|
$header-lineheight: 1.4;
|
||||||
|
$header-margin-bottom: 0.5rem;
|
||||||
|
$header-styles: (
|
||||||
|
small: (
|
||||||
|
'h1': ('font-size': 24),
|
||||||
|
'h2': ('font-size': 20),
|
||||||
|
'h3': ('font-size': 19),
|
||||||
|
'h4': ('font-size': 18),
|
||||||
|
'h5': ('font-size': 17),
|
||||||
|
'h6': ('font-size': 16),
|
||||||
|
),
|
||||||
|
medium: (
|
||||||
|
'h1': ('font-size': 48),
|
||||||
|
'h2': ('font-size': 40),
|
||||||
|
'h3': ('font-size': 31),
|
||||||
|
'h4': ('font-size': 25),
|
||||||
|
'h5': ('font-size': 20),
|
||||||
|
'h6': ('font-size': 16),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
$header-text-rendering: optimizeLegibility;
|
||||||
|
$small-font-size: 80%;
|
||||||
|
$header-small-font-color: $medium-gray;
|
||||||
|
$paragraph-lineheight: 1.6;
|
||||||
|
$paragraph-margin-bottom: 1rem;
|
||||||
|
$paragraph-text-rendering: optimizeLegibility;
|
||||||
|
$enable-code-inline: true;
|
||||||
|
$anchor-color: $primary-color;
|
||||||
|
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
|
||||||
|
$anchor-text-decoration: none;
|
||||||
|
$anchor-text-decoration-hover: none;
|
||||||
|
$hr-width: $global-width;
|
||||||
|
$hr-border: 1px solid $medium-gray;
|
||||||
|
$hr-margin: rem-calc(20) auto;
|
||||||
|
$list-lineheight: $paragraph-lineheight;
|
||||||
|
$list-margin-bottom: $paragraph-margin-bottom;
|
||||||
|
$list-style-type: disc;
|
||||||
|
$list-style-position: outside;
|
||||||
|
$list-side-margin: 1.25rem;
|
||||||
|
$list-nested-side-margin: 1.25rem;
|
||||||
|
$defnlist-margin-bottom: 1rem;
|
||||||
|
$defnlist-term-weight: $global-weight-bold;
|
||||||
|
$defnlist-term-margin-bottom: 0.3rem;
|
||||||
|
$blockquote-color: $dark-gray;
|
||||||
|
$blockquote-padding: rem-calc(9 20 0 19);
|
||||||
|
$blockquote-border: 1px solid $medium-gray;
|
||||||
|
$enable-cite-block: true;
|
||||||
|
$keystroke-font: $font-family-monospace;
|
||||||
|
$keystroke-color: $black;
|
||||||
|
$keystroke-background: $light-gray;
|
||||||
|
$keystroke-padding: rem-calc(2 4 0);
|
||||||
|
$keystroke-radius: $global-radius;
|
||||||
|
$abbr-underline: 1px dotted $black;
|
||||||
|
|
||||||
|
// 5. Typography Helpers
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
$lead-font-size: $global-font-size * 1.25;
|
||||||
|
$lead-lineheight: 1.6;
|
||||||
|
$subheader-lineheight: 1.4;
|
||||||
|
$subheader-color: $dark-gray;
|
||||||
|
$subheader-font-weight: $global-weight-normal;
|
||||||
|
$subheader-margin-top: 0.2rem;
|
||||||
|
$subheader-margin-bottom: 0.5rem;
|
||||||
|
$stat-font-size: 2.5rem;
|
||||||
|
$cite-color: $dark-gray;
|
||||||
|
$cite-font-size: rem-calc(13);
|
||||||
|
$cite-pseudo-content: '\2014 \0020';
|
||||||
|
$code-color: $black;
|
||||||
|
$code-font-family: $font-family-monospace;
|
||||||
|
$code-font-weight: $global-weight-normal;
|
||||||
|
$code-background: $light-gray;
|
||||||
|
$code-border: 1px solid $medium-gray;
|
||||||
|
$code-padding: rem-calc(2 5 1);
|
||||||
|
$code-block-padding: 1rem;
|
||||||
|
$code-block-margin-bottom: 1.5rem;
|
||||||
|
|
||||||
|
// 6. Abide
|
||||||
|
// --------
|
||||||
|
|
||||||
|
$abide-inputs: true;
|
||||||
|
$abide-labels: true;
|
||||||
|
$input-background-invalid: get-color(alert);
|
||||||
|
$form-label-color-invalid: get-color(alert);
|
||||||
|
$input-error-color: get-color(alert);
|
||||||
|
$input-error-font-size: rem-calc(12);
|
||||||
|
$input-error-font-weight: $global-weight-bold;
|
||||||
|
|
||||||
|
// 7. Accordion
|
||||||
|
// ------------
|
||||||
|
|
||||||
|
$accordion-background: $white;
|
||||||
|
$accordion-plusminus: true;
|
||||||
|
$accordion-plus-content: '\002B';
|
||||||
|
$accordion-minus-content: '\2013';
|
||||||
|
$accordion-title-font-size: rem-calc(12);
|
||||||
|
$accordion-item-color: $primary-color;
|
||||||
|
$accordion-item-background-hover: $light-gray;
|
||||||
|
$accordion-item-padding: 1.25rem 1rem;
|
||||||
|
$accordion-content-background: $white;
|
||||||
|
$accordion-content-border: 1px solid $light-gray;
|
||||||
|
$accordion-content-color: $body-font-color;
|
||||||
|
$accordion-content-padding: 1rem;
|
||||||
|
|
||||||
|
// 8. Accordion Menu
|
||||||
|
// -----------------
|
||||||
|
|
||||||
|
$accordionmenu-padding: $global-menu-padding;
|
||||||
|
$accordionmenu-nested-margin: $global-menu-nested-margin;
|
||||||
|
$accordionmenu-submenu-padding: $accordionmenu-padding;
|
||||||
|
$accordionmenu-arrows: true;
|
||||||
|
$accordionmenu-arrow-color: $primary-color;
|
||||||
|
$accordionmenu-item-background: null;
|
||||||
|
$accordionmenu-border: null;
|
||||||
|
$accordionmenu-submenu-toggle-background: null;
|
||||||
|
$accordion-submenu-toggle-border: $accordionmenu-border;
|
||||||
|
$accordionmenu-submenu-toggle-width: 40px;
|
||||||
|
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
|
||||||
|
$accordionmenu-arrow-size: 6px;
|
||||||
|
|
||||||
|
// 9. Badge
|
||||||
|
// --------
|
||||||
|
|
||||||
|
$badge-background: $primary-color;
|
||||||
|
$badge-color: $white;
|
||||||
|
$badge-color-alt: $black;
|
||||||
|
$badge-palette: $foundation-palette;
|
||||||
|
$badge-padding: 0.3em;
|
||||||
|
$badge-minwidth: 2.1em;
|
||||||
|
$badge-font-size: 0.6rem;
|
||||||
|
|
||||||
|
// 10. Breadcrumbs
|
||||||
|
// ---------------
|
||||||
|
|
||||||
|
$breadcrumbs-margin: 0 0 $global-margin 0;
|
||||||
|
$breadcrumbs-item-font-size: rem-calc(11);
|
||||||
|
$breadcrumbs-item-color: $primary-color;
|
||||||
|
$breadcrumbs-item-color-current: $black;
|
||||||
|
$breadcrumbs-item-color-disabled: $medium-gray;
|
||||||
|
$breadcrumbs-item-margin: 0.75rem;
|
||||||
|
$breadcrumbs-item-uppercase: true;
|
||||||
|
$breadcrumbs-item-separator: true;
|
||||||
|
$breadcrumbs-item-separator-item: '/';
|
||||||
|
$breadcrumbs-item-separator-item-rtl: '\\';
|
||||||
|
$breadcrumbs-item-separator-color: $medium-gray;
|
||||||
|
|
||||||
|
// 11. Button
|
||||||
|
// ----------
|
||||||
|
|
||||||
|
$button-font-family: inherit;
|
||||||
|
$button-font-weight: null;
|
||||||
|
$button-padding: 0.85em 1em;
|
||||||
|
$button-margin: 0 0 $global-margin 0;
|
||||||
|
$button-fill: solid;
|
||||||
|
$button-background: $primary-color;
|
||||||
|
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
||||||
|
$button-color: $white;
|
||||||
|
$button-color-alt: $black;
|
||||||
|
$button-radius: $global-radius;
|
||||||
|
$button-border: 1px solid transparent;
|
||||||
|
$button-hollow-border-width: 1px;
|
||||||
|
$button-sizes: (
|
||||||
|
tiny: 0.6rem,
|
||||||
|
small: 0.75rem,
|
||||||
|
default: 0.9rem,
|
||||||
|
large: 1.25rem,
|
||||||
|
);
|
||||||
|
$button-palette: $foundation-palette;
|
||||||
|
$button-opacity-disabled: 0.25;
|
||||||
|
$button-background-hover-lightness: -20%;
|
||||||
|
$button-hollow-hover-lightness: -50%;
|
||||||
|
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
|
||||||
|
$button-responsive-expanded: false;
|
||||||
|
|
||||||
|
// 12. Button Group
|
||||||
|
// ----------------
|
||||||
|
|
||||||
|
$buttongroup-margin: 1rem;
|
||||||
|
$buttongroup-spacing: 1px;
|
||||||
|
$buttongroup-child-selector: '.button';
|
||||||
|
$buttongroup-expand-max: 6;
|
||||||
|
$buttongroup-radius-on-each: true;
|
||||||
|
|
||||||
|
// 13. Callout
|
||||||
|
// -----------
|
||||||
|
|
||||||
|
$callout-background: $white;
|
||||||
|
$callout-background-fade: 85%;
|
||||||
|
$callout-border: 1px solid rgba($black, 0.25);
|
||||||
|
$callout-margin: 0 0 1rem 0;
|
||||||
|
$callout-sizes: (
|
||||||
|
small: 0.5rem,
|
||||||
|
default: 1rem,
|
||||||
|
large: 3rem,
|
||||||
|
);
|
||||||
|
$callout-font-color: $body-font-color;
|
||||||
|
$callout-font-color-alt: $body-background;
|
||||||
|
$callout-radius: $global-radius;
|
||||||
|
$callout-link-tint: 30%;
|
||||||
|
|
||||||
|
// 14. Card
|
||||||
|
// --------
|
||||||
|
|
||||||
|
$card-background: $white;
|
||||||
|
$card-font-color: $body-font-color;
|
||||||
|
$card-divider-background: $light-gray;
|
||||||
|
$card-border: 1px solid $light-gray;
|
||||||
|
$card-shadow: none;
|
||||||
|
$card-border-radius: $global-radius;
|
||||||
|
$card-padding: $global-padding;
|
||||||
|
$card-margin-bottom: $global-margin;
|
||||||
|
|
||||||
|
// 15. Close Button
|
||||||
|
// ----------------
|
||||||
|
|
||||||
|
$closebutton-position: right top;
|
||||||
|
$closebutton-z-index: 10;
|
||||||
|
$closebutton-default-size: medium;
|
||||||
|
$closebutton-offset-horizontal: (
|
||||||
|
small: 0.66rem,
|
||||||
|
medium: 1rem,
|
||||||
|
);
|
||||||
|
$closebutton-offset-vertical: (
|
||||||
|
small: 0.33em,
|
||||||
|
medium: 0.5rem,
|
||||||
|
);
|
||||||
|
$closebutton-size: (
|
||||||
|
small: 1.5em,
|
||||||
|
medium: 2em,
|
||||||
|
);
|
||||||
|
$closebutton-lineheight: 1;
|
||||||
|
$closebutton-color: $dark-gray;
|
||||||
|
$closebutton-color-hover: $black;
|
||||||
|
|
||||||
|
// 16. Drilldown
|
||||||
|
// -------------
|
||||||
|
|
||||||
|
$drilldown-transition: transform 0.15s linear;
|
||||||
|
$drilldown-arrows: true;
|
||||||
|
$drilldown-padding: $global-menu-padding;
|
||||||
|
$drilldown-nested-margin: 0;
|
||||||
|
$drilldown-background: $white;
|
||||||
|
$drilldown-submenu-padding: $drilldown-padding;
|
||||||
|
$drilldown-submenu-background: $white;
|
||||||
|
$drilldown-arrow-color: $primary-color;
|
||||||
|
$drilldown-arrow-size: 6px;
|
||||||
|
|
||||||
|
// 17. Dropdown
|
||||||
|
// ------------
|
||||||
|
|
||||||
|
$dropdown-padding: 1rem;
|
||||||
|
$dropdown-background: $body-background;
|
||||||
|
$dropdown-border: 1px solid $medium-gray;
|
||||||
|
$dropdown-font-size: 1rem;
|
||||||
|
$dropdown-width: 300px;
|
||||||
|
$dropdown-radius: $global-radius;
|
||||||
|
$dropdown-sizes: (
|
||||||
|
tiny: 100px,
|
||||||
|
small: 200px,
|
||||||
|
large: 400px,
|
||||||
|
);
|
||||||
|
|
||||||
|
// 18. Dropdown Menu
|
||||||
|
// -----------------
|
||||||
|
|
||||||
|
$dropdownmenu-arrows: true;
|
||||||
|
$dropdownmenu-arrow-color: $anchor-color;
|
||||||
|
$dropdownmenu-arrow-size: 6px;
|
||||||
|
$dropdownmenu-arrow-padding: 1.5rem;
|
||||||
|
$dropdownmenu-min-width: 200px;
|
||||||
|
$dropdownmenu-background: null;
|
||||||
|
$dropdownmenu-submenu-background: $white;
|
||||||
|
$dropdownmenu-padding: $global-menu-padding;
|
||||||
|
$dropdownmenu-nested-margin: 0;
|
||||||
|
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
||||||
|
$dropdownmenu-border: 1px solid $medium-gray;
|
||||||
|
$dropdown-menu-item-color-active: get-color(primary);
|
||||||
|
$dropdown-menu-item-background-active: transparent;
|
||||||
|
|
||||||
|
// 19. Flexbox Utilities
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
$flex-source-ordering-count: 6;
|
||||||
|
$flexbox-responsive-breakpoints: true;
|
||||||
|
|
||||||
|
// 20. Forms
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$fieldset-border: 1px solid $medium-gray;
|
||||||
|
$fieldset-padding: rem-calc(20);
|
||||||
|
$fieldset-margin: rem-calc(18 0);
|
||||||
|
$legend-padding: rem-calc(0 3);
|
||||||
|
$form-spacing: rem-calc(16);
|
||||||
|
$helptext-color: $black;
|
||||||
|
$helptext-font-size: rem-calc(13);
|
||||||
|
$helptext-font-style: italic;
|
||||||
|
$input-prefix-color: $black;
|
||||||
|
$input-prefix-background: $light-gray;
|
||||||
|
$input-prefix-border: 1px solid $medium-gray;
|
||||||
|
$input-prefix-padding: 1rem;
|
||||||
|
$form-label-color: $black;
|
||||||
|
$form-label-font-size: rem-calc(14);
|
||||||
|
$form-label-font-weight: $global-weight-normal;
|
||||||
|
$form-label-line-height: 1.8;
|
||||||
|
$select-background: $white;
|
||||||
|
$select-triangle-color: $dark-gray;
|
||||||
|
$select-radius: $global-radius;
|
||||||
|
$input-color: $black;
|
||||||
|
$input-placeholder-color: $medium-gray;
|
||||||
|
$input-font-family: inherit;
|
||||||
|
$input-font-size: rem-calc(16);
|
||||||
|
$input-font-weight: $global-weight-normal;
|
||||||
|
$input-line-height: $global-lineheight;
|
||||||
|
$input-background: $white;
|
||||||
|
$input-background-focus: $white;
|
||||||
|
$input-background-disabled: $light-gray;
|
||||||
|
$input-border: 1px solid $medium-gray;
|
||||||
|
$input-border-focus: 1px solid $dark-gray;
|
||||||
|
$input-padding: $form-spacing / 2;
|
||||||
|
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
|
||||||
|
$input-shadow-focus: 0 0 5px $medium-gray;
|
||||||
|
$input-cursor-disabled: not-allowed;
|
||||||
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
||||||
|
$input-number-spinners: true;
|
||||||
|
$input-radius: $global-radius;
|
||||||
|
$form-button-radius: $global-radius;
|
||||||
|
|
||||||
|
// 21. Label
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$label-background: $primary-color;
|
||||||
|
$label-color: $white;
|
||||||
|
$label-color-alt: $black;
|
||||||
|
$label-palette: $foundation-palette;
|
||||||
|
$label-font-size: 0.8rem;
|
||||||
|
$label-padding: 0.33333rem 0.5rem;
|
||||||
|
$label-radius: $global-radius;
|
||||||
|
|
||||||
|
// 22. Media Object
|
||||||
|
// ----------------
|
||||||
|
|
||||||
|
$mediaobject-margin-bottom: $global-margin;
|
||||||
|
$mediaobject-section-padding:8rem;// $global-ng * 1.5;
|
||||||
|
$mediaobject-image-width-stacked: 100%;
|
||||||
|
|
||||||
|
// 23. Menu
|
||||||
|
// --------
|
||||||
|
|
||||||
|
$menu-margin: 0;
|
||||||
|
$menu-nested-margin: $global-menu-nested-margin;
|
||||||
|
$menu-items-padding: $global-menu-padding;
|
||||||
|
$menu-simple-margin: 1rem;
|
||||||
|
$menu-item-color-active: $white;
|
||||||
|
$menu-item-color-alt-active: $black;
|
||||||
|
$menu-item-background-active: get-color(primary);
|
||||||
|
$menu-icon-spacing: 0.25rem;
|
||||||
|
$menu-state-back-compat: true;
|
||||||
|
$menu-centered-back-compat: true;
|
||||||
|
$menu-icons-back-compat: true;
|
||||||
|
|
||||||
|
// 24. Meter
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$meter-height: 1rem;
|
||||||
|
$meter-radius: $global-radius;
|
||||||
|
$meter-background: $medium-gray;
|
||||||
|
$meter-fill-good: $success-color;
|
||||||
|
$meter-fill-medium: $warning-color;
|
||||||
|
$meter-fill-bad: $alert-color;
|
||||||
|
|
||||||
|
// 25. Off-canvas
|
||||||
|
// --------------
|
||||||
|
|
||||||
|
$offcanvas-sizes: (
|
||||||
|
small: 250px,
|
||||||
|
);
|
||||||
|
$offcanvas-vertical-sizes: (
|
||||||
|
small: 250px,
|
||||||
|
);
|
||||||
|
$offcanvas-background: $light-gray;
|
||||||
|
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
||||||
|
$offcanvas-inner-shadow-size: 20px;
|
||||||
|
$offcanvas-inner-shadow-color: rgba($black, 0.25);
|
||||||
|
$offcanvas-overlay-zindex: 11;
|
||||||
|
$offcanvas-push-zindex: 12;
|
||||||
|
$offcanvas-overlap-zindex: 13;
|
||||||
|
$offcanvas-reveal-zindex: 12;
|
||||||
|
$offcanvas-transition-length: 0.5s;
|
||||||
|
$offcanvas-transition-timing: ease;
|
||||||
|
$offcanvas-fixed-reveal: true;
|
||||||
|
$offcanvas-exit-background: rgba($white, 0.25);
|
||||||
|
$maincontent-class: 'off-canvas-content';
|
||||||
|
|
||||||
|
// 26. Orbit
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$orbit-bullet-background: $medium-gray;
|
||||||
|
$orbit-bullet-background-active: $dark-gray;
|
||||||
|
$orbit-bullet-diameter: 1.2rem;
|
||||||
|
$orbit-bullet-margin: 0.1rem;
|
||||||
|
$orbit-bullet-margin-top: 0.8rem;
|
||||||
|
$orbit-bullet-margin-bottom: 0.8rem;
|
||||||
|
$orbit-caption-background: rgba($black, 0.5);
|
||||||
|
$orbit-caption-padding: 1rem;
|
||||||
|
$orbit-control-background-hover: rgba($black, 0.5);
|
||||||
|
$orbit-control-padding: 1rem;
|
||||||
|
$orbit-control-zindex: 10;
|
||||||
|
|
||||||
|
// 27. Pagination
|
||||||
|
// --------------
|
||||||
|
|
||||||
|
$pagination-font-size: rem-calc(14);
|
||||||
|
$pagination-margin-bottom: $global-margin;
|
||||||
|
$pagination-item-color: $black;
|
||||||
|
$pagination-item-padding: rem-calc(3 10);
|
||||||
|
$pagination-item-spacing: rem-calc(1);
|
||||||
|
$pagination-radius: $global-radius;
|
||||||
|
$pagination-item-background-hover: $light-gray;
|
||||||
|
$pagination-item-background-current: $primary-color;
|
||||||
|
$pagination-item-color-current: $white;
|
||||||
|
$pagination-item-color-disabled: $medium-gray;
|
||||||
|
$pagination-ellipsis-color: $black;
|
||||||
|
$pagination-mobile-items: false;
|
||||||
|
$pagination-mobile-current-item: false;
|
||||||
|
$pagination-arrows: true;
|
||||||
|
$pagination-arrow-previous: '\00AB';
|
||||||
|
$pagination-arrow-next: '\00BB';
|
||||||
|
|
||||||
|
// 28. Progress Bar
|
||||||
|
// ----------------
|
||||||
|
|
||||||
|
$progress-height: 1rem;
|
||||||
|
$progress-background: $medium-gray;
|
||||||
|
$progress-margin-bottom: $global-margin;
|
||||||
|
$progress-meter-background: $primary-color;
|
||||||
|
$progress-radius: $global-radius;
|
||||||
|
|
||||||
|
// 29. Prototype Arrow
|
||||||
|
// -------------------
|
||||||
|
|
||||||
|
$prototype-arrow-directions: (
|
||||||
|
down,
|
||||||
|
up,
|
||||||
|
right,
|
||||||
|
left
|
||||||
|
);
|
||||||
|
$prototype-arrow-size: 0.4375rem;
|
||||||
|
$prototype-arrow-color: $black;
|
||||||
|
|
||||||
|
// 30. Prototype Border-Box
|
||||||
|
// ------------------------
|
||||||
|
|
||||||
|
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
|
||||||
|
|
||||||
|
// 31. Prototype Border-None
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
|
||||||
|
|
||||||
|
// 32. Prototype Bordered
|
||||||
|
// ----------------------
|
||||||
|
|
||||||
|
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-border-width: rem-calc(1);
|
||||||
|
$prototype-border-type: solid;
|
||||||
|
$prototype-border-color: $medium-gray;
|
||||||
|
|
||||||
|
// 33. Prototype Display
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-display: (
|
||||||
|
inline,
|
||||||
|
inline-block,
|
||||||
|
block,
|
||||||
|
table,
|
||||||
|
table-cell
|
||||||
|
);
|
||||||
|
|
||||||
|
// 34. Prototype Font-Styling
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
$prototype-font-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-wide-letter-spacing: rem-calc(4);
|
||||||
|
$prototype-font-normal: $global-weight-normal;
|
||||||
|
$prototype-font-bold: $global-weight-bold;
|
||||||
|
|
||||||
|
// 35. Prototype List-Style-Type
|
||||||
|
// -----------------------------
|
||||||
|
|
||||||
|
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-style-type-unordered: (
|
||||||
|
disc,
|
||||||
|
circle,
|
||||||
|
square
|
||||||
|
);
|
||||||
|
$prototype-style-type-ordered: (
|
||||||
|
decimal,
|
||||||
|
lower-alpha,
|
||||||
|
lower-latin,
|
||||||
|
lower-roman,
|
||||||
|
upper-alpha,
|
||||||
|
upper-latin,
|
||||||
|
upper-roman
|
||||||
|
);
|
||||||
|
|
||||||
|
// 36. Prototype Overflow
|
||||||
|
// ----------------------
|
||||||
|
|
||||||
|
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-overflow: (
|
||||||
|
visible,
|
||||||
|
hidden,
|
||||||
|
scroll
|
||||||
|
);
|
||||||
|
|
||||||
|
// 37. Prototype Position
|
||||||
|
// ----------------------
|
||||||
|
|
||||||
|
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-position: (
|
||||||
|
static,
|
||||||
|
relative,
|
||||||
|
absolute,
|
||||||
|
fixed
|
||||||
|
);
|
||||||
|
$prototype-position-z-index: 975;
|
||||||
|
|
||||||
|
// 38. Prototype Rounded
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-border-radius: rem-calc(3);
|
||||||
|
|
||||||
|
// 39. Prototype Separator
|
||||||
|
// -----------------------
|
||||||
|
|
||||||
|
$prototype-separator-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-separator-align: center;
|
||||||
|
$prototype-separator-height: rem-calc(2);
|
||||||
|
$prototype-separator-width: 3rem;
|
||||||
|
$prototype-separator-background: $primary-color;
|
||||||
|
$prototype-separator-margin-top: $global-margin;
|
||||||
|
|
||||||
|
// 40. Prototype Shadow
|
||||||
|
// --------------------
|
||||||
|
|
||||||
|
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
|
||||||
|
0 2px 10px 0 rgba(0,0,0,.12);
|
||||||
|
|
||||||
|
// 41. Prototype Sizing
|
||||||
|
// --------------------
|
||||||
|
|
||||||
|
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-sizing: (
|
||||||
|
width,
|
||||||
|
height
|
||||||
|
);
|
||||||
|
$prototype-sizes: (
|
||||||
|
25: 25%,
|
||||||
|
50: 50%,
|
||||||
|
75: 75%,
|
||||||
|
100: 100%
|
||||||
|
);
|
||||||
|
|
||||||
|
// 42. Prototype Spacing
|
||||||
|
// ---------------------
|
||||||
|
|
||||||
|
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-spacers-count: 3;
|
||||||
|
|
||||||
|
// 43. Prototype Text-Decoration
|
||||||
|
// -----------------------------
|
||||||
|
|
||||||
|
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-text-decoration: (
|
||||||
|
overline,
|
||||||
|
underline,
|
||||||
|
line-through,
|
||||||
|
);
|
||||||
|
|
||||||
|
// 44. Prototype Text-Transformation
|
||||||
|
// ---------------------------------
|
||||||
|
|
||||||
|
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-text-transformation: (
|
||||||
|
lowercase,
|
||||||
|
uppercase,
|
||||||
|
capitalize
|
||||||
|
);
|
||||||
|
|
||||||
|
// 45. Prototype Text-Utilities
|
||||||
|
// ----------------------------
|
||||||
|
|
||||||
|
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
|
||||||
|
$prototype-text-overflow: ellipsis;
|
||||||
|
|
||||||
|
// 46. Responsive Embed
|
||||||
|
// --------------------
|
||||||
|
|
||||||
|
$responsive-embed-margin-bottom: rem-calc(16);
|
||||||
|
$responsive-embed-ratios: (
|
||||||
|
default: 4 by 3,
|
||||||
|
widescreen: 16 by 9,
|
||||||
|
);
|
||||||
|
|
||||||
|
// 47. Reveal
|
||||||
|
// ----------
|
||||||
|
|
||||||
|
$reveal-background: $white;
|
||||||
|
$reveal-width: 600px;
|
||||||
|
$reveal-max-width: $global-width;
|
||||||
|
$reveal-padding: $global-padding;
|
||||||
|
$reveal-border: 1px solid $medium-gray;
|
||||||
|
$reveal-radius: $global-radius;
|
||||||
|
$reveal-zindex: 1005;
|
||||||
|
$reveal-overlay-background: rgba($black, 0.45);
|
||||||
|
|
||||||
|
// 48. Slider
|
||||||
|
// ----------
|
||||||
|
|
||||||
|
$slider-width-vertical: 0.5rem;
|
||||||
|
$slider-transition: all 0.2s ease-in-out;
|
||||||
|
$slider-height: 0.5rem;
|
||||||
|
$slider-background: $light-gray;
|
||||||
|
$slider-fill-background: $medium-gray;
|
||||||
|
$slider-handle-height: 1.4rem;
|
||||||
|
$slider-handle-width: 1.4rem;
|
||||||
|
$slider-handle-background: $primary-color;
|
||||||
|
$slider-opacity-disabled: 0.25;
|
||||||
|
$slider-radius: $global-radius;
|
||||||
|
|
||||||
|
// 49. Switch
|
||||||
|
// ----------
|
||||||
|
|
||||||
|
$switch-background: $medium-gray;
|
||||||
|
$switch-background-active: $primary-color;
|
||||||
|
$switch-height: 2rem;
|
||||||
|
$switch-height-tiny: 1.5rem;
|
||||||
|
$switch-height-small: 1.75rem;
|
||||||
|
$switch-height-large: 2.5rem;
|
||||||
|
$switch-radius: $global-radius;
|
||||||
|
$switch-margin: $global-margin;
|
||||||
|
$switch-paddle-background: $white;
|
||||||
|
$switch-paddle-offset: 0.25rem;
|
||||||
|
$switch-paddle-radius: $global-radius;
|
||||||
|
$switch-paddle-transition: all 0.25s ease-out;
|
||||||
|
$switch-opacity-disabled: .5;
|
||||||
|
$switch-cursor-disabled: not-allowed;
|
||||||
|
|
||||||
|
// 50. Table
|
||||||
|
// ---------
|
||||||
|
|
||||||
|
$table-background: $white;
|
||||||
|
$table-color-scale: 5%;
|
||||||
|
$table-border: 1px solid smart-scale($table-background, $table-color-scale);
|
||||||
|
$table-padding: rem-calc(8 10 10);
|
||||||
|
$table-hover-scale: 2%;
|
||||||
|
$table-row-hover: darken($table-background, $table-hover-scale);
|
||||||
|
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
|
||||||
|
$table-is-striped: true;
|
||||||
|
$table-striped-background: smart-scale($table-background, $table-color-scale);
|
||||||
|
$table-stripe: even;
|
||||||
|
$table-head-background: smart-scale($table-background, $table-color-scale / 2);
|
||||||
|
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
|
||||||
|
$table-foot-background: smart-scale($table-background, $table-color-scale);
|
||||||
|
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
|
||||||
|
$table-head-font-color: $body-font-color;
|
||||||
|
$table-foot-font-color: $body-font-color;
|
||||||
|
$show-header-for-stacked: false;
|
||||||
|
$table-stack-breakpoint: medium;
|
||||||
|
|
||||||
|
// 51. Tabs
|
||||||
|
// --------
|
||||||
|
|
||||||
|
$tab-margin: 0;
|
||||||
|
$tab-background: $white;
|
||||||
|
$tab-color: $primary-color;
|
||||||
|
$tab-background-active: $light-gray;
|
||||||
|
$tab-active-color: $primary-color;
|
||||||
|
$tab-item-font-size: rem-calc(12);
|
||||||
|
$tab-item-background-hover: $white;
|
||||||
|
$tab-item-padding: 1.25rem 1.5rem;
|
||||||
|
$tab-content-background: $white;
|
||||||
|
$tab-content-border: $light-gray;
|
||||||
|
$tab-content-color: $body-font-color;
|
||||||
|
$tab-content-padding: 1rem;
|
||||||
|
|
||||||
|
// 52. Thumbnail
|
||||||
|
// -------------
|
||||||
|
|
||||||
|
$thumbnail-border: 4px solid $white;
|
||||||
|
$thumbnail-margin-bottom: $global-margin;
|
||||||
|
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
|
||||||
|
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
||||||
|
$thumbnail-transition: box-shadow 200ms ease-out;
|
||||||
|
$thumbnail-radius: $global-radius;
|
||||||
|
|
||||||
|
// 53. Title Bar
|
||||||
|
// -------------
|
||||||
|
|
||||||
|
$titlebar-background: $black;
|
||||||
|
$titlebar-color: $white;
|
||||||
|
$titlebar-padding: 0.5rem;
|
||||||
|
$titlebar-text-font-weight: bold;
|
||||||
|
$titlebar-icon-color: $white;
|
||||||
|
$titlebar-icon-color-hover: $medium-gray;
|
||||||
|
$titlebar-icon-spacing: 0.25rem;
|
||||||
|
|
||||||
|
// 54. Tooltip
|
||||||
|
// -----------
|
||||||
|
|
||||||
|
$has-tip-cursor: help;
|
||||||
|
$has-tip-font-weight: $global-weight-bold;
|
||||||
|
$has-tip-border-bottom: dotted 1px $dark-gray;
|
||||||
|
$tooltip-background-color: $black;
|
||||||
|
$tooltip-color: $white;
|
||||||
|
$tooltip-padding: 0.75rem;
|
||||||
|
$tooltip-max-width: 10rem;
|
||||||
|
$tooltip-font-size: $small-font-size;
|
||||||
|
$tooltip-pip-width: 0.75rem;
|
||||||
|
$tooltip-pip-height: $tooltip-pip-width * 0.866;
|
||||||
|
$tooltip-radius: $global-radius;
|
||||||
|
|
||||||
|
// 55. Top Bar
|
||||||
|
// -----------
|
||||||
|
|
||||||
|
$topbar-padding: 0.3rem;
|
||||||
|
$topbar-background: $light-gray;
|
||||||
|
$topbar-submenu-background: $topbar-background;
|
||||||
|
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
|
||||||
|
$topbar-input-width: 200px;
|
||||||
|
$topbar-unstack-breakpoint: medium;
|
||||||
|
|
||||||
|
// 56. Xy Grid
|
||||||
|
// -----------
|
||||||
|
|
||||||
|
$xy-grid: true;
|
||||||
|
$grid-container: $global-width;
|
||||||
|
$grid-columns: 12;
|
||||||
|
$grid-margin-gutters: (
|
||||||
|
small: 20px,
|
||||||
|
medium: 30px
|
||||||
|
);
|
||||||
|
$grid-padding-gutters: $grid-margin-gutters;
|
||||||
|
$grid-container-padding: $grid-padding-gutters;
|
||||||
|
$grid-container-max: $global-width;
|
||||||
|
$xy-block-grid-max: 8;
|
||||||
|
|
||||||
|
|
||||||
|
$large-article-header-bg-color: $dark-gray;
|
||||||
|
$large-article-header-color:$white;
|
||||||
|
$large-article-header-bg: "";
|
||||||
|
|
||||||
|
$large-article-header-height: rem-calc(400);
|
||||||
|
$radius:5px;
|
||||||
|
|
||||||
|
.large-article-header {
|
||||||
|
background-blend-mode: color-burn;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
div.top-bar {
|
||||||
|
border-bottom: $primary-color thin solid;
|
||||||
|
}
|
||||||
96
myproject/src/assets/scss/app.scss
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
@charset 'utf-8';
|
||||||
|
|
||||||
|
@import 'settings';
|
||||||
|
@import 'foundation';
|
||||||
|
@import 'motion-ui';
|
||||||
|
|
||||||
|
// Global styles
|
||||||
|
@include foundation-global-styles;
|
||||||
|
@include foundation-forms;
|
||||||
|
@include foundation-typography;
|
||||||
|
|
||||||
|
// Grids (choose one)
|
||||||
|
@include foundation-xy-grid-classes;
|
||||||
|
// @include foundation-grid;
|
||||||
|
// @include foundation-flex-grid;
|
||||||
|
|
||||||
|
// Generic components
|
||||||
|
@include foundation-button;
|
||||||
|
@include foundation-button-group;
|
||||||
|
@include foundation-close-button;
|
||||||
|
@include foundation-label;
|
||||||
|
@include foundation-progress-bar;
|
||||||
|
@include foundation-slider;
|
||||||
|
@include foundation-switch;
|
||||||
|
@include foundation-table;
|
||||||
|
// Basic components
|
||||||
|
@include foundation-badge;
|
||||||
|
@include foundation-breadcrumbs;
|
||||||
|
@include foundation-callout;
|
||||||
|
@include foundation-card;
|
||||||
|
@include foundation-dropdown;
|
||||||
|
@include foundation-pagination;
|
||||||
|
@include foundation-tooltip;
|
||||||
|
|
||||||
|
// Containers
|
||||||
|
@include foundation-accordion;
|
||||||
|
@include foundation-media-object;
|
||||||
|
@include foundation-orbit;
|
||||||
|
@include foundation-responsive-embed;
|
||||||
|
@include foundation-tabs;
|
||||||
|
@include foundation-thumbnail;
|
||||||
|
// Menu-based containers
|
||||||
|
@include foundation-menu;
|
||||||
|
@include foundation-menu-icon;
|
||||||
|
@include foundation-accordion-menu;
|
||||||
|
@include foundation-drilldown-menu;
|
||||||
|
@include foundation-dropdown-menu;
|
||||||
|
|
||||||
|
// Layout components
|
||||||
|
@include foundation-off-canvas;
|
||||||
|
@include foundation-reveal;
|
||||||
|
@include foundation-sticky;
|
||||||
|
@include foundation-title-bar;
|
||||||
|
@include foundation-top-bar;
|
||||||
|
|
||||||
|
// Helpers
|
||||||
|
@include foundation-float-classes;
|
||||||
|
@include foundation-flex-classes;
|
||||||
|
@include foundation-visibility-classes;
|
||||||
|
@include foundation-prototype-classes;
|
||||||
|
|
||||||
|
// Motion UI
|
||||||
|
@include motion-ui-transitions;
|
||||||
|
@include motion-ui-animations;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@import 'global/_style.scss';
|
||||||
|
@import 'global/_typography.scss';
|
||||||
|
@import 'global/_responsive-news-hero.scss';
|
||||||
|
|
||||||
|
@import 'components/building-blocks/news-card';
|
||||||
|
@import 'components/building-blocks/responsive-hidden-nav';
|
||||||
|
@import 'components/building-blocks/topbar-responsive';
|
||||||
|
@import 'components/building-blocks/comment-section';
|
||||||
|
@import 'components/building-blocks/about-the-author';
|
||||||
|
@import 'components/building-blocks/wide-article-link';
|
||||||
|
@import 'components/building-blocks/large-article-header';
|
||||||
|
@import 'components/building-blocks/simple-article-header';
|
||||||
|
@import 'components/building-blocks/blockquote';
|
||||||
|
@import 'components/building-blocks/flexible-article-images';
|
||||||
|
@import 'components/building-blocks/featured-article-side-links';
|
||||||
|
@import 'components/building-blocks/featured-blog-posts-panel';
|
||||||
|
@import 'components/building-blocks/sticky-social-bar';
|
||||||
|
@import 'components/building-blocks/ecommerce-footer';
|
||||||
|
@import 'components/building-blocks/pagination-circular';
|
||||||
|
@import 'components/building-blocks/pagination-pointed';
|
||||||
|
@import 'components/building-blocks/tag-cloud';
|
||||||
|
@import 'components/building-blocks/social-buttons';
|
||||||
|
@import 'components/building-blocks/polls';
|
||||||
|
@import 'components/building-blocks/news-image-gallery';
|
||||||
|
@import 'components/building-blocks/quote-inline';
|
||||||
|
@import 'components/building-blocks/neat-article-container';
|
||||||
|
|
||||||
|
@import 'components/building-blocks/article-row-section';
|
||||||
|
@import 'components/building-blocks/responsive-hero-section';
|
||||||
0
myproject/src/assets/scss/components/.gitkeep
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$about-the-author-text-transform: uppercase;
|
||||||
|
$about-the-author-separator-width: 5rem;
|
||||||
|
$about-the-author-separator-thickness: 0.125rem;
|
||||||
|
|
||||||
|
.about-the-author {
|
||||||
|
background-color: $white;
|
||||||
|
padding: 1rem;
|
||||||
|
border: 1px solid $medium-gray;
|
||||||
|
|
||||||
|
.separator-left {
|
||||||
|
text-align: left;
|
||||||
|
@include clearfix;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
position: relative;
|
||||||
|
width: $about-the-author-separator-width;
|
||||||
|
border-bottom: $about-the-author-separator-thickness solid $primary-color;
|
||||||
|
margin: 0.3rem auto 0;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.author-title {
|
||||||
|
text-transform: $about-the-author-text-transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.author-social {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 0.7rem;
|
||||||
|
margin-bottom: 0.7rem;
|
||||||
|
|
||||||
|
.fa-stack {
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
color: lighten($social-brand-facebook, 10%);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $social-brand-facebook;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.twitter {
|
||||||
|
color: lighten($social-brand-twitter, 10%);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $social-brand-twitter;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.linkedin {
|
||||||
|
color: lighten($social-brand-linkedin, 10%);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $social-brand-linkedin;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.author-image {
|
||||||
|
border: 1px solid $medium-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
.article-row-section {
|
||||||
|
@include flex-grid-row(null, $global-width, 12);
|
||||||
|
justify-content: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-section-inner {
|
||||||
|
@include flex-grid-column(12);
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
@include flex-grid-column(10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-section-header {
|
||||||
|
padding: 1.5rem 0;
|
||||||
|
margin: 0;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
border-top: 1px solid $light-gray;
|
||||||
|
padding: 1.5rem 0;
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-img img {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
max-width: none;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-content {
|
||||||
|
padding: 1.5rem 0 0;
|
||||||
|
color: $body-font-color;
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
padding: 0 0 0 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-content-header {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-content-description {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-content-author,
|
||||||
|
.article-row-content-time {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
margin-bottom: 0;
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-reversed {
|
||||||
|
.article-row-content {
|
||||||
|
order: 2;
|
||||||
|
padding: 0 1.5rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-img {
|
||||||
|
order: 1;
|
||||||
|
padding: 0 0 1.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
.article-row-content {
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-row-img {
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
.blockquote-container {
|
||||||
|
&.blockquote-left {
|
||||||
|
float: left;
|
||||||
|
width: 35%;
|
||||||
|
margin-right: $global-margin;
|
||||||
|
|
||||||
|
@include breakpoint (small only) {
|
||||||
|
float: none;
|
||||||
|
margin: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.blockquote-right {
|
||||||
|
float: right;
|
||||||
|
width: 35%;
|
||||||
|
margin-left: $global-margin;
|
||||||
|
}
|
||||||
|
|
||||||
|
.callout {
|
||||||
|
.blockquote-title {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
quotes: "“""”""‘""’ ";
|
||||||
|
border-left: none;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
content: open-quote;
|
||||||
|
color: $dark-gray;
|
||||||
|
font-size: 4em;
|
||||||
|
line-height: 0.1em;
|
||||||
|
vertical-align: -0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
content: close-quote;
|
||||||
|
color: $dark-gray;
|
||||||
|
font-size: 4em;
|
||||||
|
line-height: 0.1em;
|
||||||
|
vertical-align: -0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blockquote-content {
|
||||||
|
display: inline;
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
$comment-form-bg: $light-gray;
|
||||||
|
$comment-section-bg: $white;
|
||||||
|
$comment-section-padding: $global-padding;
|
||||||
|
|
||||||
|
.comment-section-container {
|
||||||
|
background-color: $comment-section-bg;
|
||||||
|
padding: $global-padding;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-section-author {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
.comment-section-name {
|
||||||
|
margin-left: 1rem;
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-section-box {
|
||||||
|
background-color: $comment-form-bg;
|
||||||
|
padding: $global-padding;
|
||||||
|
}
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
.ecommerce-footer {
|
||||||
|
background-color: $white;
|
||||||
|
padding: 70px 20px 40px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ecommerce-footer-links {
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
color: $black;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu > li > a {
|
||||||
|
line-height: 1.5em;
|
||||||
|
padding: 0.5rem 0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: lighten($black, 40%);
|
||||||
|
font-size: 1rem;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: $black;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.more-categories {
|
||||||
|
margin-top: 2rem;
|
||||||
|
|
||||||
|
@include breakpoint(small down) {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ecommerce-footer-links-block {
|
||||||
|
|
||||||
|
@include breakpoint(medium down) {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ecommerce-footer-bottom-bar {
|
||||||
|
border-top: 1px solid $light-gray;
|
||||||
|
margin-top: 40px;
|
||||||
|
padding-bottom: 80px;
|
||||||
|
padding-top: 30px;
|
||||||
|
|
||||||
|
.menu > li > a {
|
||||||
|
line-height: 1.2em;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $dark-gray;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: $black;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
@include breakpoint(small down) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-links {
|
||||||
|
margin-top: 0.65rem;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-links li {
|
||||||
|
padding-right: 2rem;
|
||||||
|
|
||||||
|
@include breakpoint(small down) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ecommerce-footer-logomark {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
@include breakpoint(small down) {
|
||||||
|
padding-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-copyright {
|
||||||
|
color: $dark-gray;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.2em;
|
||||||
|
padding-top: 1rem;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
|
@include breakpoint(small down) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
$featured-article-text-color: $white;
|
||||||
|
$featured-article-border: rem-calc(1) solid $white;
|
||||||
|
$featured-article-links-border: rem-calc(1) solid $light-gray;
|
||||||
|
$featured-article-side-links-height: rem-calc(450);
|
||||||
|
|
||||||
|
// big feature
|
||||||
|
$featured-article-big-bg: url('https://placehold.it/600?text=Big+Feature') no-repeat center center;
|
||||||
|
$featured-article-title-size-big: rem-calc(28);
|
||||||
|
$featured-article-author-size-big: rem-calc(18);
|
||||||
|
|
||||||
|
// small feature
|
||||||
|
$featured-article-small-bg: url('https://placehold.it/200?text=Small+Feature') no-repeat center center;
|
||||||
|
$featured-article-title-size-small: rem-calc(16);
|
||||||
|
$featured-article-author-size-small: rem-calc(12);
|
||||||
|
|
||||||
|
.featured-article-big {
|
||||||
|
background: $featured-article-big-bg;
|
||||||
|
background-size: cover;
|
||||||
|
height: $featured-article-side-links-height;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: rem-calc(10);
|
||||||
|
border-right: $featured-article-border;
|
||||||
|
|
||||||
|
.featured-article-text {
|
||||||
|
.featured-article-title {
|
||||||
|
font-size: $featured-article-title-size-big;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: rem-calc(30);
|
||||||
|
.author {
|
||||||
|
font-size: $featured-article-author-size-big;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: $featured-article-text-color;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-small-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: $featured-article-side-links-height;
|
||||||
|
|
||||||
|
:last-child .featured-article-small {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-small {
|
||||||
|
background: $featured-article-small-bg;
|
||||||
|
height: $featured-article-side-links-height / 3;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: rem-calc(10);
|
||||||
|
border-bottom: $featured-article-border;
|
||||||
|
|
||||||
|
:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-text {
|
||||||
|
.featured-article-title {
|
||||||
|
font-size: $featured-article-title-size-small;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: rem-calc(15);
|
||||||
|
max-height: rem-calc(45);
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: $featured-article-text-color;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-links-container {
|
||||||
|
border: $featured-article-links-border;
|
||||||
|
background-color: $white;
|
||||||
|
height: $featured-article-side-links-height;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-links,
|
||||||
|
.featured-article-links-header {
|
||||||
|
padding: rem-calc(10);
|
||||||
|
border-bottom: $featured-article-links-border;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-article-links-header {
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
@@ -0,0 +1,199 @@
|
|||||||
|
/// Defatul bottom margin of the panel
|
||||||
|
/// @type List
|
||||||
|
$panel-margin: rem-calc(20 10);
|
||||||
|
/// Default background color of the panel
|
||||||
|
/// @type Color
|
||||||
|
$panel-container-background-color: $white !default;
|
||||||
|
|
||||||
|
/// Default radius of the panel
|
||||||
|
/// @type List
|
||||||
|
$panel-container-radius: $global-radius !default;
|
||||||
|
|
||||||
|
/// Default bottom border width of the panel's header
|
||||||
|
/// @type Number
|
||||||
|
$panel-header-border-bottom-width: rem-calc(4) !default;
|
||||||
|
|
||||||
|
/// Default bottom border color of the panel's header
|
||||||
|
/// @type Color
|
||||||
|
$panel-header-border-bottom-color: $light-gray !default;
|
||||||
|
|
||||||
|
/// Default font color of the panel's title
|
||||||
|
/// @type Color
|
||||||
|
$panel-header-color: $dark-gray;
|
||||||
|
|
||||||
|
/// Default font size of the panel's title
|
||||||
|
/// @type Number
|
||||||
|
$panel-header-font-size: rem-calc(26) !default;
|
||||||
|
|
||||||
|
/// Default bottom border color of the post
|
||||||
|
/// @type Color
|
||||||
|
$post-item-border-bottom-color: $light-gray !default;
|
||||||
|
|
||||||
|
/// Default bottom border width of the post
|
||||||
|
/// @type Number
|
||||||
|
$post-item-border-bottom-width: rem-calc(1) !default;
|
||||||
|
|
||||||
|
/// Adds styles for post-list's elements in small screen and it also could be used for bigger screen in small areas
|
||||||
|
@mixin small-posts-list {
|
||||||
|
.posts-list{
|
||||||
|
.post-title{
|
||||||
|
font-size: rem-calc(18);
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-meta{
|
||||||
|
font-size: rem-calc(12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-summary{
|
||||||
|
font-size: rem-calc(12);
|
||||||
|
}
|
||||||
|
.post-read-more{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.posts-panel{
|
||||||
|
@include grid-col-row();
|
||||||
|
float: none !important;
|
||||||
|
margin: $panel-margin;
|
||||||
|
background-color: $panel-container-background-color;
|
||||||
|
border-radius: $panel-container-radius;
|
||||||
|
box-shadow: rem-calc(0 0 4 0) rgba(0,0,0,.2);
|
||||||
|
|
||||||
|
.panel-header{
|
||||||
|
@include grid-col-row();
|
||||||
|
border-bottom: $panel-header-border-bottom-width solid $panel-header-border-bottom-color;
|
||||||
|
|
||||||
|
.panel-title{
|
||||||
|
margin: 0;
|
||||||
|
padding: rem-calc(15 0);
|
||||||
|
color: $panel-header-color;
|
||||||
|
font-size: $panel-header-font-size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-content{
|
||||||
|
padding: rem-calc(15 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pinned-post, .posts-list{
|
||||||
|
@include grid-col-row($gutters: 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.posts-list{
|
||||||
|
.post-item:not(:last-child){
|
||||||
|
border-bottom: $post-item-border-bottom-width solid $post-item-border-bottom-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-item{
|
||||||
|
@include grid-row();
|
||||||
|
padding: rem-calc(15 0);
|
||||||
|
|
||||||
|
.post-thumbnail{
|
||||||
|
display: block;
|
||||||
|
@include grid-column($columns: 4);
|
||||||
|
|
||||||
|
img{
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-text{
|
||||||
|
@include grid-column($columns: 8);
|
||||||
|
|
||||||
|
p{
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.post-title{
|
||||||
|
font-size: rem-calc(26);
|
||||||
|
}
|
||||||
|
.post-meta{
|
||||||
|
color: $dark-gray;
|
||||||
|
font-size: rem-calc(14);
|
||||||
|
}
|
||||||
|
.meta{
|
||||||
|
display: inline-block;
|
||||||
|
margin-#{$global-right}: rem-calc(15);
|
||||||
|
}
|
||||||
|
.meta-icon, .meta-text{
|
||||||
|
display: inline-block;
|
||||||
|
padding-#{$global-right}: rem-calc(5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-summary{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-read-more{
|
||||||
|
display: block;
|
||||||
|
font-size: rem-calc(14);
|
||||||
|
|
||||||
|
.fa{
|
||||||
|
padding: rem-calc(0 5)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.pinned-post{
|
||||||
|
.post-item{
|
||||||
|
border-bottom: $post-item-border-bottom-width solid $post-item-border-bottom-color;
|
||||||
|
}
|
||||||
|
.post-thumbnail{
|
||||||
|
display: block;
|
||||||
|
@include grid-col-row();
|
||||||
|
img{
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-text{
|
||||||
|
@include grid-col-row();
|
||||||
|
margin-top: rem-calc(15);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(small only){
|
||||||
|
@include small-posts-list;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(medium only){
|
||||||
|
.posts-list{
|
||||||
|
.post-title{
|
||||||
|
font-size: rem-calc(20);
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-meta{
|
||||||
|
font-size: rem-calc(14);
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-summary{
|
||||||
|
font-size: rem-calc(14);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Grid styles
|
||||||
|
&.grid{
|
||||||
|
.pinned-post, .posts-list{
|
||||||
|
@include grid-column($columns: 6, $gutters: 0);
|
||||||
|
|
||||||
|
@include breakpoint(small only){
|
||||||
|
@include grid-col-row($gutters: 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.pinned-post{
|
||||||
|
.post-item{
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include small-posts-list;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
$caption-font-size: .9rem;
|
||||||
|
|
||||||
|
.flexible-article-image-full {
|
||||||
|
.thumbnail {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.caption {
|
||||||
|
font-size: $caption-font-size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexible-article-image-left {
|
||||||
|
float: left;
|
||||||
|
margin: 1rem 1.5rem 0 0;
|
||||||
|
max-width: rem-calc(200);
|
||||||
|
|
||||||
|
.caption {
|
||||||
|
font-size: $caption-font-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint (small only) {
|
||||||
|
float: none;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
width:100%;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexible-article-image-right {
|
||||||
|
float: right;
|
||||||
|
margin: 0 0 1rem 1.5rem;
|
||||||
|
max-width: rem-calc(200);
|
||||||
|
|
||||||
|
.caption {
|
||||||
|
font-size: $caption-font-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint (small only) {
|
||||||
|
float: none;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
width:100%;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
$large-article-header-bg: url('https://unsplash.it/1024/500/?blur') !default;
|
||||||
|
$large-article-header-color: $black !default;
|
||||||
|
$large-article-header-bg-color: $white !default;
|
||||||
|
$large-article-header-height: rem-calc(500) !default;
|
||||||
|
|
||||||
|
.large-article-header {
|
||||||
|
background: $large-article-header-bg $large-article-header-bg-color no-repeat center;
|
||||||
|
background-size: cover;
|
||||||
|
background-color: $large-article-header-bg-color;
|
||||||
|
height: $large-article-header-height;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
height: ($large-article-header-height / 1.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.large-article-header-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
position: absolute;
|
||||||
|
bottom: rem-calc(50);
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
bottom: rem-calc(20);
|
||||||
|
}
|
||||||
|
|
||||||
|
.center-container {
|
||||||
|
width: 50%;
|
||||||
|
margin: 0 auto;
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 rem-calc(20);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-date {
|
||||||
|
color: $large-article-header-color;
|
||||||
|
}
|
||||||
|
.article-title {
|
||||||
|
h1 {
|
||||||
|
line-height: rem-calc(50);
|
||||||
|
color: $large-article-header-color;
|
||||||
|
font-weight: 600;
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
line-height: rem-calc(30);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.article-details {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $large-article-header-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.article-author {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin: $global-margin 0;
|
||||||
|
img {
|
||||||
|
border-radius: rem-calc(50);
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
margin-left: $global-margin;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,145 @@
|
|||||||
|
$social-button-size: 3.125rem;
|
||||||
|
$social-button-border-width: 0.125rem;
|
||||||
|
$social-button-font-size: 1.5625rem;
|
||||||
|
$social-button-line-height: 2em;
|
||||||
|
$social-button-border-radius: 1.6875rem;
|
||||||
|
$social-button-transition: all 0.5s ease;
|
||||||
|
$social-button-margin: 0.75rem;
|
||||||
|
|
||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-google-plus: #dd4b39;
|
||||||
|
|
||||||
|
@mixin social-button($brand-color, $brand-icon) {
|
||||||
|
background: $brand-color;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
font-family: "FontAwesome";
|
||||||
|
content: $brand-icon;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $brand-color;
|
||||||
|
background: $white;
|
||||||
|
border-color: $brand-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.neat-article-container {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
|
||||||
|
.neat-article-header {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
|
||||||
|
.article-header-avatar {
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
|
||||||
|
.header-avatar {
|
||||||
|
width: rem-calc(60);
|
||||||
|
height: rem-calc(60);
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-header-author {
|
||||||
|
flex: 1 0 0;
|
||||||
|
|
||||||
|
.author-name {
|
||||||
|
color: $black;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.author-description,
|
||||||
|
.article-date-read {
|
||||||
|
color: $dark-gray;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 0.85em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.neat-article-title {
|
||||||
|
margin-top: 1rem;
|
||||||
|
|
||||||
|
.article-title {
|
||||||
|
color: $black;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.neat-article-image {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
|
||||||
|
.article-image {
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
@include breakpoint(medium only) {
|
||||||
|
height: 65vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
height: 45vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.neat-article-content {
|
||||||
|
margin-top: 2rem;
|
||||||
|
|
||||||
|
.article-social {
|
||||||
|
.rounded-social-buttons {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.social-button {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
width: $social-button-size;
|
||||||
|
height: $social-button-size;
|
||||||
|
border: $social-button-border-width solid transparent;
|
||||||
|
padding: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
color: $white;
|
||||||
|
font-size: $social-button-font-size;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: $social-button-line-height;
|
||||||
|
border-radius: $social-button-border-radius;
|
||||||
|
transition: $social-button-transition;
|
||||||
|
margin-right: $social-button-margin;
|
||||||
|
margin-bottom: $social-button-margin;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
@include social-button($social-brand-facebook, "\f09a")
|
||||||
|
}
|
||||||
|
|
||||||
|
&.twitter {
|
||||||
|
@include social-button($social-brand-twitter, "\f099")
|
||||||
|
}
|
||||||
|
|
||||||
|
&.google-plus {
|
||||||
|
@include social-button($social-brand-google-plus, "\f0d5")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-content {
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
$news-card-label-background: $primary-color;
|
||||||
|
$news-card-label-background-hover: scale-color($news-card-label-background, $lightness: -15%);
|
||||||
|
|
||||||
|
.news-card-tag {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
|
||||||
|
.label {
|
||||||
|
border-radius: 0.125rem;
|
||||||
|
background-color: $news-card-label-background;
|
||||||
|
color: $white;
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: inherit;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background-color: $news-card-label-background-hover;
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: inherit;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-card {
|
||||||
|
background-color: $white;
|
||||||
|
font-weight: 400;
|
||||||
|
margin-bottom: 1.6rem;
|
||||||
|
border-radius: 0.125rem;
|
||||||
|
box-shadow: 0 1px 3px rgba(0,0,0, 0.12), 0 1px 2px rgba(0,0,0, 0.24);
|
||||||
|
|
||||||
|
.card-section {
|
||||||
|
background-color: inherit;
|
||||||
|
|
||||||
|
.news-card-date {
|
||||||
|
font-size: 1em;
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-card-article {
|
||||||
|
background-color: inherit;
|
||||||
|
|
||||||
|
.news-card-title {
|
||||||
|
line-height: 1.3;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: $dark-gray;
|
||||||
|
transition: color 0.5s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-card-description {
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-card-author {
|
||||||
|
overflow: hidden;
|
||||||
|
padding-bottom: 1.6rem;
|
||||||
|
|
||||||
|
.news-card-author-image {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-right: 0.6em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-card-author-name {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
$social-button-size: 2.5rem;
|
||||||
|
$social-button-border-width: .125rem;
|
||||||
|
$social-button-font-size: 1.25rem;
|
||||||
|
$social-button-line-height: 1.8em;
|
||||||
|
$social-button-border-radius: 1.6875rem;
|
||||||
|
$social-button-transition: 0.5s ease all;
|
||||||
|
$social-button-margin: .25rem;
|
||||||
|
|
||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$social-brand-google-plus: #dd4b39;
|
||||||
|
|
||||||
|
@mixin social-button($brand-color, $brand-icon) {
|
||||||
|
background: $brand-color;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
font-family: "FontAwesome";
|
||||||
|
content: $brand-icon;
|
||||||
|
}
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $brand-color;
|
||||||
|
background: $white;
|
||||||
|
border-color: $brand-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-image-gallery-container {
|
||||||
|
background-color: $white;
|
||||||
|
padding: 2rem 1.5rem 1rem;
|
||||||
|
|
||||||
|
.rounded-social-buttons {
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
.social-button {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
width: $social-button-size;
|
||||||
|
height: $social-button-size;
|
||||||
|
border: $social-button-border-width solid transparent;
|
||||||
|
padding: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
text-align: center;
|
||||||
|
color: $white;
|
||||||
|
font-size: $social-button-font-size;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: $social-button-line-height;
|
||||||
|
border-radius: $social-button-border-radius;
|
||||||
|
transition: $social-button-transition;
|
||||||
|
margin-right: $social-button-margin;
|
||||||
|
margin-bottom: $social-button-margin;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
@include social-button($social-brand-facebook, "\f09a")
|
||||||
|
}
|
||||||
|
&.twitter {
|
||||||
|
@include social-button($social-brand-twitter, "\f099")
|
||||||
|
}
|
||||||
|
&.linkedin {
|
||||||
|
@include social-button($social-brand-linkedin, "\f0e1")
|
||||||
|
}
|
||||||
|
&.google-plus {
|
||||||
|
@include social-button($social-brand-google-plus, "\f0d5")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-image-gallery-title {
|
||||||
|
margin-top: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.read-more {
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
$pagination-circular-size: 18px; // controls font and circle size
|
||||||
|
$pagination-circular-color: $primary-color;
|
||||||
|
$pagination-circular-disabled-color: $medium-gray;
|
||||||
|
$pagination-circular-border-thickness: 1px;
|
||||||
|
|
||||||
|
|
||||||
|
.pagination-circular li.current {
|
||||||
|
border: $pagination-circular-border-thickness solid $pagination-circular-color;
|
||||||
|
border-radius: 5000px;
|
||||||
|
padding: 0.285em 0.8em;
|
||||||
|
font-size: $pagination-circular-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-circular li.disabled {
|
||||||
|
border: $pagination-circular-border-thickness solid $pagination-circular-disabled-color;
|
||||||
|
padding: 0.285em 0.8em;
|
||||||
|
border-radius: 5000px;
|
||||||
|
font-size: $pagination-circular-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-circular a {
|
||||||
|
border-radius: 5000px;
|
||||||
|
padding: 0.285em 0.8em;
|
||||||
|
border: $pagination-circular-border-thickness solid $pagination-circular-color;
|
||||||
|
font-size: $pagination-circular-size;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-circular li:not(.disabled):hover a {
|
||||||
|
background: $pagination-circular-color;
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-circular li a {
|
||||||
|
transition: background 0.15s ease-in, color 0.15s ease-in;
|
||||||
|
}
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
$white: #fff;
|
||||||
|
$pagination-primary-color: #2c3840;
|
||||||
|
$pagination-current-color: dodgerblue;
|
||||||
|
$pagination-radius: 4px;
|
||||||
|
|
||||||
|
.pagination-pointed {
|
||||||
|
.pagination-pointed-button {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 6px 12px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
vertical-align: middle;
|
||||||
|
cursor: pointer;
|
||||||
|
background-image: none;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: $pagination-radius;
|
||||||
|
background-color: $pagination-primary-color;
|
||||||
|
color: $white;
|
||||||
|
outline: 0;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: all 0.2s linear;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: lighten($pagination-primary-color, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.current {
|
||||||
|
@extend .pagination-pointed-button;
|
||||||
|
background: $pagination-current-color;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: darken($pagination-current-color, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-next a {
|
||||||
|
border-radius: $pagination-radius 0 0 $pagination-radius;
|
||||||
|
margin-right: 18px;
|
||||||
|
|
||||||
|
&:hover::after {
|
||||||
|
border-left: 17px solid lighten($pagination-primary-color, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: -18px;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-top: 17px solid transparent;
|
||||||
|
border-bottom: 17px solid transparent;
|
||||||
|
border-left: 17px solid $pagination-primary-color;
|
||||||
|
transition: all 0.2s linear;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination-previous {
|
||||||
|
@extend .pagination-pointed-button;
|
||||||
|
border-radius: 0 $pagination-radius $pagination-radius 0;
|
||||||
|
margin-left: 18px;
|
||||||
|
|
||||||
|
&:hover::after {
|
||||||
|
border-right: 17px solid lighten($pagination-primary-color, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: ""; //removes the arrow
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -18px;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-bottom: 17px solid transparent;
|
||||||
|
border-top: 17px solid transparent;
|
||||||
|
border-right: 17px solid $pagination-primary-color;
|
||||||
|
transition: all 0.2s linear;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
$polls-question-label-color: $primary-color;
|
||||||
|
$polls-submit-button-transform: uppercase;
|
||||||
|
|
||||||
|
.polls {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
.polls-question {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
.polls-question-label {
|
||||||
|
color: $polls-question-label-color;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-right: .25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.polls-submit {
|
||||||
|
margin-top: .3rem;
|
||||||
|
.button {
|
||||||
|
margin-right: .5rem;
|
||||||
|
text-transform: $polls-submit-button-transform;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
$quote-inline-width: rem-calc(350);
|
||||||
|
|
||||||
|
.quote-inline-wrap-article-content {
|
||||||
|
max-width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quote-inline-wrap {
|
||||||
|
float: left;
|
||||||
|
max-width: $quote-inline-width;
|
||||||
|
padding: 0 1rem 1rem 0;
|
||||||
|
|
||||||
|
.quote-inline-marks {
|
||||||
|
font-size: rem-calc(100);
|
||||||
|
color: $dark-gray;
|
||||||
|
line-height: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quote-inline-testimonial {
|
||||||
|
border-radius: 5px;
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.quote-inline-person {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
|
||||||
|
.quote-inline-photo img {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: rem-calc(70);
|
||||||
|
height: rem-calc(70);
|
||||||
|
float: left;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
position: relative;
|
||||||
|
top: 5px;
|
||||||
|
|
||||||
|
&:nth-child(2) {
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(3) {
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 400;
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(medium down) {
|
||||||
|
width: 100%;
|
||||||
|
float: none;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
$hero-height: 60vh;
|
||||||
|
|
||||||
|
|
||||||
|
$hero-height: 60vh;
|
||||||
|
|
||||||
|
.hero-section {
|
||||||
|
background: url('https://static.pexels.com/photos/248064/pexels-photo-248064.jpeg') 50% no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
height: $hero-height;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
.hero-section-text {
|
||||||
|
color: $white;
|
||||||
|
text-shadow: 1px 1px 2px $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,115 @@
|
|||||||
|
// Default colors, Change as per your requirement.
|
||||||
|
$color-1: $primary-color;
|
||||||
|
$color-2: darken($primary-color, 10%);
|
||||||
|
$color-3: darken($primary-color, 20%);
|
||||||
|
|
||||||
|
$responsive-hidden-nav-min-width: 240px;
|
||||||
|
|
||||||
|
/*! CSS for Responsive Hidden Nav */
|
||||||
|
.responsive-hidden-nav-container {
|
||||||
|
min-width: $responsive-hidden-nav-min-width;
|
||||||
|
background: $color-1;
|
||||||
|
padding: .5rem 1rem;
|
||||||
|
height: 80vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.responsive-hidden-nav {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
background-color: $white;
|
||||||
|
position: relative;
|
||||||
|
min-width: $responsive-hidden-nav-min-width;
|
||||||
|
background: $white;
|
||||||
|
|
||||||
|
a {
|
||||||
|
display: block;
|
||||||
|
padding: 1.25rem 2rem;
|
||||||
|
background: $white;
|
||||||
|
font-size: 1.1em;
|
||||||
|
color: $color-1;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $color-3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
position: absolute;
|
||||||
|
height: 100%;
|
||||||
|
right: 0;
|
||||||
|
padding: 0 1rem;
|
||||||
|
border: 0;
|
||||||
|
outline: none;
|
||||||
|
background-color: $color-2;
|
||||||
|
color: $white;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: $color-3;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: attr(count);
|
||||||
|
position: absolute;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
left: -1rem;
|
||||||
|
top: .75rem;
|
||||||
|
text-align: center;
|
||||||
|
background-color: $color-3;
|
||||||
|
color: $white;
|
||||||
|
font-size: .9em;
|
||||||
|
line-height: 1.6;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: .25rem solid $white;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover::after {
|
||||||
|
transform: scale(1.075);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hamburger {
|
||||||
|
@include hamburger(
|
||||||
|
$color: $white,
|
||||||
|
$color-hover: $white
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
.visible-links {
|
||||||
|
display: inline-table;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: table-cell;
|
||||||
|
border-left: 1px solid $color-1;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
font-weight: bold;
|
||||||
|
a {
|
||||||
|
color: $color-1 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden-links {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: block;
|
||||||
|
border-top: .0625rem solid $color-2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
$article-title-case: uppercase;
|
||||||
|
|
||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$social-brand-google-plus: #dd4b39;
|
||||||
|
|
||||||
|
.simple-article-header {
|
||||||
|
background: $white;
|
||||||
|
padding: 1.3rem 2rem .7rem;
|
||||||
|
border: 1px solid $medium-gray;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
.article-date-read {
|
||||||
|
color: $dark-gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-title {
|
||||||
|
text-transform: $article-title-case;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $black;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-author-comments {
|
||||||
|
a.article-comments {
|
||||||
|
color: $dark-gray;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-date-read,
|
||||||
|
.article-title,
|
||||||
|
.article-author-comments,
|
||||||
|
.article-social,
|
||||||
|
.article-post-image,
|
||||||
|
.article-post-content {
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-social {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
|
||||||
|
.social {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
@include button-style($social-brand-facebook, auto, $white);
|
||||||
|
}
|
||||||
|
&.twitter {
|
||||||
|
@include button-style($social-brand-twitter, auto, $white);
|
||||||
|
}
|
||||||
|
&.linkedin {
|
||||||
|
@include button-style($social-brand-linkedin, auto, $white);
|
||||||
|
}
|
||||||
|
&.google-plus {
|
||||||
|
@include button-style($social-brand-google-plus, auto, $white);
|
||||||
|
}
|
||||||
|
|
||||||
|
> .fa {
|
||||||
|
color: $white;
|
||||||
|
|
||||||
|
&.fa-comments-o {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$social-brand-youtube: #bb0000;
|
||||||
|
$social-brand-instagram: #125688;
|
||||||
|
$social-brand-pinterest: #cb2027;
|
||||||
|
$social-brand-google-plus: #dd4b39;
|
||||||
|
$social-brand-github: #000000;
|
||||||
|
$social-brand-tumblr: #32506d;
|
||||||
|
|
||||||
|
.social {
|
||||||
|
margin-right: .25rem;
|
||||||
|
|
||||||
|
&.facebook {
|
||||||
|
@include button-style($social-brand-facebook, auto, $white);
|
||||||
|
}
|
||||||
|
&.twitter {
|
||||||
|
@include button-style($social-brand-twitter, auto, $white);
|
||||||
|
}
|
||||||
|
&.linkedin {
|
||||||
|
@include button-style($social-brand-linkedin, auto, $white);
|
||||||
|
}
|
||||||
|
&.youtube {
|
||||||
|
@include button-style($social-brand-youtube, auto, $white);
|
||||||
|
}
|
||||||
|
&.instagram {
|
||||||
|
@include button-style($social-brand-instagram, auto, $white);
|
||||||
|
}
|
||||||
|
&.pinterest {
|
||||||
|
@include button-style($social-brand-pinterest, auto, $white);
|
||||||
|
}
|
||||||
|
&.google-plus {
|
||||||
|
@include button-style($social-brand-google-plus, auto, $white);
|
||||||
|
}
|
||||||
|
&.github {
|
||||||
|
@include button-style($social-brand-github, auto, $white);
|
||||||
|
}
|
||||||
|
&.tumblr {
|
||||||
|
@include button-style($social-brand-tumblr, auto, $white);
|
||||||
|
}
|
||||||
|
|
||||||
|
> .fa {
|
||||||
|
color: $white;
|
||||||
|
margin-right: .25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,118 @@
|
|||||||
|
$social-bar-position: left; // Change this value to `right` for changing sidebar's position.
|
||||||
|
$social-bar-transformation: rem-calc(140);
|
||||||
|
$social-bar-width: rem-calc(180);
|
||||||
|
$social-bar-background: #333333;
|
||||||
|
$social-icon-color: $white;
|
||||||
|
$social-icon-transition: all 0.3s ease-in-out;
|
||||||
|
$social-icon-font-size: 1.1rem;
|
||||||
|
$social-icon-padding: 0.5rem;
|
||||||
|
|
||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$social-brand-youtube: #bb0000;
|
||||||
|
$social-brand-instagram: #125688;
|
||||||
|
$social-brand-pinterest: #cb2027;
|
||||||
|
|
||||||
|
.sticky-social-bar {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: $social-bar-width;
|
||||||
|
background-color: $social-bar-background;
|
||||||
|
position: fixed;
|
||||||
|
|
||||||
|
@if $social-bar-position == left {
|
||||||
|
left: $social-bar-transformation * -1;
|
||||||
|
}
|
||||||
|
@if $social-bar-position == right {
|
||||||
|
right: $social-bar-transformation * -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-icon {
|
||||||
|
list-style-type: none;
|
||||||
|
color: $social-icon-color;
|
||||||
|
background-color: inherit;
|
||||||
|
margin: 0;
|
||||||
|
transition: $social-icon-transition;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: $social-icon-font-size;
|
||||||
|
padding: 0.25rem 0.25rem 0.5rem;
|
||||||
|
|
||||||
|
&:first-of-type {
|
||||||
|
padding-top: 0.375rem;
|
||||||
|
}
|
||||||
|
&:last-of-type {
|
||||||
|
padding-bottom: 0.625rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
> a {
|
||||||
|
color: inherit;
|
||||||
|
background-color: inherit;
|
||||||
|
|
||||||
|
> .fa {
|
||||||
|
padding: $social-icon-padding;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
|
||||||
|
@if $social-bar-position == left {
|
||||||
|
float: right;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
@if $social-bar-position == right {
|
||||||
|
float: left;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.fa-facebook {
|
||||||
|
background-color: $social-brand-facebook;
|
||||||
|
}
|
||||||
|
&.fa-twitter {
|
||||||
|
background-color: $social-brand-twitter;
|
||||||
|
}
|
||||||
|
&.fa-linkedin {
|
||||||
|
background-color: $social-brand-linkedin;
|
||||||
|
}
|
||||||
|
&.fa-youtube {
|
||||||
|
background-color: $social-brand-youtube;
|
||||||
|
}
|
||||||
|
&.fa-instagram {
|
||||||
|
background-color: $social-brand-instagram;
|
||||||
|
}
|
||||||
|
&.fa-pinterest-p {
|
||||||
|
background-color: $social-brand-pinterest;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .social-icon-text {
|
||||||
|
font-size: 80%;
|
||||||
|
color: $social-icon-color;
|
||||||
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
@if $social-bar-position == left {
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
@if $social-bar-position == right {
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
|
||||||
|
@if $social-bar-position == left {
|
||||||
|
transform:translateX($social-bar-transformation * 1);
|
||||||
|
}
|
||||||
|
@if $social-bar-position == right {
|
||||||
|
transform:translateX($social-bar-transformation * -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
> a {
|
||||||
|
color: inherit;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
$tag-cloud-tag-color: #2c3840;
|
||||||
|
$tag-cloud-type-color: $light-gray;
|
||||||
|
$tag-cloud-separator-color: $medium-gray;
|
||||||
|
$tag-cloud-section-bg: lighten($tag-cloud-tag-color, 35%);
|
||||||
|
$tag-cloud-section-width: 800px;
|
||||||
|
|
||||||
|
.tag-cloud-section {
|
||||||
|
background: $tag-cloud-section-bg;
|
||||||
|
padding: 4rem;
|
||||||
|
max-width: $tag-cloud-section-width;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag-cloud-title {
|
||||||
|
text-align: center;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
|
color: $tag-cloud-type-color;
|
||||||
|
border-bottom: 1px solid $tag-cloud-separator-color;
|
||||||
|
padding: 1rem 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag-cloud {
|
||||||
|
margin: 1rem;
|
||||||
|
text-align: center;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
.tag-cloud-individual-tag {
|
||||||
|
@include label;
|
||||||
|
border-radius: 5000px;
|
||||||
|
background: $tag-cloud-tag-color;
|
||||||
|
display: inline-block;
|
||||||
|
color: $tag-cloud-type-color;
|
||||||
|
margin: 3px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.fa {
|
||||||
|
margin-left: 7px;
|
||||||
|
color: $tag-cloud-type-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: darken($tag-cloud-tag-color, 25%);
|
||||||
|
transition: background-color .2s ease-in;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,106 @@
|
|||||||
|
$topbar-responsive-bg: #2c3840;
|
||||||
|
$topbar-responsive-animation-type: fade-in; // or use slide-down or none
|
||||||
|
|
||||||
|
.topbar-responsive {
|
||||||
|
background: $topbar-responsive-bg;
|
||||||
|
padding: 1rem 1.5rem;
|
||||||
|
|
||||||
|
.topbar-responsive-logo {
|
||||||
|
color: $white;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu {
|
||||||
|
background: $topbar-responsive-bg;
|
||||||
|
|
||||||
|
li:last-of-type {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $white;
|
||||||
|
transition: color 0.15s ease-in;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: lighten($topbar-responsive-bg, 60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 39.9375em) {
|
||||||
|
padding: 0.875rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar-responsive-button {
|
||||||
|
color: $white;
|
||||||
|
border-color: $white;
|
||||||
|
border-radius: 5000px;
|
||||||
|
transition: color 0.15s ease-in, border-color 0.15s ease-in;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: lighten($topbar-responsive-bg, 60%);
|
||||||
|
border-color: lighten($topbar-responsive-bg, 60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 39.9375em) {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0.875rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 39.9375em) {
|
||||||
|
padding: 0.75rem;
|
||||||
|
|
||||||
|
.top-bar-title {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
span {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
border: 1px solid $white;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0.25rem 0.45rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
|
.menu-icon {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
from {
|
||||||
|
opacity:0;
|
||||||
|
} to {
|
||||||
|
opacity:1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slideDown {
|
||||||
|
0% {
|
||||||
|
transform: translateY(-100%);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: translateY(0%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint(small only) {
|
||||||
|
.topbar-responsive-links {
|
||||||
|
animation-fill-mode: both;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
@if $topbar-responsive-animation-type == slide-down {
|
||||||
|
animation: slideDown 1s ease-in;
|
||||||
|
} @else if $topbar-responsive-animation-type == fade-in {
|
||||||
|
animation: fadeIn 1s ease-in;
|
||||||
|
} @else {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
|
||||||
|
$social-comments: $dark-gray;
|
||||||
|
$social-brand-facebook: #3b5998;
|
||||||
|
$social-brand-twitter: #55acee;
|
||||||
|
$social-brand-linkedin: #007bb5;
|
||||||
|
$social-brand-google-plus: #dd4b39;
|
||||||
|
|
||||||
|
.wide-article-link {
|
||||||
|
background-color: $white;
|
||||||
|
padding: 1rem 1rem 0.5rem;
|
||||||
|
border: 1px solid $medium-gray;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
.article-title {
|
||||||
|
a {
|
||||||
|
color: $black;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: $primary-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-elipsis {
|
||||||
|
.read-more {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-title,
|
||||||
|
.article-author,
|
||||||
|
.article-elipsis {
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.article-social {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
|
||||||
|
.social {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
|
||||||
|
&.comments {
|
||||||
|
@include button-style($social-comments, auto, $white);
|
||||||
|
}
|
||||||
|
&.facebook {
|
||||||
|
@include button-style($social-brand-facebook, auto, $white);
|
||||||
|
}
|
||||||
|
&.twitter {
|
||||||
|
@include button-style($social-brand-twitter, auto, $white);
|
||||||
|
}
|
||||||
|
&.linkedin {
|
||||||
|
@include button-style($social-brand-linkedin, auto, $white);
|
||||||
|
}
|
||||||
|
&.google-plus {
|
||||||
|
@include button-style($social-brand-google-plus, auto, $white);
|
||||||
|
}
|
||||||
|
|
||||||
|
> .fa {
|
||||||
|
color: $white;
|
||||||
|
|
||||||
|
&.fa-comments-o {
|
||||||
|
margin-right: 0.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
119
myproject/src/assets/scss/global/_responsive-news-hero.scss
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
$news-hero-height: 50vh !default;
|
||||||
|
$news-hero-large-height: 70vh !default;
|
||||||
|
|
||||||
|
.news-hero {
|
||||||
|
@include border-radius($radius);
|
||||||
|
@include margin(1,null,1,null);
|
||||||
|
@include breakpoint(small) {
|
||||||
|
height: $news-hero-height*0.6;
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
height: $news-hero-height*0.8;
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
height: $news-hero-height*1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.news-hero-large {
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
@include breakpoint(small) {
|
||||||
|
min-height: $news-hero-large-height*0.5;
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
min-height: $news-hero-large-height 0.7;
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
min-height: $news-hero-large-height;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.news-hero, .news-hero-large {
|
||||||
|
background: url('https://static.pexels.com/photos/248064/pexels-photo-248064.jpeg') 50% no-repeat;
|
||||||
|
background-color: #444;
|
||||||
|
position: relative;
|
||||||
|
background-size: cover;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
text-align: left;
|
||||||
|
display: flex;
|
||||||
|
width:100%;
|
||||||
|
|
||||||
|
.news-hero-text {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 15%;
|
||||||
|
@include breakpoint(small) {
|
||||||
|
left: 5%;
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
left: 10%;
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
left: 20%;
|
||||||
|
}
|
||||||
|
color: $white;
|
||||||
|
text-shadow: 1px 1px 2px $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$header-styles-news-hero: (
|
||||||
|
small: (
|
||||||
|
'h1': ('font-size': 21),
|
||||||
|
'h2': ('font-size': 20),
|
||||||
|
'h3': ('font-size': 19),
|
||||||
|
'h4': ('font-size': 18),
|
||||||
|
'h5': ('font-size': 17),
|
||||||
|
'h6': ('font-size': 16),
|
||||||
|
),
|
||||||
|
medium: (
|
||||||
|
'h1': ('font-size': 38),
|
||||||
|
'h2': ('font-size': 22),
|
||||||
|
'h3': ('font-size': 21),
|
||||||
|
'h4': ('font-size': 18),
|
||||||
|
'h5': ('font-size': 16),
|
||||||
|
'h6': ('font-size': 15),
|
||||||
|
),
|
||||||
|
) !default;
|
||||||
|
|
||||||
|
@each $size, $headers in $header-styles-news-hero {
|
||||||
|
@include breakpoint($size) {
|
||||||
|
@each $header, $header-defs in $headers {
|
||||||
|
$font-size-temp: 1rem;
|
||||||
|
div.news-hero-text > #{$header}, .#{$header} {
|
||||||
|
|
||||||
|
@if map-has-key($header-defs, font-size) {
|
||||||
|
$font-size-temp: rem-calc(map-get($header-defs, font-size));
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
} @else if map-has-key($header-defs, fs) {
|
||||||
|
$font-size-temp: rem-calc(map-get($header-defs, fs));
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
}
|
||||||
|
@if map-has-key($header-defs, line-height) {
|
||||||
|
line-height: unitless-calc(map-get($header-defs, line-height), $font-size-temp);
|
||||||
|
} @else if map-has-key($header-defs, lh) {
|
||||||
|
line-height: unitless-calc(map-get($header-defs, lh), $font-size-temp);
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
line-height: unitless-calc($header-lineheight, $font-size-temp);
|
||||||
|
}
|
||||||
|
|
||||||
|
@if map-has-key($header-defs, margin-top) {
|
||||||
|
margin-top: rem-calc(map-get($header-defs, margin-top));
|
||||||
|
} @else if map-has-key($header-defs, mt) {
|
||||||
|
margin-top: rem-calc(map-get($header-defs, mt));
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
@if map-has-key($header-defs, margin-bottom) {
|
||||||
|
margin-bottom: rem-calc(map-get($header-defs, margin-bottom));
|
||||||
|
} @else if map-has-key($header-defs, mb) {
|
||||||
|
margin-bottom: rem-calc(map-get($header-defs, mb));
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
margin-bottom: rem-calc($header-margin-bottom);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
21
myproject/src/assets/scss/global/_style.scss
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
@import 'util/mixins';
|
||||||
|
|
||||||
|
div.card {
|
||||||
|
@include border-radius($radius);
|
||||||
|
|
||||||
|
@include overflow(hidden);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
div.responsive-side-box {
|
||||||
|
background: $white;
|
||||||
|
@include breakpoint(small) {
|
||||||
|
@include padding(1,0,0,0);
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
@include padding(1,1,1,1);
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
@include padding(2,2,2,2);
|
||||||
|
}
|
||||||
|
}
|
||||||
60
myproject/src/assets/scss/global/_typography.scss
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
$header-styles-media: (
|
||||||
|
small: (
|
||||||
|
'h1': ('font-size': 21),
|
||||||
|
'h2': ('font-size': 20),
|
||||||
|
'h3': ('font-size': 19),
|
||||||
|
'h4': ('font-size': 18),
|
||||||
|
'h5': ('font-size': 17),
|
||||||
|
'h6': ('font-size': 16),
|
||||||
|
),
|
||||||
|
medium: (
|
||||||
|
'h1': ('font-size': 32),
|
||||||
|
'h2': ('font-size': 26),
|
||||||
|
'h3': ('font-size': 22),
|
||||||
|
'h4': ('font-size': 18),
|
||||||
|
'h5': ('font-size': 16),
|
||||||
|
'h6': ('font-size': 15),
|
||||||
|
),
|
||||||
|
) !default;
|
||||||
|
|
||||||
|
@each $size, $headers in $header-styles-media {
|
||||||
|
@include breakpoint($size) {
|
||||||
|
@each $header, $header-defs in $headers {
|
||||||
|
$font-size-temp: 1rem;
|
||||||
|
div.media-object-section > #{$header}, .#{$header} {
|
||||||
|
|
||||||
|
@if map-has-key($header-defs, font-size) {
|
||||||
|
$font-size-temp: rem-calc(map-get($header-defs, font-size));
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
} @else if map-has-key($header-defs, fs) {
|
||||||
|
$font-size-temp: rem-calc(map-get($header-defs, fs));
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
font-size: $font-size-temp;
|
||||||
|
}
|
||||||
|
@if map-has-key($header-defs, line-height) {
|
||||||
|
line-height: unitless-calc(map-get($header-defs, line-height), $font-size-temp);
|
||||||
|
} @else if map-has-key($header-defs, lh) {
|
||||||
|
line-height: unitless-calc(map-get($header-defs, lh), $font-size-temp);
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
line-height: unitless-calc($header-lineheight, $font-size-temp);
|
||||||
|
}
|
||||||
|
|
||||||
|
@if map-has-key($header-defs, margin-top) {
|
||||||
|
margin-top: rem-calc(map-get($header-defs, margin-top));
|
||||||
|
} @else if map-has-key($header-defs, mt) {
|
||||||
|
margin-top: rem-calc(map-get($header-defs, mt));
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
@if map-has-key($header-defs, margin-bottom) {
|
||||||
|
margin-bottom: rem-calc(map-get($header-defs, margin-bottom));
|
||||||
|
} @else if map-has-key($header-defs, mb) {
|
||||||
|
margin-bottom: rem-calc(map-get($header-defs, mb));
|
||||||
|
} @else if $size == $-zf-zero-breakpoint {
|
||||||
|
margin-bottom: rem-calc($header-margin-bottom);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
0
myproject/src/data/.gitkeep
Normal file
29
myproject/src/layouts/default.html
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{{!-- This is the base layout for your project, and will be used on every page unless specified. --}}
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Foundation for Sites</title>
|
||||||
|
<link rel="stylesheet" href="{{root}}assets/css/app.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="top-bar">
|
||||||
|
<div class="top-bar-left">
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="article.html">Article</a></li>
|
||||||
|
<li><a href="blog.html">Blog</a></li>
|
||||||
|
<li><a href="blog-simple.html">BlogSimple</a></li>
|
||||||
|
<li><a href="news-magazine.html">Magazine</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{!-- Pages you create in the src/pages/ folder are inserted here when the flattened page is created. --}}
|
||||||
|
{{> body}}
|
||||||
|
|
||||||
|
<script src="{{root}}assets/js/app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
20
myproject/src/layouts/plain.html
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{{!-- This is the base layout for your project, and will be used on every page unless specified. --}}
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Foundation for Sites</title>
|
||||||
|
<link rel="stylesheet" href="{{root}}assets/css/app.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
|
||||||
|
{{!-- Pages you create in the src/pages/ folder are inserted here when the flattened page is created. --}}
|
||||||
|
{{> body}}
|
||||||
|
|
||||||
|
<script src="{{root}}assets/js/app.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
40
myproject/src/pages/archiv/index1.html
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="large-article-header"style="background-image: url('https://diekunstmacher.de/media/image/e5/71/c0/INGOLDERSTRAHLTDIENACHTI15.jpg');)">
|
||||||
|
<div class="large-article-header-content" >
|
||||||
|
<div class="center-container">
|
||||||
|
<div class="article-date">
|
||||||
|
<p>Published on Jan 12, 2016</p>
|
||||||
|
</div>
|
||||||
|
<div class="article-title">
|
||||||
|
<h1>A Great Big Article Title Goes Here</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-container"
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12">
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div class="radius bordered shadow card" style="width:250px">
|
||||||
|
<img src="https://placehold.it/500x250">
|
||||||
|
<div class="card-divider">
|
||||||
|
Styled Card
|
||||||
|
</div>
|
||||||
|
<div class="card-section">
|
||||||
|
<h4>This is a card.</h4>
|
||||||
|
<p>It has an easy to override visual style, and is appropriately subdued.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<article>
|
||||||
|
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer imperdiet, lorem in dignissim ornare, ligula elit accumsan magna, at molestie nibh ligula at lectus. Integer nec lacus ut urna suscipit convallis at id ipsum. Donec mauris magna, auctor a aliquet et, ullamcorper sit amet tellus. Praesent hendrerit eros fringilla augue elementum ultrices. Proin aliquet volutpat felis vitae accumsan. Duis in porttitor tortor. Nulla facilisi. Cras felis mauris, laoreet condimentum magna lobortis, ullamcorper cursus purus.
|
||||||
|
</p><p>
|
||||||
|
In at sapien ut tortor placerat viverra vel ultricies diam. Cras eget scelerisque dolor, sit amet varius erat. Vestibulum in lacus ut eros blandit imperdiet sed eget magna. In dolor elit, mollis sed est eu, finibus tincidunt dui. Nunc in molestie tellus. Suspendisse fringilla ex a enim tempor luctus. Vestibulum ante enim, efficitur placerat purus ac, laoreet pharetra tellus. Quisque faucibus luctus sapien, eu ultrices tortor egestas a.
|
||||||
|
</p><p>
|
||||||
|
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum in eros eget est tristique ultricies. Sed sollicitudin, turpis in feugiat suscipit, quam quam tempor odio, ac vulputate sem metus ac ligula. Etiam elementum urna a viverra sagittis. Vivamus quis tempus nulla. Proin sagittis, felis dignissim ornare porta, dui ipsum iaculis erat, nec bibendum lectus elit sit amet turpis. Nam a venenatis purus. Nam maximus elit vel viverra condimentum. Praesent eget est non velit dignissim blandit. Etiam tempor quam dapibus orci imperdiet, sit amet finibus neque pretium. Maecenas posuere ex nec nisl vestibulum, a pellentesque enim tristique. Donec commodo, magna id convallis pellentesque, ex enim malesuada enim, vitae varius ipsum metus sed arcu. Maecenas eget neque lacus. Duis in accumsan sem.
|
||||||
|
</p><p>
|
||||||
|
Vivamus fermentum tincidunt lorem, ut venenatis sapien posuere a. Sed tempor tincidunt tellus, non congue ex pharetra eu. Morbi eros erat, pretium id gravida nec, placerat fermentum neque. Aenean at augue turpis. Mauris non metus pulvinar nisi blandit tincidunt tincidunt aliquet justo. Pellentesque vitae sagittis nisi. Duis lectus felis, porttitor at purus efficitur, euismod placerat enim. In quis dolor et velit lacinia bibendum. Donec id mauris sed tortor convallis mollis id a dolor. In a dolor nec eros mollis maximus.
|
||||||
|
</p></article>
|
||||||
|
</div></div></div>
|
||||||
153
myproject/src/pages/archiv/index2.html
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<h1>Welcome to Foundation</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="callout">
|
||||||
|
<h3>We’re stoked you want to try Foundation! </h3>
|
||||||
|
<p>To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
|
||||||
|
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 medium-push-2 cell">
|
||||||
|
<p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 medium-pull-2 cell">
|
||||||
|
<p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-8 medium-8 cell">
|
||||||
|
<h5>Here’s your basic grid:</h5>
|
||||||
|
<!-- Grid Example -->
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p><strong>This is a twelve cell section in a grid-x.</strong> Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<h5>We bet you’ll need a form somewhere:</h5>
|
||||||
|
<form>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-12.cell" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<div class="grid-x">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" placeholder="small-9.cell" class="input-group-field" />
|
||||||
|
<span class="input-group-label">.com</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Select Box</label>
|
||||||
|
<select>
|
||||||
|
<option value="husker">Husker</option>
|
||||||
|
<option value="starbuck">Starbuck</option>
|
||||||
|
<option value="hotdog">Hot Dog</option>
|
||||||
|
<option value="apollo">Apollo</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Choose Your Favorite</label>
|
||||||
|
<input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
|
||||||
|
<input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Check these out</label>
|
||||||
|
<input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
|
||||||
|
<input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Textarea Label</label>
|
||||||
|
<textarea placeholder="small-12.cell"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<h5>Try one of these buttons:</h5>
|
||||||
|
<p><a href="#" class="button">Simple Button</a><br/>
|
||||||
|
<a href="#" class="success button">Success Btn</a><br/>
|
||||||
|
<a href="#" class="alert button">Alert Btn</a><br/>
|
||||||
|
<a href="#" class="secondary button">Secondary Btn</a></p>
|
||||||
|
<div class="callout">
|
||||||
|
<h5>So many components, girl!</h5>
|
||||||
|
<p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
|
||||||
|
<a href="https://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
153
myproject/src/pages/archiv/index_copy_2.html
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<h1>Welcome to Foundation</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="callout">
|
||||||
|
<h3>We’re stoked you want to try Foundation! </h3>
|
||||||
|
<p>To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
|
||||||
|
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 medium-push-2 cell">
|
||||||
|
<p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 medium-pull-2 cell">
|
||||||
|
<p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-8 medium-8 cell">
|
||||||
|
<h5>Here’s your basic grid:</h5>
|
||||||
|
<!-- Grid Example -->
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p><strong>This is a twelve cell section in a grid-x.</strong> Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<h5>We bet you’ll need a form somewhere:</h5>
|
||||||
|
<form>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-12.cell" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<div class="grid-x">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" placeholder="small-9.cell" class="input-group-field" />
|
||||||
|
<span class="input-group-label">.com</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Select Box</label>
|
||||||
|
<select>
|
||||||
|
<option value="husker">Husker</option>
|
||||||
|
<option value="starbuck">Starbuck</option>
|
||||||
|
<option value="hotdog">Hot Dog</option>
|
||||||
|
<option value="apollo">Apollo</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Choose Your Favorite</label>
|
||||||
|
<input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
|
||||||
|
<input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Check these out</label>
|
||||||
|
<input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
|
||||||
|
<input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Textarea Label</label>
|
||||||
|
<textarea placeholder="small-12.cell"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<h5>Try one of these buttons:</h5>
|
||||||
|
<p><a href="#" class="button">Simple Button</a><br/>
|
||||||
|
<a href="#" class="success button">Success Btn</a><br/>
|
||||||
|
<a href="#" class="alert button">Alert Btn</a><br/>
|
||||||
|
<a href="#" class="secondary button">Secondary Btn</a></p>
|
||||||
|
<div class="callout">
|
||||||
|
<h5>So many components, girl!</h5>
|
||||||
|
<p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
|
||||||
|
<a href="https://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
53
myproject/src/pages/article.html
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
|
||||||
|
<div class="grid-container"
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12">
|
||||||
|
<div class="simple-article-header">
|
||||||
|
<!-- Article Published Date & Reading Time -->
|
||||||
|
<p class="article-date-read">Published on: 21 April, 2017 - 3 min read</p>
|
||||||
|
|
||||||
|
<!-- Article Title -->
|
||||||
|
<h4 class="article-title">
|
||||||
|
<a href="#">
|
||||||
|
20 Best PHP Blogs You Must Follow
|
||||||
|
</a>
|
||||||
|
</h4>
|
||||||
|
|
||||||
|
<!-- Article Author Name & Comment Hyperlink -->
|
||||||
|
<p class="article-author-comments">
|
||||||
|
<em>by <a href="#">Harry Manchanda</a></em> -
|
||||||
|
<a class="article-comments" href="#">3 Comments</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Article Social Links -->
|
||||||
|
<div class="article-social">
|
||||||
|
<a href="#" class="button social facebook">
|
||||||
|
<i class="fa fa-facebook fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="button social twitter">
|
||||||
|
<i class="fa fa-twitter fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="button social linkedin">
|
||||||
|
<i class="fa fa-linkedin fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="button social google-plus">
|
||||||
|
<i class="fa fa-google-plus fa-lg" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Article Image -->
|
||||||
|
<div class="article-post-image">
|
||||||
|
<div class="thumbnail">
|
||||||
|
<img src="https://i.imgur.com/22ue2CP.jpg">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Article Post Content -->
|
||||||
|
<div class="article-post-content">
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure, quod, mollitia! Ex sed magni veritatis pariatur facere hic necessitatibus aperiam. Necessitatibus doloribus molestias velit sequi expedita laudantium odio sunt nam ratione quibusdam animi consequatur vero quam eligendi veritatis voluptatum excepturi similique perferendis, suscipit facilis itaque, cum totam quasi. Corporis quis beatae neque tenetur, ullam quisquam itaque reprehenderit amet, provident praesentium ab velit laudantium debitis enim dignissimos iure magnam voluptatum! Reiciendis aut adipisci accusantium harum ratione quaerat maxime, cum non provident dolores. Unde id quod aliquam esse officia tenetur assumenda veniam deserunt consequuntur doloremque ducimus perferendis accusamus in dolorem animi magni, quisquam fugiat quasi quaerat voluptate repellendus molestiae excepturi blanditiis. Rerum excepturi quas expedita vel, ducimus neque assumenda, necessitatibus! Eos est quas dolore fuga odio, soluta nulla totam tempora minima quis itaque sapiente ducimus veniam enim repellendus. Soluta earum consectetur voluptatum, quasi aperiam doloribus neque blanditiis, amet, odit vero, sit omnis.</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure, quod, mollitia! Ex sed magni veritatis pariatur facere hic necessitatibus aperiam. Necessitatibus doloribus molestias velit sequi expedita laudantium odio sunt nam ratione quibusdam animi consequatur vero quam eligendi veritatis voluptatum excepturi similique perferendis, suscipit facilis itaque, cum totam quasi. Corporis quis beatae neque tenetur, ullam quisquam itaque reprehenderit amet, provident praesentium ab velit laudantium debitis enim dignissimos iure magnam voluptatum! Reiciendis aut adipisci accusantium harum ratione quaerat maxime, cum non provident dolores. Unde id quod aliquam esse officia tenetur assumenda veniam deserunt consequuntur doloremque ducimus perferendis accusamus in dolorem animi magni, quisquam fugiat quasi quaerat voluptate repellendus molestiae excepturi blanditiis. Rerum excepturi quas expedita vel, ducimus neque assumenda, necessitatibus! Eos est quas dolore fuga odio, soluta nulla totam tempora minima quis itaque sapiente ducimus veniam enim repellendus. Soluta earum consectetur voluptatum, quasi aperiam doloribus neque blanditiis, amet, odit vero, sit omnis.</p>
|
||||||
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iure, quod, mollitia! Ex sed magni veritatis pariatur facere hic necessitatibus aperiam. Necessitatibus doloribus molestias velit sequi expedita laudantium odio sunt nam ratione quibusdam animi consequatur vero quam eligendi veritatis voluptatum excepturi similique perferendis, suscipit facilis itaque, cum totam quasi. Corporis quis beatae neque tenetur, ullam quisquam itaque reprehenderit amet, provident praesentium ab velit laudantium debitis enim dignissimos iure magnam voluptatum! Reiciendis aut adipisci accusantium harum ratione quaerat maxime, cum non provident dolores. Unde id quod aliquam esse officia tenetur assumenda veniam deserunt consequuntur doloremque ducimus perferendis accusamus in dolorem animi magni, quisquam fugiat quasi quaerat voluptate repellendus molestiae excepturi blanditiis. Rerum excepturi quas expedita vel, ducimus neque assumenda, necessitatibus! Eos est quas dolore fuga odio, soluta nulla totam tempora minima quis itaque sapiente ducimus veniam enim repellendus. Soluta earum consectetur voluptatum, quasi aperiam doloribus neque blanditiis, amet, odit vero, sit omnis.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div></div></div>
|
||||||
85
myproject/src/pages/blog-simple.html
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<!-- Start Top Bar -->
|
||||||
|
<div class="top-bar">
|
||||||
|
<div class="top-bar-left">
|
||||||
|
<ul class="menu">
|
||||||
|
<li class="menu-text">Blog</li>
|
||||||
|
<li><a href="#">One</a></li>
|
||||||
|
<li><a href="#">Two</a></li>
|
||||||
|
<li><a href="#">Three</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Top Bar -->
|
||||||
|
|
||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x">
|
||||||
|
<div class="medium-10 medium-offset-1 large-8 large-offset-2 cell">
|
||||||
|
<div class="callout primary">
|
||||||
|
<div class=" text-center">
|
||||||
|
<h1>Our Blog</h1>
|
||||||
|
<h2 class="subheader">Such a Simple Blog Layout</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x">
|
||||||
|
<!-- We can now combine rows and columns when there's only one column in that row -->
|
||||||
|
<div class="medium-10 medium-offset-1 large-8 large-offset-2 cell">
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="assets/img/index2.png">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
||||||
|
<script src="https://dhbhdrzi4tiry.cloudfront.net/cdn/sites/foundation.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).foundation();
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
129
myproject/src/pages/blog.html
Normal file
@@ -0,0 +1,129 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>Foundation | Welcome</title>
|
||||||
|
<link rel="stylesheet" href="https://dhbhdrzi4tiry.cloudfront.net/cdn/sites/foundation.min.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Top Bar -->
|
||||||
|
<div class="top-bar">
|
||||||
|
<div class="top-bar-left">
|
||||||
|
<ul class="menu">
|
||||||
|
<li class="menu-text">Yeti Agency</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="top-bar-right">
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="#">One</a></li>
|
||||||
|
<li><a href="#">Two</a></li>
|
||||||
|
<li><a href="#">Three</a></li>
|
||||||
|
<li><a href="#">Four</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Top Bar -->
|
||||||
|
|
||||||
|
<div class="callout large primary">
|
||||||
|
<div class="row column text-center">
|
||||||
|
<h1>Our Blog</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row" id="content">
|
||||||
|
<div class="medium-8 columns">
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="blog-post">
|
||||||
|
<h3>Awesome blog post title <small>3/6/2015</small></h3>
|
||||||
|
<img class="thumbnail" src="https://placehold.it/850x350">
|
||||||
|
<p>Praesent id metus massa, ut blandit odio. Proin quis tortor orci. Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus.</p>
|
||||||
|
<div class="callout">
|
||||||
|
<ul class="menu simple">
|
||||||
|
<li><a href="#">Author: Mike Mikers</a></li>
|
||||||
|
<li><a href="#">Comments: 3</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="medium-3 columns" data-sticky-container>
|
||||||
|
<div class="sticky" data-sticky data-anchor="content">
|
||||||
|
<h4>Categories</h4>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">Skyler</a></li>
|
||||||
|
<li><a href="#">Jesse</a></li>
|
||||||
|
<li><a href="#">Mike</a></li>
|
||||||
|
<li><a href="#">Holly</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h4>Authors</h4>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">Skyler</a></li>
|
||||||
|
<li><a href="#">Jesse</a></li>
|
||||||
|
<li><a href="#">Mike</a></li>
|
||||||
|
<li><a href="#">Holly</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row column">
|
||||||
|
<ul class="pagination" role="navigation" aria-label="Pagination">
|
||||||
|
<li class="disabled">Previous</li>
|
||||||
|
<li class="current"><span class="show-for-sr">You're on page</span> 1</li>
|
||||||
|
<li><a href="#" aria-label="Page 2">2</a></li>
|
||||||
|
<li><a href="#" aria-label="Page 3">3</a></li>
|
||||||
|
<li><a href="#" aria-label="Page 4">4</a></li>
|
||||||
|
<li class="ellipsis"></li>
|
||||||
|
<li><a href="#" aria-label="Page 12">12</a></li>
|
||||||
|
<li><a href="#" aria-label="Page 13">13</a></li>
|
||||||
|
<li><a href="#" aria-label="Next page">Next</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
||||||
|
<script src="https://dhbhdrzi4tiry.cloudfront.net/cdn/sites/foundation.js"></script>
|
||||||
|
<script>
|
||||||
|
$(document).foundation();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
133
myproject/src/pages/index.html
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
---
|
||||||
|
layout: plain
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
{{> _top_bar }}
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-x">
|
||||||
|
|
||||||
|
<div class="medium-8 small cell" style="background: grey">
|
||||||
|
<div class="news-hero-large"style="background-image: url('/assets/img/studienvertretung.png');)">
|
||||||
|
<div class="news-hero-text" >
|
||||||
|
<hr>
|
||||||
|
<div class="article-date">
|
||||||
|
<p>Published on Jan 12, 2016</p>
|
||||||
|
</div>
|
||||||
|
<div class="article-title">
|
||||||
|
<h1>A Great Big Article Title Goes Here</h1>
|
||||||
|
<p>Zwei linke Bögen lassen uns nicht</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div></div>
|
||||||
|
<div class="medium-4 responsive-side-box cell">
|
||||||
|
<h1>Neuigkeiten</h1>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-row-section">
|
||||||
|
|
||||||
|
<a href="/post.html">
|
||||||
|
<article class="article-row">
|
||||||
|
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW SPENDING </h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, </p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW TO QUIT YOUR JOB, MOVE TO PARADISE AND GET PAID TO CHANGE THE WORLD</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Labore accusamus sint quas, odit, enim architecto officiis culpa!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x grid-padding-x padding-top-1">
|
||||||
|
<div class="medium-4"><div class="card" style="width: 300px;">
|
||||||
|
<img src="https://static.pexels.com/photos/66274/sunset-poppy-backlight-66274.jpeg">
|
||||||
|
|
||||||
|
<div class="card-section">
|
||||||
|
<h4>This is a card.</h4>
|
||||||
|
<p>It has an easy to override visual style, and is appropriately subdued.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="medium-4"><div class="card" style="width: 300px;">
|
||||||
|
<img src="assets/img/FET-Logo-2014-quadrat.png" style="height:200px">
|
||||||
|
<div class="card-section">
|
||||||
|
<h4>This is a card.</h4>
|
||||||
|
<p>It has an easy to override visual style, and is appropriately subdued.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="medium-4 align-center">
|
||||||
|
<div class="card" style="width: 300px;">
|
||||||
|
<img src="assets/img/generic/rectangle-1.jpg">
|
||||||
|
<div class="card-section">
|
||||||
|
<h4>This is a card.</h4>
|
||||||
|
<p>It has an easy to override visual style, and is appropriately subdued.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-x">
|
||||||
|
<div class="medium-8 small-12 small-order-2 medium-order-1">
|
||||||
|
<div class="news-hero padding-bottom-1" style="background-image:url('/assets/img/happy-people.jpg')">
|
||||||
|
<div class="news-hero-text">
|
||||||
|
<h1>Header</h1>
|
||||||
|
<h2>subtitle about anything you like</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="news-hero">
|
||||||
|
<div class="news-hero-text">
|
||||||
|
<h1>Header</h1>
|
||||||
|
<h2>subtitle about anything you like</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="news-hero">
|
||||||
|
<div class="news-hero-text">
|
||||||
|
<h1>Header</h1>
|
||||||
|
<h2>subtitle about anything you like</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="medium-4 small-12 padding-2 small-order-1 medium-order-2">
|
||||||
|
<span class="badge primary" style="width:5em;height:5em"><span style="font-size:20px">16.</span><br> Apr</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-x" style="background-color:#444; height: 8em">
|
||||||
|
<div class="grid-y" style="8em">
|
||||||
|
</div>
|
||||||
|
<div class="cell">fet</div>
|
||||||
|
</div>
|
||||||
130
myproject/src/pages/index2.html
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
---
|
||||||
|
layout: plain
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-container ">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="cell medium-6">
|
||||||
|
<a href="">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img style="height:150px; width:150px" src="/assets/img/FET-Logo-2014-quadrat.png"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">Nächste Fachschaftssitzung</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="cell medium-6">
|
||||||
|
<h1>ASDF</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{{> _top_bar }}
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="article-row-section cell medium-8">
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://static.pexels.com/photos/66274/sunset-poppy-backlight-66274.jpeg" style="width:300px" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW SPENDING $162,301.42 ON CLOTHES MADE ME $692,500</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt quia sit ullam, assumenda et. est at. Minima cum enim, vero eligendi perspiciatis similique modi voluptatem officia fugiat.</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row article-row-reversed">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW TO QUIT YOUR JOB, MOVE TO PARADISE AND GET PAID TO CHANGE THE WORLD</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Labore accusamus sint quas, odit, enim architecto officiis culpa!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row article-row-reversed">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="cell medium-4">
|
||||||
|
<img src="/assets/img/studienvertretung.png"/>
|
||||||
|
<ul class="menu vertical">
|
||||||
|
<li><a href="#">Menu1</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
125
myproject/src/pages/index_alt.html
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
---
|
||||||
|
layout: plain
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-container ">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="cell medium-6">
|
||||||
|
<a href="">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img style="height:150px; width:150px" src="/assets/img/FET-Logo-2014-quadrat.png"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">Nächste Fachschaftssitzung</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="top-bar align-center" id="main-menu">
|
||||||
|
<ul class="menu vertical medium-horizontal expanded medium-text-center">
|
||||||
|
<li class=""><a href="#">Aktuelles</a> </li>
|
||||||
|
<li class=""><a href="index2.html">Aktuelles2</a> </li>
|
||||||
|
<li class=""><a href="#">Info</a> </li>
|
||||||
|
<li class=""><a href="#">Team</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="grid-container">
|
||||||
|
|
||||||
|
<div class="article-row-section">
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://static.pexels.com/photos/66274/sunset-poppy-backlight-66274.jpeg" style="width:300px" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW SPENDING $162,301.42 ON CLOTHES MADE ME $692,500</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt quia sit ullam, assumenda et. est at. Minima cum enim, vero eligendi perspiciatis similique modi voluptatem officia fugiat.</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row article-row-reversed">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW TO QUIT YOUR JOB, MOVE TO PARADISE AND GET PAID TO CHANGE THE WORLD</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Labore accusamus sint quas, odit, enim architecto officiis culpa!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row article-row-reversed">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
<a href="#">
|
||||||
|
<article class="article-row">
|
||||||
|
<div class="article-row-img">
|
||||||
|
<img src="https://placehold.it/200" alt="picture of a whale eating a donkey" />
|
||||||
|
</div>
|
||||||
|
<div class="article-row-content">
|
||||||
|
<h1 class="article-row-content-header">HOW I’M GOING TO LOSE ALL MY CUSTOMERS AND WRECK MY BUSINESS</h1>
|
||||||
|
|
||||||
|
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur cupiditate, unde libero quisquam ipsam debitis earum omnis aperiam nulla eaque vitae error optio tempora voluptatem, quae impedit laborum placeat. Expedita!</p>
|
||||||
|
|
||||||
|
<p class="article-row-content-author">By Yeti</p>
|
||||||
|
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
154
myproject/src/pages/index_foundation.html
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
<div class="grid-container">
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<h1>Welcome to Foundation</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="callout">
|
||||||
|
<h3>We’re stoked you want to try Foundation! </h3>
|
||||||
|
<a href="index2.html">sdf</a>
|
||||||
|
<p>To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
|
||||||
|
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 medium-push-2 cell">
|
||||||
|
<p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 medium-pull-2 cell">
|
||||||
|
<p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-8 medium-8 cell">
|
||||||
|
<h5>Here’s your basic grid:</h5>
|
||||||
|
<!-- Grid Example -->
|
||||||
|
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p><strong>This is a twelve cell section in a grid-x.</strong> Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Six cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 small-4 cell">
|
||||||
|
<div class="primary callout">
|
||||||
|
<p>Four cell</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<h5>We bet you’ll need a form somewhere:</h5>
|
||||||
|
<form>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-12.cell" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<input type="text" placeholder="large-4.cell" />
|
||||||
|
</div>
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<div class="grid-x">
|
||||||
|
<label>Input Label</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" placeholder="small-9.cell" class="input-group-field" />
|
||||||
|
<span class="input-group-label">.com</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Select Box</label>
|
||||||
|
<select>
|
||||||
|
<option value="husker">Husker</option>
|
||||||
|
<option value="starbuck">Starbuck</option>
|
||||||
|
<option value="hotdog">Hot Dog</option>
|
||||||
|
<option value="apollo">Apollo</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Choose Your Favorite</label>
|
||||||
|
<input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
|
||||||
|
<input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
|
||||||
|
</div>
|
||||||
|
<div class="large-6 medium-6 cell">
|
||||||
|
<label>Check these out</label>
|
||||||
|
<input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
|
||||||
|
<input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="grid-x grid-padding-x">
|
||||||
|
<div class="large-12 cell">
|
||||||
|
<label>Textarea Label</label>
|
||||||
|
<textarea placeholder="small-12.cell"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="large-4 medium-4 cell">
|
||||||
|
<h5>Try one of these buttons:</h5>
|
||||||
|
<p><a href="#" class="button">Simple Button</a><br/>
|
||||||
|
<a href="#" class="success button">Success Btn</a><br/>
|
||||||
|
<a href="#" class="alert button">Alert Btn</a><br/>
|
||||||
|
<a href="#" class="secondary button">Secondary Btn</a></p>
|
||||||
|
<div class="callout">
|
||||||
|
<h5>So many components, girl!</h5>
|
||||||
|
<p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
|
||||||
|
<a href="https://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||