mirror of
https://github.com/PucelaBits/websegura.git
synced 2024-07-04 12:05:45 +02:00
compiling css from scss, custom css moved to main.scss
This commit is contained in:
parent
a1cf3168a0
commit
a4baf61f38
|
@ -1,43 +0,0 @@
|
|||
tr.severe {
|
||||
background-color: #d9534f45;
|
||||
}
|
||||
|
||||
tr.moderate {
|
||||
background-color: #f0ad4e45;
|
||||
}
|
||||
|
||||
tr.safe {
|
||||
background-color: #3fad4645;
|
||||
}
|
||||
|
||||
tr.unknown {
|
||||
background-color: #eee8e8;
|
||||
}
|
||||
|
||||
span.emoticon {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
ul.iconify li {
|
||||
list-style: none;
|
||||
margin: 1em 0;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
p.subtitle {
|
||||
margin: 2em 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
table#resultados {
|
||||
table-layout: fixed;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
table#resultados th#nota {
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
table#resultados th#share {
|
||||
width: 30%;
|
||||
}
|
5790
assets/css/main.css
5790
assets/css/main.css
File diff suppressed because it is too large
Load Diff
|
@ -1,15 +1,13 @@
|
|||
/*
|
||||
Phantom by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
/*
|
||||
Phantom by HTML5 UP
|
||||
html5up.net | @ajlkn
|
||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||
*/
|
||||
|
||||
/* Tiles */
|
||||
|
||||
body.is-preload .tiles article {
|
||||
-moz-transform: none;
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
opacity: 1;
|
||||
}
|
||||
body.is-preload .tiles article {
|
||||
-moz-transform: none;
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
@import 'libs/vars';
|
||||
@import 'libs/functions';
|
||||
@import 'libs/mixins';
|
||||
@import 'libs/vendor';
|
||||
@import 'libs/breakpoints';
|
||||
@import 'libs/html-grid';
|
||||
@import 'fontawesome-all.min.css';
|
||||
@import "libs/vars";
|
||||
@import "libs/functions";
|
||||
@import "libs/mixins";
|
||||
@import "libs/vendor";
|
||||
@import "libs/breakpoints";
|
||||
@import "libs/html-grid";
|
||||
@import "fontawesome-all.min.css";
|
||||
|
||||
/*
|
||||
Phantom by HTML5 UP
|
||||
|
@ -14,40 +14,106 @@
|
|||
|
||||
// Breakpoints.
|
||||
|
||||
@include breakpoints((
|
||||
xlarge: ( 1281px, 1680px ),
|
||||
large: ( 981px, 1280px ),
|
||||
medium: ( 737px, 980px ),
|
||||
small: ( 481px, 736px ),
|
||||
xsmall: ( 361px, 480px ),
|
||||
xxsmall: ( null, 360px )
|
||||
));
|
||||
@include breakpoints(
|
||||
(
|
||||
xlarge: (
|
||||
1281px,
|
||||
1680px,
|
||||
),
|
||||
large: (
|
||||
981px,
|
||||
1280px,
|
||||
),
|
||||
medium: (
|
||||
737px,
|
||||
980px,
|
||||
),
|
||||
small: (
|
||||
481px,
|
||||
736px,
|
||||
),
|
||||
xsmall: (
|
||||
361px,
|
||||
480px,
|
||||
),
|
||||
xxsmall: (
|
||||
null,
|
||||
360px,
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
// Base.
|
||||
|
||||
@import 'base/reset';
|
||||
@import 'base/page';
|
||||
@import 'base/typography';
|
||||
@import "base/reset";
|
||||
@import "base/page";
|
||||
@import "base/typography";
|
||||
|
||||
// Component.
|
||||
|
||||
@import 'components/row';
|
||||
@import 'components/section';
|
||||
@import 'components/icon';
|
||||
@import 'components/list';
|
||||
@import 'components/actions';
|
||||
@import 'components/icons';
|
||||
@import 'components/form';
|
||||
@import 'components/box';
|
||||
@import 'components/image';
|
||||
@import 'components/table';
|
||||
@import 'components/button';
|
||||
@import 'components/tiles';
|
||||
@import "components/row";
|
||||
@import "components/section";
|
||||
@import "components/icon";
|
||||
@import "components/list";
|
||||
@import "components/actions";
|
||||
@import "components/icons";
|
||||
@import "components/form";
|
||||
@import "components/box";
|
||||
@import "components/image";
|
||||
@import "components/table";
|
||||
@import "components/button";
|
||||
@import "components/tiles";
|
||||
|
||||
// Layout.
|
||||
|
||||
@import 'layout/header';
|
||||
@import 'layout/menu';
|
||||
@import 'layout/main';
|
||||
@import 'layout/footer';
|
||||
@import 'layout/wrapper';
|
||||
@import "layout/header";
|
||||
@import "layout/menu";
|
||||
@import "layout/main";
|
||||
@import "layout/footer";
|
||||
@import "layout/wrapper";
|
||||
|
||||
// Custom styles
|
||||
|
||||
tr.severe {
|
||||
background-color: #d9534f45;
|
||||
}
|
||||
|
||||
tr.moderate {
|
||||
background-color: #f0ad4e45;
|
||||
}
|
||||
|
||||
tr.safe {
|
||||
background-color: #3fad4645;
|
||||
}
|
||||
|
||||
tr.unknown {
|
||||
background-color: #eee8e8;
|
||||
}
|
||||
|
||||
span.emoticon {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
ul.iconify li {
|
||||
list-style: none;
|
||||
margin: 1em 0;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
p.subtitle {
|
||||
margin: 2em 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
table#resultados {
|
||||
table-layout: fixed;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
table#resultados th#nota {
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
table#resultados th#share {
|
||||
width: 30%;
|
||||
}
|
||||
|
|
41
package-lock.json
generated
41
package-lock.json
generated
|
@ -5,12 +5,11 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "websegura",
|
||||
"version": "1.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^0.11.1",
|
||||
"csv-parse": "^4.14.2"
|
||||
"sass": "^1.32.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/dependency-tree": {
|
||||
|
@ -813,12 +812,6 @@
|
|||
"dev": true,
|
||||
"hasInstallScript": true
|
||||
},
|
||||
"node_modules/csv-parse": {
|
||||
"version": "4.14.2",
|
||||
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.14.2.tgz",
|
||||
"integrity": "sha512-YE2xlTKtM035/94llhgsp9qFQxGi47EkQJ1pZ+mLT/98GpIsbjkMGAb7Rmu9hNxVfYFOLf10hP+rPVqnoccLgw==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/date-time": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/date-time/-/date-time-0.1.1.tgz",
|
||||
|
@ -3144,6 +3137,21 @@
|
|||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/sass": {
|
||||
"version": "1.32.5",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.32.5.tgz",
|
||||
"integrity": "sha512-kU1yJ5zUAmPxr7f3q0YXTAd1oZjSR1g3tYyv+xu0HZSl5JiNOaE987eiz7wCUvbm4I9fGWGU2TgApTtcP4GMNQ==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"chokidar": ">=2.0.0 <4.0.0"
|
||||
},
|
||||
"bin": {
|
||||
"sass": "sass.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/section-matter": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
|
||||
|
@ -4739,12 +4747,6 @@
|
|||
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
|
||||
"dev": true
|
||||
},
|
||||
"csv-parse": {
|
||||
"version": "4.14.2",
|
||||
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.14.2.tgz",
|
||||
"integrity": "sha512-YE2xlTKtM035/94llhgsp9qFQxGi47EkQJ1pZ+mLT/98GpIsbjkMGAb7Rmu9hNxVfYFOLf10hP+rPVqnoccLgw==",
|
||||
"dev": true
|
||||
},
|
||||
"date-time": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/date-time/-/date-time-0.1.1.tgz",
|
||||
|
@ -6572,6 +6574,15 @@
|
|||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
||||
"dev": true
|
||||
},
|
||||
"sass": {
|
||||
"version": "1.32.5",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.32.5.tgz",
|
||||
"integrity": "sha512-kU1yJ5zUAmPxr7f3q0YXTAd1oZjSR1g3tYyv+xu0HZSl5JiNOaE987eiz7wCUvbm4I9fGWGU2TgApTtcP4GMNQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chokidar": ">=2.0.0 <4.0.0"
|
||||
}
|
||||
},
|
||||
"section-matter": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "npm run build:dev -- --serve --watch",
|
||||
"build:dev": "npx @11ty/eleventy",
|
||||
"build:dev": "npm run build:sass && npx @11ty/eleventy",
|
||||
"build:sass": "npx sass --no-source-map assets/sass:assets/css",
|
||||
"build": "env NODE_ENV=production npm run build:dev"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -22,6 +23,6 @@
|
|||
"homepage": "https://github.com/PucelaBits/websegura#readme",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^0.11.1",
|
||||
"csv-parse": "^4.14.2"
|
||||
"sass": "^1.32.5"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user