Compare commits

...

2 Commits

  1. 5
      README.md
  2. 47
      assets/_lowry.scss
  3. 2290
      package-lock.json
  4. 12
      package.json
  5. 2
      tmpl/header.html
  6. 31
      webpack.config.js

5
README.md

@ -1,3 +1,8 @@
> branch `lowry-bs5-sd` es la de desarrollo de Bootstrap5 para SinDominio
nota: https://getbootstrap.com/docs/5.0/migration/
Set up a testing environment:
```
make deps

47
assets/_lowry.scss

@ -1,3 +1,36 @@
/*
css de SinDominio.net
para el template de Lowry basado en Bootstrap5
2020 12 22
entre otras cosas utiliza:
- https://semantic-ui.com/
- https://fomantic-ui.com/
*/
@charset "UTF-8";
@font-face{
font-family: 'Neuropolitical';
src: local('Neuropolitical'), url('../fonts/neuropolitical-regular.ttf') format('truetype');
font-style: normal;
font-weight: normal;
}
:root {
--sd-color-verdemar: #46869b;
--sd-color-verdeoscuro2: #327186;
--sd-color-verdeoscuro: #427180;
--sd-color-purpura: #B434D5;
--sd-color-blanco: #fefefe;
--sd-color-negro: #010101;
--sd-color-casinegro: #333;
--sd-color-grisoscuro: #444;
--sd-color-grisclaro: #e0e1e2;
--sd-margin: 1rem;
--sd-padding: 1rem;
--sd-border: 1px solid var(--sd-color-grisclaro);
}
.progress-bar {
background-color: $primary;
}
@ -13,18 +46,22 @@ background-color: $primary;
body{
&.login{
background-image:url('../img/bg-lowry01.jpg');
background-image:url('../img/bg-lowry02.jpg');
background-color:transparent;
background-repeat: no-repeat ;
background-position:center center;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
-webkit-background-size: cover;
.container {
margin: 10vh auto;
}
}
}
.logosd em{
.logosd em{
display:none;
}
.logosd::before{

2290
package-lock.json generated

File diff suppressed because it is too large Load Diff

12
package.json

@ -1,6 +1,6 @@
{
"name": "lowry",
"version": "0.0.0",
"version": "0.0.1",
"description": "Our favorite burocrat",
"main": "assets/index.js",
"scripts": {
@ -13,23 +13,25 @@
"author": "SinDominio",
"license": "AGPL-3.0",
"dependencies": {
"bootstrap": "^4.4.1",
"jquery": "^3.4.1",
"bootstrap": "^5.0.0-beta1",
"jquery": "^3.5.1",
"popper.js": "^1.16.1",
"webassemblyjs": "^1.9.0"
},
"devDependencies": {
"@popperjs/core": "^2.6.0",
"@svgr/core": "^4.3.3",
"ajv": "^6.12.6",
"autoprefixer": "^7.1.3",
"css-loader": "^3.4.2",
"expose-loader": "^0.7.5",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^3.0.1",
"node-sass": "^4.13.1",
"node-sass": "^5.0.0",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.3.1",
"style-loader": "^0.18.2",
"webpack": "^4.42.1",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.11"
}
}

2
tmpl/header.html

@ -5,5 +5,5 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/png" href="/img/favicon_sd.png"/>
<link rel="stylesheet" href="/style.css">
<title>lowry</title>
<title>Lowry - el burocrata que trabaja para SinDominio</title>
<script src="/bundle.js"></script>

31
webpack.config.js

@ -49,7 +49,7 @@ module.exports = {
options: {
name: '[name].[ext]',
outputPath: 'img/',
},
},
},
{
test: require.resolve('jquery'),
@ -75,32 +75,3 @@ module.exports = {
new ExtractTextPlugin('style.css')
]
};
//
//
//
//https://getbootstrap.com/docs/4.0/getting-started/webpack/
// loaders: [
// {
// test: /\.scss$/,
// use: [{
// loader: 'style-loader', // inject CSS to page
// }, {
// loader: 'css-loader', // translates CSS into CommonJS modules
// }, {
// loader: 'postcss-loader', // Run post css actions
// options: {
// plugins: function () { // post css plugins, can be exported to postcss.config.js
// return [
// require('precss'),
// require('autoprefixer')
// ];
// }
// }
// }, {
// loader: 'sass-loader' // compiles Sass to CSS
// }]
// }
// ],

Loading…
Cancel
Save