1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

cells shadow

This commit is contained in:
Fedor Katurov 2019-10-21 21:17:05 +07:00
parent e5c5089067
commit 42139b0dde
5 changed files with 30 additions and 31 deletions

View file

@ -111,6 +111,8 @@
} }
.face { .face {
@include outer_shadow();
box-sizing: border-box; box-sizing: border-box;
position: absolute; position: absolute;
top: 0; top: 0;

View file

@ -4,6 +4,7 @@
min-width: 0; min-width: 0;
width: 100%; width: 100%;
transition: height 0.25s; transition: height 0.25s;
border-radius: $radius $radius 0 0;
} }
.image_container { .image_container {

BIN
src/sprites/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

View file

@ -46,7 +46,7 @@ $button_bg_color: $red_gradient;
$comment_bg: lighten($content_bg, 2%); $comment_bg: lighten($content_bg, 2%);
$panel_bg: transparent; $panel_bg: transparent;
$node_bg: darken($content_bg, 2%); $node_bg: darken($content_bg, 2%);
$node_image_bg: darken($main_bg_color, 7%); $node_image_bg: darken($main_bg_color, 4%);
$node_title_background: darken($main_bg_color, 8%); $node_title_background: darken($main_bg_color, 8%);
$editor_bg: $content_bg; $editor_bg: $content_bg;

View file

@ -11,7 +11,7 @@ const htmlPlugin = new HtmlWebPackPlugin({
filename: './index.html', filename: './index.html',
title: 'VAULT', title: 'VAULT',
hash: false, hash: false,
// favicon: 'src/sprites/favicon.png', favicon: 'src/sprites/favicon.ico',
}); });
const isDevelopment = process.env.NODE_ENV !== 'production'; const isDevelopment = process.env.NODE_ENV !== 'production';
@ -22,7 +22,7 @@ const resolve = {
'react-dom': '@hot-loader/react-dom', 'react-dom': '@hot-loader/react-dom',
'~': join(__dirname, 'src'), '~': join(__dirname, 'src'),
}, },
extensions: ['*', '.ts', '.tsx', '.js', '.jsx', '.json', '.scss'] extensions: ['*', '.ts', '.tsx', '.js', '.jsx', '.json', '.scss'],
}; };
/* Configuration */ /* Configuration */
@ -45,10 +45,7 @@ module.exports = () => {
rules: [ rules: [
{ {
test: /\.css$/, test: /\.css$/,
use: [ use: [{ loader: 'style-loader' }, { loader: 'css-loader' }],
{ loader: 'style-loader' },
{ loader: 'css-loader' }
],
}, },
{ {
test: /\.less$/, test: /\.less$/,
@ -62,11 +59,11 @@ module.exports = () => {
modules: true, modules: true,
sourceMap: true, sourceMap: true,
importLoaders: 2, importLoaders: 2,
localIdentName: '[folder]__[local]__[hash:base64:5]' localIdentName: '[folder]__[local]__[hash:base64:5]',
}
}, },
{ loader: 'less-loader' } },
] { loader: 'less-loader' },
],
}, },
{ {
test: /\.scss$/, test: /\.scss$/,
@ -79,16 +76,16 @@ module.exports = () => {
modules: true, modules: true,
sourceMap: true, sourceMap: true,
importLoaders: 2, importLoaders: 2,
localIdentName: '[folder]__[local]__[hash:base64:5]' localIdentName: '[folder]__[local]__[hash:base64:5]',
} },
}, },
{ loader: 'resolve-url-loader' }, { loader: 'resolve-url-loader' },
{ {
loader: 'sass-loader', loader: 'sass-loader',
options: { options: {
sourceMap: true, sourceMap: true,
sourceMapContents: false sourceMapContents: false,
} },
}, },
{ {
loader: 'sass-resources-loader', loader: 'sass-resources-loader',
@ -96,14 +93,14 @@ module.exports = () => {
resources: ['src/styles/variables.scss'], resources: ['src/styles/variables.scss'],
}, },
}, },
] ],
}, },
{ {
test: /\.(ts|tsx|js|jsx)$/, test: /\.(ts|tsx|js|jsx)$/,
exclude: /node_modules/, exclude: /node_modules/,
use: { use: {
loader: 'babel-loader' loader: 'babel-loader',
} },
}, },
{ test: /\.(ts|tsx)?$/, loader: 'awesome-typescript-loader' }, { test: /\.(ts|tsx)?$/, loader: 'awesome-typescript-loader' },
{ {
@ -113,17 +110,17 @@ module.exports = () => {
options: { options: {
name: '[name].[ext]', name: '[name].[ext]',
// outputPath: '/font' // outputPath: '/font'
} },
} },
}, },
{ {
test: /\.(png|svg)$/, test: /\.(png|svg)$/,
use: { use: {
loader: 'file-loader', loader: 'file-loader',
options: {} options: {},
} },
} },
] ],
}, },
devtool, devtool,
resolve, resolve,
@ -151,18 +148,18 @@ module.exports = () => {
minChunks: 2, minChunks: 2,
minSize: 0, minSize: 0,
reuseExistingChunk: true, reuseExistingChunk: true,
} },
} },
}, },
minimizer: [ minimizer: [
new UglifyJsPlugin({ new UglifyJsPlugin({
cache: true, cache: true,
parallel: true, parallel: true,
sourceMap: true // set to true if you want JS source maps sourceMap: true, // set to true if you want JS source maps
}), }),
new OptimizeCSSAssetsPlugin({}) new OptimizeCSSAssetsPlugin({}),
], ],
occurrenceOrder: true // To keep filename consistent between different modes (for example building only) occurrenceOrder: true, // To keep filename consistent between different modes (for example building only)
}, },
devServer: { devServer: {
historyApiFallback: true, historyApiFallback: true,
@ -171,7 +168,6 @@ module.exports = () => {
contentBase: 'dist', contentBase: 'dist',
publicPath: '/', publicPath: '/',
hot: true, hot: true,
} },
}; };
}; };