GithubHelp home page GithubHelp logo

josee9988 / minifyall Goto Github PK

View Code? Open in Web Editor NEW
65.0 3.0 10.0 26.76 MB

A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗶𝗻𝗶𝗳𝗶𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 𝘾𝙤𝙢𝙥𝙧𝙚𝙨𝙨 and 𝙜𝙯𝙞𝙥 files and folders 📦 Reduce your bundle and file sizes with lightning speed ⚡

Home Page: https://minifyall.jgracia.es/

License: GNU General Public License v3.0

TypeScript 90.81% Shell 6.19% JavaScript 3.00%
visual-studio-code minifier vscode minimization extension vscode-extension vscode-plugin typescript css json

minifyall's Introduction

Hi there, I'm Jose Gracia Berenguer! 👋

I'm a Software Engineering (CE) studiet at the UPV🧑‍🎓🎓. In addition to my degree, I have also completed a Senior technician qualification in Web Applications Development (DAW) and a Technician qualification in Microcomputer Systems and Networks (SMR).

On my website web portfolio (jgracia.es)🧙‍♂️, you can find more information about my career and professional background.

Thank you for stopping by.


😊 About me

  • 🔭 I'm currently working while I continue studying new technologies.
  • 🌱 I'm learning Go and React.js.
  • 💬 Ask me about anything, but for now, I'm fully open to new projects, collaborations or ideas!
  • ⚡ Fun fact: Others turn coffee into code; I prefer working out 🏋🏽 or going out with the bike 🚴

📊 Stats


📫 How to reach me



Made with a lot of ❤️❤️ by @Josee9988 | for more information please visit jgracia.es

minifyall's People

Contributors

allcontributors[bot] avatar cube707 avatar dependabot-preview[bot] avatar dependabot[bot] avatar ilteoood avatar imgbotapp avatar josee9988 avatar pattishih avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minifyall's Issues

Agregar extensiones de archivos a omitir.

La idea sería que añadieras la opción de poder agregar una lista de extensiones de archivos ya que por ejemplo he abierto un .php y al guardar me lo ha creado la versión reducida y no debería.

No se como funciona exactamente, pero la idea sería algo asi.
MinifyAll.ignoreFileExtensions = [".php", ".ext", "etc"]

Investigaré mas sobre el como funcionan las extensiones del VSCode para poder ayudarte a implementar alguna de estas ideas, si quisieras claro.

Off topic: Yo antes usaba el DreamWeaver para editar las paginas web, porque permite crear "proyectos" por separado y acceso rapido, colorea la sintaxis, la subida mediante FTP, y alguna cosa que otra, nunca como diseñador (mete o metía mucha basura en el código almenos en 2005) junto a un programita que se llamaba Koala que me generaba los CSS a partir de SCSS y me reducía los JS, para Java usaba el NetBeans IDE y para C# uso el Visual Studio.

Y ahora estoy tratando de "amoldar" el Visual Studio Code a que me haga todo eso para las paginas web.

Insisto en el buen trabajo que estas realizando con la extensión ;)

Have it work in command line without `vscode`

Is your feature request related to a problem? Please describe.
It's good to have it work in command line without vscode. https://github.com/babel/minify is pretty good. Some developers like vscode, however not all of them. So command line is good to have the minified be replicated on different environments or platforms.

Describe the solution you'd like
minify <directory>, the output could be such as <PATH>/<filename>.min<.js>

Conserve space after closed tag

Hi,
if i have this html code :
<i class="fa fa-exclamation-triangle" aria-hidden="true"/></i> Signaler le numéro

If i minify i lost the space after the </i>tag

<i class="fa fa-exclamation-triangle" aria-hidden="true"/></i>Signaler le numéro

Is there any way to prevent that?

Unfounded message

I enabled minifyOnSaveToNewFile and minifyOnSave is disabled by default as I want the format on a new file.
I don't want to disable the message.
Any way thanks for that nice extension

Gzip minified files

Thanks for developed this extension, please add option to gzip after minified files.

Add options to prevent minified files got minified again

Is your feature request related to a problem? Please describe.

Sometimes when opening a *.min.js file, I might accidentally save the file. This is troubling because I'm using this extension with minifyOnSave set to true, which make the minified file get minified again. Sure, there is fault in my part (I should stop reflexively press Ctrl+S after every seconds), however it might be better to add options to exclude some file from minifying process.

Describe the solution you'd like

Minified file shouldn't be minified again.

Additional context

If possible, could you also add settings to exclude some file or directories ? This feature will be useful to prevent VS Code settings and task configuration get minified by this extension.

Add minify-on-save feature

Is your feature request related to a problem? Please describe.
Reduce keystrokes and eliminate issues in which project members forget to minify files upon saving.

Describe the solution you'd like
Add an option to the settings in vscode to minify on save. Add another setting which instructs the extension to save to new files. Add settings which allows the user to turn on/off the minimization of various types of files. For example, if we want to minify all types except for HTML files, then let us select or deselect the option for HTML files.

Describe alternatives you've considered
Several minifiers include this functionality, and turn it off by default. (Seems like it would reduce a greater number of issues and blamings in teams if it defaulted to on.)

Been able to add custom file type (example: imljson is an JSON type)

Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to use the tool with for example the file extension .imljson. This is a type of file from a Custom SDK. The syntax is the same as .json

Describe the solution you'd like
I think that one way to solve this is been able to configure this custom type related to another type of file, .imljson is the same as .json

Describe alternatives you've considered
None

Additional context
image

SNV_04453_2020-03-21_09-29-12

SNV_04451_2020-03-21_09-23-48

Does MinifyAll Extension Work with SFTP

I use SFTP by liximomo for file uploads to the server. When I minify a file using your extension, it saves locally but does not upload to the server. My SFTP settings are set to upload on save and works fine with all files on my local machine except newly minified files.

Does your extension interact with SFTP to auto upload to the server upon local save & minify? If so, how do I make it happen?

Thank you!

An issue with the minify json feature

The Issue
When I use this extension to minify a json file, it won't remove space after comma in the json array.

The Example
For example, the current version of this extension will minify these lines:

{
	"Object1": ["item1", "item2", "item3"]
}

into {"Object1":["item1", "item2", "item3"]} instead of {"Object1":["item1","item2","item3"]}.

The Solution
For example, you can look at this commit: https://github.com/irfantaufiq/MinifyAll/commit/c67a763afa116ba59bf96725fa54594ff07980ea

Can't use 'Minify the selected document and preserve the original (ENOENT W10 error)'

Describe the bug
Can't use 'Minify the selected document and preserve the original 💎',

To Reproduce
Steps to reproduce the behavior:

  1. Right click a file (Javascript in my case)
  2. Select 'Minify the selected document and preserve the original 💎'

Expected behavior
The minified document should be next to the original one.

Screenshots
image

Additional context

  • Moving the file in the C drive (or any other drive) doesn't fix it.
  • All the other commands works as expected on the tested file.

Problem with "Minify this document and preserve the original"

I have problems using this "Minify this document and preserve the original" function.
My projects are in the drive D:
The extension tries to save the new file in the C: \ drive

Steps to reproduce the behavior:

  1. select the file in my work area
  2. Right click on this
  3. I select the option "Minify this document and keep the original"
  4. I see the following error: Error: ENOENT: no such file or directory exists, open 'C: \ d: \ Projects \ WebVeng \ css \ fontello.css'

You are using by default the drive where vscode is installed.

image

Se abre la version minimizada en la misma pestaña.

A la hora de guardar un documento por ejemplo un .JS, sí que me genera la versión -min.js, pero a su vez me abre en la misma pestaña del código original la versión reducida, por lo que entiendo que se sobre escribiría el original, aparte de no poder seguir modificandolo sin cerrarlo primero.

Configuración usada:
Sin título-1

Vista de lo que hace https://vimeo.com/382749776

Un saludo y gracias.

HTML spaces removed completely on line endings

When minifying HTML file some of the words are combined.

Eg:
This...


                                                    <p>The role will involve working within Gloucestershire&rsquo;s
                                                        countywide Continuing Health Care Team. You will be
                                                        completing CHC assessments and taking a vital role in the
                                                        multi-disciplinary team to complete the Decision Support
                                                        Tool (DST). This will include making decisions around
                                                        eligibility of a primary health need. You will work with
                                                        colleagues within the CHC team to ensure that a seamless
                                                        service is provided to all individuals who may become
                                                        eligible for CHC, have become ineligible for CHC or are CHC
                                                        funded. You will be involved in supporting the development
                                                        of partnership CHC practice by sharing CHC information with
                                                        locality champions for cascading to locality staff under the
                                                        direction of the CHC operational lead.</p>

Is minified to...


The role will involve working within Gloucestershire’scountywide Continuing Health Care Team. You will becompleting CHC assessments and taking a vital role in themulti-disciplinary team to complete the Decision SupportTool (DST). This will include making decisions aroundeligibility of a primary health need. You will work withcolleagues within the CHC team to ensure that a seamlessservice is provided to all individuals who may becomeeligible for CHC, have become ineligible for CHC or are CHCfunded. You will be involved in supporting the developmentof partnership CHC practice by sharing CHC information withlocality champions for cascading to locality staff under thedirection of the CHC operational lead.


VSCode is set to use spaces for indenting

Change minified file name

Hi, it's possibile to customize the minified file name?
I would like it to be for example styles.min.css instead styles-min.css

Remove console.log from minified JS.

Is your feature request related to a problem? Please describe.
In minified js, console.log statements not removed! I minified a js file and found this issue.

Describe the solution you'd like
From minified js, console.log statement should be removed.

Describe alternatives you've considered
We can add additional setting to remove console.log for js files, and default we can set it to true. So by default this extention will remove console.log statement from minified js. If use want they can disable it from the settings.

Additional context
N/A

Archlinux Distros and VS Code - Marketplace

For those of us using VSCode from the main ( Non AUR ) repository, VSCode is only searching OpenVSX and not VSCode marketplace... which means searching for extensions or attempting to install via typical instructions such as the ones provided for this extension currently do not work because this extension does not appear to be published to OpenVSX.

The work-around is to manually download and install from local file.

So my question or request is.... could someone publish this extension to OpenVSX?

Don't ask me why or for what reasons the main repo version of VSCode is set to not look at the Marketplace ( very annoying )... but I just spent 30 minutes trying to figure out what was going on with a couple of extensions that I had no issue finding and installing from another instance ( non Archlinux )... and ran into this discovery which appears to have been a ( kinda ) recent change.

Just thought I would look out for the next archlinux guy using VSCode installed from the main repos ;-)

Thanks!

CSS minification error

.mediabox-close {
background: url(../img/mediabox-close.png);
}

get's minified into

.mediabox-close{background:url(../img/m.ediabox-close.png);}

example html minified but with multiple lines

For some reason my code isn't show correctly here in github.

I've disabled all of my other plugins.

Example html:

<html lang="es">

<head>
    <title></title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="">
    <script type="text/javascript' src=""></script>
    <!-- test -->
</head>

<!-- ~~~~~✦✦✦✦✦ B O
 D Y ✦✦✦✦✦~~~~~ -->
<body>
    
</body>

</html>


Minified html:
<!DOCTYPE html>
<html lang="es"><head> <title></title> <meta charset="utf-8"> <link rel="stylesheet"href=""> <script type="text/javascript' src=""></script> </head>
<body></body></html>


Error: ENOENT

Describe the bug
Not working if you try run minify from SideBar

To Reproduce
Steps to reproduce the behavior:

  1. Open simple folder with simple project
  2. Click on this:
    obraz
  3. See error
    obraz

Additional context

  1. double path on error C:\c:\ ??
  2. Everything work ok if i run minify from the Editor or from command line:

obraz

obraz

obraz

obraz

Env:
obraz
obraz

CSS file almsopt completly stripped

I tried your minify plugin and found it has some issues. Perhaps i missed something in the settings. I seemed to work good on files., then noticed something was showing correctly on my website. Checking on of the minimized files i noticed almost everything got striped somehow

Run this file on your minifier. sorry cant attach *.css here

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);
@import url(https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

/*
/*	OFFICIAL COLORS				*/

/*	Blue = #00acec;		*/

/*	Blue = #00abeb; (RGB)		*/

/*	Yellow = #f5ec4a; (CMYK)		*/

/*	Yellow = #f5ec49; (RGB)		*/

/*	Cold Grey = #59656f; (CMYK)		*/

/*	Cold Grey = #58656e; (RGB)		*/

/*	END OFFICIAL COLORS			*/

body {
	font-style: normal;
	line-height: 1.5;
}

.mbr-section-title {
	font-style: normal;
	line-height: 1.2;
}

.mbr-section-subtitle {
	line-height: 1.3;
}

.mbr-text {
	font-style: normal;
	line-height: 1.6;
}

.display-1 {
	font-family: 'Open Sans', sans-serif;
	font-size: 2rem;
}

.display-1 > .mbr-iconfont {
	font-size: 3.2rem;
}

.display-2 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.5rem;
}

.display-2 > .mbr-iconfont {
	font-size: 2.4rem;
}

.display-4 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.2rem;
}

.display-4 > .mbr-iconfont {
	font-size: 1.92rem;
}

.display-5 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1.2rem;
}

.display-5 > .mbr-iconfont {
	font-size: 1.92rem;
}

.display-7 {
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
}

.display-7 > .mbr-iconfont {
	font-size: 1.6rem;
}

/* ---- Fluid typography for mobile devices ---- */

/* 1.4 - font scale ratio ( bootstrap == 1.42857 ) */

/* 100vw - current viewport width */

/* (48 - 20)  48 == 48rem == 768px, 20 == 20rem == 320px(minimal supported viewport) */

/* 0.65 - min scale variable, may vary */

@media (max-width: 768px) {
	.display-1 {
		font-size: 1.6rem;
		font-size: calc( 1.35rem + (2 - 1.35) * ((100vw - 20rem) / (48 - 20)));
		line-height: calc( 1.4 * (1.35rem + (2 - 1.35) * ((100vw - 20rem) / (48 - 20))));
	}
	.display-2 {
		font-size: 1.2rem;
		font-size: calc( 1.175rem + (1.5 - 1.175) * ((100vw - 20rem) / (48 - 20)));
		line-height: calc( 1.4 * (1.175rem + (1.5 - 1.175) * ((100vw - 20rem) / (48 - 20))));
	}
	.display-4 {
		font-size: 0.96rem;
		font-size: calc( 1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20)));
		line-height: calc( 1.4 * (1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20))));
	}
	.display-5 {
		font-size: 0.96rem;
		font-size: calc( 1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20)));
		line-height: calc( 1.4 * (1.07rem + (1.2 - 1.07) * ((100vw - 20rem) / (48 - 20))));
	}
}

/* Buttons */

.btn {
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	border-width: 2px;
	font-style: normal;
	letter-spacing: 1px;
	margin: .4rem .8rem;
	white-space: normal;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 1rem 3rem;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	word-break: break-word;
}

.btn-sm {
	font-weight: 500;
	letter-spacing: 1px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 0.6rem 1.5rem;
	border-radius: 3px;
}

.btn-md {
	font-weight: 500;
	letter-spacing: 1px;
	margin: .4rem .8rem !important;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 1rem 3rem;
	border-radius: 3px;
}

.btn-lg {
	font-weight: 500;
	letter-spacing: 1px;
	margin: .4rem .8rem !important;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	padding: 1.2rem 3.2rem;
	border-radius: 3px;
}

.bg-primary {
	background-color: #00acec !important;
}

.bg-success {
	background-color: #f5ec4a !important;
}

.bg-info {
	background-color: #f5ec4a !important;
}

.bg-warning {
	background-color: #f5ec4a !important;
}

.bg-danger {
	background-color: #232323 !important;
}

.btn-primary,
.btn-primary:active,
.btn-primary.active {
	background-color: #00acec;
	border-color: #00acec;
	color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
	color: #ffffff;
	background-color: #0076a3;
	border-color: #0076a3;
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #ffffff !important;
	background-color: #0076a3 !important;
	border-color: #0076a3 !important;
}

.btn-secondary,
.btn-secondary:active,
.btn-secondary.active {
	background-color: #00acec;
	border-color: #00acec;
	color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus {
	color: #ffffff;
	background-color: #0076a3;
	border-color: #0076a3;
}

.btn-secondary.disabled,
.btn-secondary:disabled {
	color: #ffffff !important;
	background-color: #0076a3 !important;
	border-color: #0076a3 !important;
}

.btn-info,
.btn-info:active,
.btn-info.active {
	background-color: #f5ec4a;
	border-color: #f5ec4a;
	color: #ffffff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-info.disabled,
.btn-info:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-success,
.btn-success:active,
.btn-success.active {
	background-color: #f5ec4a;
	border-color: #f5ec4a;
	color: #ffffff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-success.disabled,
.btn-success:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-warning,
.btn-warning:active,
.btn-warning.active {
	background-color: #f5ec4a;
	border-color: #f5ec4a;
	color: #ffffff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-warning.disabled,
.btn-warning:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-danger,
.btn-danger:active,
.btn-danger.active {
	background-color: #232323;
	border-color: #232323;
	color: #ffffff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus {
	color: #ffffff;
	background-color: #000000;
	border-color: #000000;
}

.btn-danger.disabled,
.btn-danger:disabled {
	color: #ffffff !important;
	background-color: #000000 !important;
	border-color: #000000 !important;
}

.btn-white {
	color: #333333 !important;
}

.btn-white,
.btn-white:active,
.btn-white.active {
	background-color: #ffffff;
	border-color: #ffffff;
	color: #ffffff;
}

.btn-white:hover,
.btn-white:focus,
.btn-white.focus {
	color: #ffffff;
	background-color: #d4d4d4;
	border-color: #d4d4d4;
}

.btn-white.disabled,
.btn-white:disabled {
	color: #ffffff !important;
	background-color: #d4d4d4 !important;
	border-color: #d4d4d4 !important;
}

.btn-black,
.btn-black:active,
.btn-black.active {
	background-color: #333333;
	border-color: #333333;
	color: #ffffff;
}

.btn-black:hover,
.btn-black:focus,
.btn-black.focus {
	color: #ffffff;
	background-color: #0d0d0d;
	border-color: #0d0d0d;
}

.btn-black.disabled,
.btn-black:disabled {
	color: #ffffff !important;
	background-color: #0d0d0d !important;
	border-color: #0d0d0d !important;
}

.btn-primary-outline,
.btn-primary-outline:active,
.btn-primary-outline.active {
	background: none;
	border-color: #006489;
	color: #006489;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus,
.btn-primary-outline.focus {
	color: #ffffff;
	background-color: #00acec;
	border-color: #00acec;
}

.btn-primary-outline.disabled,
.btn-primary-outline:disabled {
	color: #ffffff !important;
	background-color: #00acec !important;
	border-color: #00acec !important;
}

.btn-secondary-outline,
.btn-secondary-outline:active,
.btn-secondary-outline.active {
	background: none;
	border-color: #006489;
	color: #006489;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus,
.btn-secondary-outline.focus {
	color: #ffffff;
	background-color: #00acec;
	border-color: #00acec;
}

.btn-secondary-outline.disabled,
.btn-secondary-outline:disabled {
	color: #ffffff !important;
	background-color: #00acec !important;
	border-color: #00acec !important;
}

.btn-info-outline,
.btn-info-outline:active,
.btn-info-outline.active {
	background: none;
	border-color: #beb406;
	color: #beb406;
}

.btn-info-outline:hover,
.btn-info-outline:focus,
.btn-info-outline.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-info-outline.disabled,
.btn-info-outline:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-success-outline,
.btn-success-outline:active,
.btn-success-outline.active {
	background: none;
	border-color: #beb406;
	color: #beb406;
}

.btn-success-outline:hover,
.btn-success-outline:focus,
.btn-success-outline.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-success-outline.disabled,
.btn-success-outline:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-warning-outline,
.btn-warning-outline:active,
.btn-warning-outline.active {
	background: none;
	border-color: #beb406;
	color: #beb406;
}

.btn-warning-outline:hover,
.btn-warning-outline:focus,
.btn-warning-outline.focus {
	color: #ffffff;
	background-color: #f5ec4a;
	border-color: #f5ec4a;
}

.btn-warning-outline.disabled,
.btn-warning-outline:disabled {
	color: #ffffff !important;
	background-color: #f5ec4a !important;
	border-color: #f5ec4a !important;
}

.btn-danger-outline,
.btn-danger-outline:active,
.btn-danger-outline.active {
	background: none;
	border-color: #000000;
	color: #000000;
}

.btn-danger-outline:hover,
.btn-danger-outline:focus,
.btn-danger-outline.focus {
	color: #ffffff;
	background-color: #232323;
	border-color: #232323;
}

.btn-danger-outline.disabled,
.btn-danger-outline:disabled {
	color: #ffffff !important;
	background-color: #232323 !important;
	border-color: #232323 !important;
}

.btn-black-outline,
.btn-black-outline:active,
.btn-black-outline.active {
	background: none;
	border-color: #000000;
	color: #000000;
}

.btn-black-outline:hover,
.btn-black-outline:focus,
.btn-black-outline.focus {
	color: #ffffff;
	background-color: #333333;
	border-color: #333333;
}

.btn-black-outline.disabled,
.btn-black-outline:disabled {
	color: #ffffff !important;
	background-color: #333333 !important;
	border-color: #333333 !important;
}

.btn-white-outline,
.btn-white-outline:active,
.btn-white-outline.active {
	background: none;
	border-color: #ffffff;
	color: #ffffff;
}

.btn-white-outline:hover,
.btn-white-outline:focus,
.btn-white-outline.focus {
	color: #333333;
	background-color: #ffffff;
	border-color: #ffffff;
}

.text-primary {
	color: #00acec !important;
}

.text-secondary {
	color: #00acec !important;
}

.text-success {
	color: #f5ec4a !important;
}

.text-info {
	color: #f5ec4a !important;
}

.text-warning {
	color: #f5ec4a !important;
}

.text-danger {
	color: #232323 !important;
}

.text-white {
	color: #ffffff !important;
}

.text-black {
	color: #000000 !important;
}

a.text-primary:hover,
a.text-primary:focus {
	color: #006489 !important;
}

a.text-secondary:hover,
a.text-secondary:focus {
	color: #006489 !important;
}

a.text-success:hover,
a.text-success:focus {
	color: #beb406 !important;
}

a.text-info:hover,
a.text-info:focus {
	color: #beb406 !important;
}

a.text-warning:hover,
a.text-warning:focus {
	color: #beb406 !important;
}

a.text-danger:hover,
a.text-danger:focus {
	color: #000000 !important;
}

a.text-white:hover,
a.text-white:focus {
	color: #b3b3b3 !important;
}

a.text-black:hover,
a.text-black:focus {
	color: #4d4d4d !important;
}

.alert-success {
	background-color: #70c770;
}

.alert-info {
	background-color: #f5ec4a;
}

.alert-warning {
	background-color: #f5ec4a;
}

.alert-danger {
	background-color: #232323;
}

.mbr-section-btn a.btn:not(.btn-form) {
	border-radius: 100px;
}

.mbr-section-btn a.btn:not(.btn-form):hover {
	box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

.mbr-gallery-filter li a {
	border-radius: 100px !important;
}

.mbr-gallery-filter li.active .btn {
	background-color: #00acec;
	border-color: #00acec;
	color: #ffffff;
}

.mbr-gallery-filter li.active .btn:focus {
	box-shadow: none;
}

.nav-tabs .nav-link {
	border-radius: 100px !important;
}

.btn-form {
	border-radius: 0;
}

.btn-form:hover {
	cursor: pointer;
}

a,
a:hover {
	color: #00acec;
}

.mbr-plan-header.bg-primary .mbr-plan-subtitle,
.mbr-plan-header.bg-primary .mbr-plan-price-desc {
	color: #bcedff;
}

.mbr-plan-header.bg-success .mbr-plan-subtitle,
.mbr-plan-header.bg-success .mbr-plan-price-desc {
	color: #fffef7;
}

.mbr-plan-header.bg-info .mbr-plan-subtitle,
.mbr-plan-header.bg-info .mbr-plan-price-desc {
	color: #fffef7;
}

.mbr-plan-header.bg-warning .mbr-plan-subtitle,
.mbr-plan-header.bg-warning .mbr-plan-price-desc {
	color: #fffef7;
}

.mbr-plan-header.bg-danger .mbr-plan-subtitle,
.mbr-plan-header.bg-danger .mbr-plan-price-desc {
	color: #d5d5d5;
}

/* Scroll to top button*/

.scrollToTop_wraper {
	opacity: 0 !important;
}

/* Others*/

.note-check a[data-value=Rubik] {
	font-style: normal;
}

.mbr-arrow a {
	color: #ffffff;
}

.form-control-label {
	position: relative;
	cursor: pointer;
	margin-bottom: .357em;
	padding: 0;
}

.alert {
	color: #ffffff;
	border-radius: 0;
	border: 0;
	font-size: .875rem;
	line-height: 1.5;
	margin-bottom: 1.875rem;
	padding: 1.25rem;
	position: relative;
}

.alert.alert-form::after {
	background-color: inherit;
	bottom: -7px;
	content: "";
	display: block;
	height: 14px;
	left: 50%;
	margin-left: -7px;
	position: absolute;
	transform: rotate(45deg);
	width: 14px;
}

.form-control {
	background-color: #f5f5f5;
	box-shadow: none;
	color: #565656;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	line-height: 1.43;
	min-height: 3.5em;
	padding: 1.07em .5em;
}

.form-control > .mbr-iconfont {
	font-size: 1.6rem;
}

.form-control,
.form-control:focus {
	border: 1px solid #e8e8e8;
}

.form-active .form-control:invalid {
	border-color: red;
}

.mbr-overlay {
	background-color: #000;
	bottom: 0;
	left: 0;
	opacity: .5;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

blockquote {
	font-style: italic;
	padding: 10px 0 10px 20px;
	font-size: 1.09rem;
	position: relative;
	border-color: #00acec;
	border-width: 3px;
}

ul,
ol,
pre,
blockquote {
	margin-bottom: 2.3125rem;
}

pre {
	background: #f4f4f4;
	padding: 10px 24px;
	white-space: pre-wrap;
}

.inactive {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	-webkit-user-drag: none;
}

.mbr-section__comments .row {
	justify-content: center;
}

/* Forms */

.mbr-form .btn {
	margin: .4rem 0;
}

.mbr-form .input-group-btn a.btn {
	border-radius: 100px !important;
}

.mbr-form .input-group-btn a.btn:hover {
	box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

.mbr-form .input-group-btn button[type="submit"] {
	border-radius: 100px !important;
	padding: 1rem 3rem;
}

.mbr-form .input-group-btn button[type="submit"]:hover {
	box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

.form2 .form-control {
	border-top-left-radius: 100px;
	border-bottom-left-radius: 100px;
}

.form2 .input-group-btn a.btn {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.form2 .input-group-btn button[type="submit"] {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.form3 input[type="email"] {
	border-radius: 100px !important;
}

@media (max-width: 349px) {
	.form2 input[type="email"] {
		border-radius: 100px !important;
	}
	.form2 .input-group-btn a.btn {
		border-radius: 100px !important;
	}
	.form2 .input-group-btn button[type="submit"] {
		border-radius: 100px !important;
	}
}

@media (max-width: 767px) {
	.btn {
		font-size: .75rem !important;
	}
	.btn .mbr-iconfont {
		font-size: 1rem !important;
	}
}

/* Social block */

.btn-social {
	font-size: 20px;
	border-radius: 50%;
	padding: 0;
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	position: relative;
	border: 2px solid #c0a375;
	border-color: #00acec;
	color: #232323;
	cursor: pointer;
}

.btn-social i {
	top: 0;
	line-height: 44px;
	width: 44px;
}

.btn-social:hover {
	color: #fff;
	background: #00acec;
}

.btn-social + .btn {
	margin-left: .1rem;
}

/* Footer */

.mbr-footer-content li::before,
.mbr-footer .mbr-contacts li::before {
	background: #00acec;
}

.mbr-footer-content li a:hover,
.mbr-footer .mbr-contacts li a:hover {
	color: #00acec;
}

.footer3 input[type="email"],
.footer4 input[type="email"] {
	border-radius: 100px !important;
}

.footer3 .input-group-btn a.btn,
.footer4 .input-group-btn a.btn {
	border-radius: 100px !important;
}

.footer3 .input-group-btn button[type="submit"],
.footer4 .input-group-btn button[type="submit"] {
	border-radius: 100px !important;
}

/* Headers*/

.header13 .form-inline input[type="email"],
.header14 .form-inline input[type="email"] {
	border-radius: 100px;
}

.header13 .form-inline input[type="text"],
.header14 .form-inline input[type="text"] {
	border-radius: 100px;
}

.header13 .form-inline input[type="tel"],
.header14 .form-inline input[type="tel"] {
	border-radius: 100px;
}

.header13 .form-inline a.btn,
.header14 .form-inline a.btn {
	border-radius: 100px;
}

.header13 .form-inline button,
.header14 .form-inline button {
	border-radius: 100px !important;
}

.offset-1 {
	margin-left: 8.33333%;
}

.offset-2 {
	margin-left: 16.66667%;
}

.offset-3 {
	margin-left: 25%;
}

.offset-4 {
	margin-left: 33.33333%;
}

.offset-5 {
	margin-left: 41.66667%;
}

.offset-6 {
	margin-left: 50%;
}

.offset-7 {
	margin-left: 58.33333%;
}

.offset-8 {
	margin-left: 66.66667%;
}

.offset-9 {
	margin-left: 75%;
}

.offset-10 {
	margin-left: 83.33333%;
}

.offset-11 {
	margin-left: 91.66667%;
}

@media (min-width: 576px) {
	.offset-sm-0 {
		margin-left: 0%;
	}
	.offset-sm-1 {
		margin-left: 8.33333%;
	}
	.offset-sm-2 {
		margin-left: 16.66667%;
	}
	.offset-sm-3 {
		margin-left: 25%;
	}
	.offset-sm-4 {
		margin-left: 33.33333%;
	}
	.offset-sm-5 {
		margin-left: 41.66667%;
	}
	.offset-sm-6 {
		margin-left: 50%;
	}
	.offset-sm-7 {
		margin-left: 58.33333%;
	}
	.offset-sm-8 {
		margin-left: 66.66667%;
	}
	.offset-sm-9 {
		margin-left: 75%;
	}
	.offset-sm-10 {
		margin-left: 83.33333%;
	}
	.offset-sm-11 {
		margin-left: 91.66667%;
	}
}

@media (min-width: 768px) {
	.offset-md-0 {
		margin-left: 0%;
	}
	.offset-md-1 {
		margin-left: 8.33333%;
	}
	.offset-md-2 {
		margin-left: 16.66667%;
	}
	.offset-md-3 {
		margin-left: 25%;
	}
	.offset-md-4 {
		margin-left: 33.33333%;
	}
	.offset-md-5 {
		margin-left: 41.66667%;
	}
	.offset-md-6 {
		margin-left: 50%;
	}
	.offset-md-7 {
		margin-left: 58.33333%;
	}
	.offset-md-8 {
		margin-left: 66.66667%;
	}
	.offset-md-9 {
		margin-left: 75%;
	}
	.offset-md-10 {
		margin-left: 83.33333%;
	}
	.offset-md-11 {
		margin-left: 91.66667%;
	}
}

@media (min-width: 992px) {
	.offset-lg-0 {
		margin-left: 0%;
	}
	.offset-lg-1 {
		margin-left: 8.33333%;
	}
	.offset-lg-2 {
		margin-left: 16.66667%;
	}
	.offset-lg-3 {
		margin-left: 25%;
	}
	.offset-lg-4 {
		margin-left: 33.33333%;
	}
	.offset-lg-5 {
		margin-left: 41.66667%;
	}
	.offset-lg-6 {
		margin-left: 50%;
	}
	.offset-lg-7 {
		margin-left: 58.33333%;
	}
	.offset-lg-8 {
		margin-left: 66.66667%;
	}
	.offset-lg-9 {
		margin-left: 75%;
	}
	.offset-lg-10 {
		margin-left: 83.33333%;
	}
	.offset-lg-11 {
		margin-left: 91.66667%;
	}
}

@media (min-width: 1200px) {
	.offset-xl-0 {
		margin-left: 0%;
	}
	.offset-xl-1 {
		margin-left: 8.33333%;
	}
	.offset-xl-2 {
		margin-left: 16.66667%;
	}
	.offset-xl-3 {
		margin-left: 25%;
	}
	.offset-xl-4 {
		margin-left: 33.33333%;
	}
	.offset-xl-5 {
		margin-left: 41.66667%;
	}
	.offset-xl-6 {
		margin-left: 50%;
	}
	.offset-xl-7 {
		margin-left: 58.33333%;
	}
	.offset-xl-8 {
		margin-left: 66.66667%;
	}
	.offset-xl-9 {
		margin-left: 75%;
	}
	.offset-xl-10 {
		margin-left: 83.33333%;
	}
	.offset-xl-11 {
		margin-left: 91.66667%;
	}
}

.navbar-toggler {
	-webkit-align-self: flex-start;
	-ms-flex-item-align: start;
	align-self: flex-start;
	padding: 0.25rem 0.75rem;
	font-size: 1.25rem;
	line-height: 1;
	background: transparent;
	border: 1px solid transparent;
	-webkit-border-radius: 0.25rem;
	border-radius: 0.25rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
	text-decoration: none;
}

.navbar-toggler-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	content: "";
	background: no-repeat center center;
	-webkit-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
}

.navbar-toggler-left {
	position: absolute;
	left: 1rem;
}

.navbar-toggler-right {
	position: absolute;
	right: 1rem;
}

@media (max-width: 575px) {
	.navbar-toggleable .navbar-nav .dropdown-menu {
		position: static;
		float: none;
	}
	.navbar-toggleable > .container {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (min-width: 576px) {
	.navbar-toggleable {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable .navbar-nav {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.navbar-toggleable .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.navbar-toggleable > .container {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable .navbar-collapse {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
		width: 100%;
	}
	.navbar-toggleable .navbar-toggler {
		display: none;
	}
}

@media (max-width: 767px) {
	.navbar-toggleable-sm .navbar-nav .dropdown-menu {
		position: static;
		float: none;
	}
	.navbar-toggleable-sm > .container {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (min-width: 768px) {
	.navbar-toggleable-sm {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-sm .navbar-nav {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.navbar-toggleable-sm .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.navbar-toggleable-sm > .container {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-sm .navbar-collapse {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
		width: 100%;
	}
	.navbar-toggleable-sm .navbar-toggler {
		display: none;
	}
}

@media (max-width: 991px) {
	.navbar-toggleable-md .navbar-nav .dropdown-menu {
		position: static;
		float: none;
	}
	.navbar-toggleable-md > .container {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (min-width: 992px) {
	.navbar-toggleable-md {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-md .navbar-nav {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.navbar-toggleable-md .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.navbar-toggleable-md > .container {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-md .navbar-collapse {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
		width: 100%;
	}
	.navbar-toggleable-md .navbar-toggler {
		display: none;
	}
}

@media (max-width: 1199px) {
	.navbar-toggleable-lg .navbar-nav .dropdown-menu {
		position: static;
		float: none;
	}
	.navbar-toggleable-lg > .container {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (min-width: 1200px) {
	.navbar-toggleable-lg {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-lg .navbar-nav {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
	}
	.navbar-toggleable-lg .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.navbar-toggleable-lg > .container {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.navbar-toggleable-lg .navbar-collapse {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
		width: 100%;
	}
	.navbar-toggleable-lg .navbar-toggler {
		display: none;
	}
}

.navbar-toggleable-xl {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.navbar-toggleable-xl .navbar-nav .dropdown-menu {
	position: static;
	float: none;
}

.navbar-toggleable-xl > .container {
	padding-right: 0;
	padding-left: 0;
}

.navbar-toggleable-xl .navbar-nav {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}

.navbar-toggleable-xl .navbar-nav .nav-link {
	padding-right: .5rem;
	padding-left: .5rem;
}

.navbar-toggleable-xl > .container {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.navbar-toggleable-xl .navbar-collapse {
	display: -webkit-box !important;
	display: -webkit-flex !important;
	display: -ms-flexbox !important;
	display: flex !important;
	width: 100%;
}

.navbar-toggleable-xl .navbar-toggler {
	display: none;
}

.card-img {
	width: auto;
}

.menu .navbar.collapsed:not(.beta-menu) {
	flex-direction: column;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}

.note-air-layout .dropup .dropdown-menu,
.note-air-layout .navbar-fixed-bottom .dropdown .dropdown-menu {
	bottom: initial !important;
}

html,
body {
	height: auto;
	min-height: 100vh;
}

.cid-qvI6ND1ZrS .navbar {
	padding: .5rem 0;
	background: #f8f8f8;
	/* background: white; */
	/* transition: none; */
	min-height: 77px;
}

.cid-qvI6ND1ZrS .navbar-dropdown.bg-color.transparent.opened {
	background: #00acec;
}

.cid-qvI6ND1ZrS a {
	font-style: normal;
}

.cid-qvI6ND1ZrS .nav-item span {
	padding-right: 0.4em;
	line-height: 0.5em;
	vertical-align: text-bottom;
	position: relative;
	top: -0.2em;
	text-decoration: none;
}

.cid-qvI6ND1ZrS .nav-item a {
	padding: 0.7rem 0;
	margin: 0rem .65rem;
}

.cid-qvI6ND1ZrS .btn {
	padding: 0.4rem 1.5rem;
	display: inline-flex;
	align-items: center;
}

.cid-qvI6ND1ZrS .btn .mbr-iconfont {
	font-size: 1.6rem;
}

.cid-qvI6ND1ZrS .menu-logo {
	margin-right: auto;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand {
	display: flex;
	margin-left: 5rem;
	padding: 0;
	transition: padding .2s;
	min-height: 3.8rem;
	align-items: center;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand .navbar-caption-wrap {
	display: -webkit-flex;
	-webkit-align-items: center;
	align-items: center;
	word-break: break-word;
	min-width: 7rem;
	margin: .3rem 0;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand .navbar-caption-wrap .navbar-caption {
	line-height: 1.2rem !important;
	padding-right: 2rem;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand .navbar-logo {
	font-size: 4rem;
	transition: font-size 0.25s;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand .navbar-logo img {
	display: flex;
}

.cid-qvI6ND1ZrS .menu-logo .navbar-brand .navbar-logo .mbr-iconfont {
	transition: font-size 0.25s;
}

.cid-qvI6ND1ZrS .navbar-toggleable-sm .navbar-collapse {
	justify-content: flex-end;
	-webkit-justify-content: flex-end;
	padding-right: 5rem;
	width: auto;
}

.cid-qvI6ND1ZrS .navbar-toggleable-sm .navbar-collapse .navbar-nav {
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	padding-left: 0;
}

.cid-qvI6ND1ZrS .navbar-toggleable-sm .navbar-collapse .navbar-nav .nav-item {
	-webkit-align-self: center;
	align-self: center;
}

.cid-qvI6ND1ZrS .navbar-toggleable-sm .navbar-collapse .navbar-buttons {
	padding-left: 0;
	padding-bottom: 0;
}

.cid-qvI6ND1ZrS .dropdown .dropdown-menu {
	background: #00acec;
	display: none;
	position: absolute;
	min-width: 5rem;
	padding-top: 1.4rem;
	padding-bottom: 1.4rem;
	text-align: left;
}

.cid-qvI6ND1ZrS .dropdown .dropdown-menu .dropdown-item {
	width: auto;
	padding: 0.235em 1.5385em 0.235em 1.5385em !important;
}

.cid-qvI6ND1ZrS .dropdown .dropdown-menu .dropdown-item::after {
	right: 0.5rem;
}

.cid-qvI6ND1ZrS .dropdown .dropdown-menu .dropdown-submenu {
	margin: 0;
}

.cid-qvI6ND1ZrS .dropdown.open > .dropdown-menu {
	display: block;
}

.cid-qvI6ND1ZrS .navbar-toggleable-sm.opened:after {
	position: absolute;
	width: 100vw;
	height: 100vh;
	content: '';
	background-color: rgba(0, 0, 0, 0.1);
	left: 0;
	bottom: 0;
	transform: translateY(100%);
	-webkit-transform: translateY(100%);
	z-index: 1000;
}

.cid-qvI6ND1ZrS .navbar.navbar-short {
	min-height: 70px;
	box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.15);
	position: fixed;
	top: 0;
	-webkit-transition: .2s ease-out;
	transition: .2s ease-out;
}

/* .cid-qvI6ND1ZrS .navbar.navbar-short .navbar-toggler-right { */
	/* top: 25px; */
/* } */

.cid-qvI6ND1ZrS .navbar.navbar-short .navbar-logo a {
	font-size: 2.5rem !important;
	line-height: 2.5rem;
	transition: font-size 0.25s;
}

.cid-qvI6ND1ZrS .navbar.navbar-short .navbar-logo a .mbr-iconfont {
	font-size: 2.5rem !important;
}

.cid-qvI6ND1ZrS .navbar.navbar-short .navbar-logo a img {
	height: 3rem !important;
}

/* .cid-qvI6ND1ZrS .navbar.navbar-short .navbar-brand { */
	/* min-height: 3rem; */
	/* top: 10px; */
	/* position: absolute; */
/* } */

.cid-qvI6ND1ZrS button.navbar-toggler {
	width: 31px;
	height: 18px;
	cursor: pointer;
	transition: all .2s;
	top: 1.5rem;
	right: 1rem;
}

.cid-qvI6ND1ZrS button.navbar-toggler:focus {
	outline: none;
}

.cid-qvI6ND1ZrS button.navbar-toggler .hamburger span {
	position: absolute;
	right: 0;
	width: 30px;
	height: 2px;
	border-right: 5px;
	background-color: #ffffff;
}

.cid-qvI6ND1ZrS button.navbar-toggler .hamburger span:nth-child(1) {
	top: 0;
	transition: all .2s;
}

.cid-qvI6ND1ZrS button.navbar-toggler .hamburger span:nth-child(2) {
	top: 8px;
	transition: all .15s;
}

.cid-qvI6ND1ZrS button.navbar-toggler .hamburger span:nth-child(3) {
	top: 8px;
	transition: all .15s;
}

.cid-qvI6ND1ZrS button.navbar-toggler .hamburger span:nth-child(4) {
	top: 16px;
	transition: all .2s;
}

.cid-qvI6ND1ZrS nav.opened .hamburger span:nth-child(1) {
	top: 8px;
	width: 0;
	opacity: 0;
	right: 50%;
	transition: all .2s;
}

.cid-qvI6ND1ZrS nav.opened .hamburger span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	transition: all .25s;
}

.cid-qvI6ND1ZrS nav.opened .hamburger span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	transition: all .25s;
}

.cid-qvI6ND1ZrS nav.opened .hamburger span:nth-child(4) {
	top: 8px;
	width: 0;
	opacity: 0;
	right: 50%;
	transition: all .2s;
}

.cid-qvI6ND1ZrS .collapsed.navbar-expand {
	flex-direction: column;
}

.cid-qvI6ND1ZrS .collapsed .btn {
	display: flex;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse {
	display: none !important;
	padding-right: 0 !important;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show {
	display: block !important;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing .navbar-nav,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show .navbar-nav {
	display: block;
	text-align: center;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing .navbar-nav .nav-item,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show .navbar-nav .nav-item {
	clear: both;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing .navbar-nav .nav-item:last-child,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show .navbar-nav .nav-item:last-child {
	margin-bottom: 1rem;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing .navbar-buttons,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show .navbar-buttons {
	text-align: center;
}

.cid-qvI6ND1ZrS .collapsed .navbar-collapse.collapsing .navbar-buttons:last-child,
.cid-qvI6ND1ZrS .collapsed .navbar-collapse.show .navbar-buttons:last-child {
	margin-bottom: 1rem;
}

.cid-qvI6ND1ZrS .collapsed button.navbar-toggler {
	display: block;
}

.cid-qvI6ND1ZrS .collapsed .navbar-brand {
	margin-left: 1rem !important;
}

.cid-qvI6ND1ZrS .collapsed .navbar-toggleable-sm {
	flex-direction: column;
	-webkit-flex-direction: column;
}

.cid-qvI6ND1ZrS .collapsed .dropdown .dropdown-menu {
	width: 100%;
	text-align: center;
	position: relative;
	opacity: 0;
	display: block;
	height: 0;
	visibility: hidden;
	padding: 0;
	transition-duration: .5s;
	transition-property: opacity, padding, height;
}

.cid-qvI6ND1ZrS .collapsed .dropdown.open > .dropdown-menu {
	position: relative;
	opacity: 1;
	height: auto;
	padding: 1.4rem 0;
	visibility: visible;
}

.cid-qvI6ND1ZrS .collapsed .dropdown .dropdown-submenu {
	left: 0;
	text-align: center;
	width: 100%;
}

.cid-qvI6ND1ZrS .collapsed .dropdown .dropdown-toggle[data-toggle="dropdown-submenu"]::after {
	margin-top: 0;
	position: inherit;
	right: 0;
	top: 50%;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .3em;
	vertical-align: middle;
	content: "";
	border-top: .30em solid;
	border-right: .30em solid transparent;
	border-left: .30em solid transparent;
}

@media (max-width: 991px) {
	.cid-qvI6ND1ZrS .navbar-expand {
		flex-direction: column;
	}
	.cid-qvI6ND1ZrS img {
		height: 3.8rem !important;
	}
	.cid-qvI6ND1ZrS .btn {
		display: flex;
	}
	.cid-qvI6ND1ZrS button.navbar-toggler {
		display: block;
	}
	.cid-qvI6ND1ZrS .navbar-brand {
		margin-left: 1rem !important;
	}
	.cid-qvI6ND1ZrS .navbar-toggleable-sm {
		flex-direction: column;
		-webkit-flex-direction: column;
	}
	.cid-qvI6ND1ZrS .navbar-collapse {
		display: none !important;
		padding-right: 0 !important;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing,
	.cid-qvI6ND1ZrS .navbar-collapse.show {
		display: block !important;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing .navbar-nav,
	.cid-qvI6ND1ZrS .navbar-collapse.show .navbar-nav {
		display: block;
		text-align: center;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing .navbar-nav .nav-item,
	.cid-qvI6ND1ZrS .navbar-collapse.show .navbar-nav .nav-item {
		clear: both;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing .navbar-nav .nav-item:last-child,
	.cid-qvI6ND1ZrS .navbar-collapse.show .navbar-nav .nav-item:last-child {
		margin-bottom: 1rem;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing .navbar-buttons,
	.cid-qvI6ND1ZrS .navbar-collapse.show .navbar-buttons {
		text-align: center;
	}
	.cid-qvI6ND1ZrS .navbar-collapse.collapsing .navbar-buttons:last-child,
	.cid-qvI6ND1ZrS .navbar-collapse.show .navbar-buttons:last-child {
		margin-bottom: 1rem;
	}
	.cid-qvI6ND1ZrS .dropdown .dropdown-menu {
		width: 100%;
		text-align: center;
		position: relative;
		opacity: 0;
		display: block;
		height: 0;
		visibility: hidden;
		padding: 0;
		transition-duration: .5s;
		transition-property: opacity, padding, height;
	}
	.cid-qvI6ND1ZrS .dropdown.open > .dropdown-menu {
		position: relative;
		opacity: 1;
		height: auto;
		padding: 1.4rem 0;
		visibility: visible;
	}
	.cid-qvI6ND1ZrS .dropdown .dropdown-submenu {
		left: 0;
		text-align: center;
		width: 100%;
	}
	.cid-qvI6ND1ZrS .dropdown .dropdown-toggle[data-toggle="dropdown-submenu"]::after {
		margin-top: 0;
		position: inherit;
		right: 0;
		top: 50%;
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: .3em;
		vertical-align: middle;
		content: "";
		border-top: .30em solid;
		border-right: .30em solid transparent;
		border-left: .30em solid transparent;
	}
}

@media (min-width: 767px) {
	.cid-qvI6ND1ZrS .menu-logo {
		flex-shrink: 0;
	}
}

.cid-qvI06ETAiw {
	background-image: url("../../../assets/images/colors.jpg");
}

.cid-qvI06ETAiw h1 {
	color: #616161;
}

.cid-qvI06ETAiw h2,
.cid-qvI06ETAiw h3,
.cid-qvI06ETAiw p {
	color: #767676;
}

.cid-qvI06ETAiw .mbr-section-subtitle {
	font-style: italic;
}

.cid-qvI06ETAiw H1 {
	text-align: left;
	color: #232323;
}

.cid-qvI06ETAiw P {
	color: #232323;
}

.cid-qvI06ETAiw H3 {
	color: #232323;
}

.cid-qvI64hHl1g {
	background-image: url("../../../assets/images/pes-structure.jpg");
}

.cid-qvI64hHl1g .mbr-section-subtitle {
	letter-spacing: .2rem;
}

.cid-qvI64hHl1g H1 {
	color: #232323;
}

.cid-qvI64hHl1g .mbr-text,
.cid-qvI64hHl1g .mbr-section-btn {
	color: #232323;
}

.cid-qvI2ch3CYq {
	background-image: url("../../../assets/images/waterdrops.jpg");
}

.cid-qvI2ch3CYq h1 {
	color: #616161;
}

.cid-qvI2ch3CYq h2,
.cid-qvI2ch3CYq h3,
.cid-qvI2ch3CYq p {
	color: #767676;
}

.cid-qvI2ch3CYq .mbr-section-subtitle {
	font-style: italic;
}

.cid-qvI2ch3CYq H1 {
	text-align: left;
	color: #232323;
}

.cid-qvI2ch3CYq P {
	color: #232323;
	text-align: left;
}

.cid-qvI2ch3CYq H3 {
	color: #232323;
}

.cid-qvI6FE0qr0 {
	background-image: url("../../../assets/images/rings.jpg");
}

.cid-qvI6FE0qr0 .mbr-section-subtitle {
	letter-spacing: .2rem;
}

.cid-qvI6FE0qr0 H1 {
	color: #232323;
}

.cid-qvI6FE0qr0 .mbr-text,
.cid-qvI6FE0qr0 .mbr-section-btn {
	color: #232323;
}

.cid-qvIc2zwFrY {
	padding-top: 90px;
	padding-bottom: 90px;
	background-color: #ffffff;
}

.cid-qvIc2zwFrY .title {
	margin-bottom: 2rem;
}

.cid-qvIc2zwFrY .mbr-section-subtitle {
	color: #232323;
}

.cid-qvIc2zwFrY a:not([href]):not([tabindex]) {
	color: #fff;
	border-radius: 3px;
}

.cid-qvIc2zwFrY a.btn-white:not([href]):not([tabindex]) {
	color: #333;
}

.cid-qvIc2zwFrY .multi-horizontal {
	flex-grow: 1;
	-webkit-flex-grow: 1;
	max-width: 100%;
}

.cid-qvIc2zwFrY .input-group-btn {
	display: block;
	text-align: center;
}

.cid-qvIc2zwFrY .mbr-section-subtitle B {
	color: #232323;
}

.cid-qvIiQvwAfk {
	background-color: #58646f;
	box-shadow: inset 0 15px 35px -16px rgba(17, 17, 17, 0.53);
}

footer {
	padding: 40px 3%;
}
.cid-qvIiQvwAfk .media-container-row {
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cid-qvIiQvwAfk .media-container-row .foot-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0;
	margin-bottom: 0;
}

.cid-qvIiQvwAfk .media-container-row .foot-menu li {
	padding: 0 1rem 1rem 1rem;
}

.cid-qvIiQvwAfk .media-container-row .foot-menu li p {
	margin: 0;
}

.cid-qvIiQvwAfk .media-container-row .social-list {
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	-webkit-justify-content: flex-end;
}

.cid-qvIiQvwAfk .media-container-row .social-list .mbr-iconfont-social {
	font-size: 1.5rem;
	color: #ffffff;
}

.cid-qvIiQvwAfk .media-container-row .social-list .soc-item {
	margin: 0 .5rem;
}

.cid-qvIiQvwAfk .media-container-row .social-list a {
	margin: 0;
	opacity: .5;
	-webkit-transition: .2s linear;
	transition: .2s linear;
}

.cid-qvIiQvwAfk .media-container-row .social-list a:hover {
	opacity: 1;
}

@media (max-width: 767px) {
	.cid-qvIiQvwAfk .media-container-row .social-list {
		justify-content: center;
		-webkit-justify-content: center;
	}
}

.cid-qvIiQvwAfk .media-container-row .row-copirayt {
	word-break: break-word;
}

Removing code on minify in js

Blank Issue Report

Describe the issue

I have enabled setting Minify On Save To New FIle. In minified file its also removing the function call which is present in original.

Original Code:

this.access = function (ucsb_access,udata) {
				switch (ucsb_access) {
					case 'college':
						$('.ucsb.'+ucsb_access).val(udata.uc);
						ucsb('college','auto',{uc:udata.uc,us:udata.us,ub:udata.ub,usm:udata.usm});
						break;
					case 'stream':
						$('.ucsb.'+ucsb_access).val(udata.us);
						ucsb('stream','auto',{uc:udata.uc,us:udata.us,ub:udata.ub,usm:udata.usm});
						break;
					default:
						break;
				}
			}

Minified Code:

this.access = function(t, a) {
                switch (t) {
                    case "college":
                        $(".ucsb." + t).val(a.uc), e("college", "auto", {
                            uc: a.uc,
                            us: a.us,
                            ub: a.ub,
                            usm: a.usm
                        });
                        break;
                    case "stream":
                        $(".ucsb." + t).val(a.us), e("stream", "auto", {
                            uc: a.uc,
                            us: a.us,
                            ub: a.ub,
                            usm: a.usm
                        });
                        break;
                    default:
                        break
                }
            }

As you can see ucsb() function is removed in minified in case college and stream
*


Media prove


Your environment

  • OS: Windows 10 20H2
  • Node version:
  • Npm version:
  • Browser name and version: Edge

Additional context

Seems to create the file but somehow not really there

Installed and restarted vscode, pressed CTRL+ALT+N and it seems to create a new file leaving the original as well as expected.
I even open the file from explorer or vscode sidebar and it's there.

BUT when I ALT+click on the link file from my html doc to go and open the new minified js file, I get this

Unable to open 'filenamer.min.js'
Unable to read file '........... file location' (Error: Unable to resolve non-existing file '........... file location')
[Create File] [Cancel]

Creating the file manually has no issues
Tried JS & CSS Minifier (Minify) and worked right away.

Hex minimization brokes the minifier

🐞 Bug Report

Describe the bug

seems like the minify CSS now stripping out the '%'.
I found out it strips % for those in my css:
width: 100%; ( -> width: 100; ... etc)
height: 100%;
-webkit-text-size-adjust: 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
border-color: hsl(188deg 54% 70%); ( -> border-color: hsl(188deg 54% 70);)
-webkit-transform: translateX(110%);
transform: translateX(110%);
-webkit-transform: translateX(0%);
transform: translateX(0%);
top: 40%;
max-width: 80%;
top: -50%;
bottom: -50%;

It also seems it keeps % for the float numbers like 16.6666%.


Is this a regression?

I believe so. I have made minifying before and it never broke the design.


To Reproduce

  1. Right click in document and select "Minify this document and preserver the original"

Expected behaviour

It will keep the percentage.


Media prove


Your environment

  • OS: Windows 10, 2004
  • VSCode v.: 1.55.0

Additional context

Autosave original and minified

I would like to use CTR+S to save the original file and the minified file at the same time. That way I can link the CSS-min directly into the HTML and not have to transform each time.
I haven't found a way to do this.

Thanks

Npm command to update core

Npm script command to update to the latest version of MinifyAllCli, write the basic changelog, commit, and push to branch.

Minifying javascript file removes parts of simple if typeof condition and console output

First of all, thank you very much for your great work!

This is my code:

...
FRONTEND.prototype = {
    con: function(obj){
        if(typeof console.log != "undefined")console.log(obj);
    },
    ....
}
...
frontend = new FRONTEND();
frontend.con('output to console');

In previous versions the code was minified to:

FRONTEND.prototype={con:function(n){void 0!==console.log&&console.log(n)},...

In version 2.7.0 the code is minified to:

FRONTEND.prototype={con:function(e){console.log},...

Can you fix this?
If not, how do i have to change my code?

Best regards!

V2.4.7 failing

🐞 Bug Report

Describe the bug

V2.4.7 Does not work at all, generate a blank file, delete everything when minify js file.


Is this a regression?

Yes, it works well in v2.4.6


To Reproduce

Just use it


Expected behaviour

work like previous version


Your environment

  • OS: Ubuntu 5.4.0-47-generic x86_64
  • Node version: 14.5
  • Npm version: 6.14.7
  • Browser name and version: Firefox80

MinifyAll recently stopped working

There are several issues all of which prevent the extension from working at all.

CTRL ALT M produces error 'command'extension.MinifyAll' not found
Right Clicking the file in the explorer tree and click "Minify The selected document and preserve original" produces no error but does absolutely nothing.

To Reproduce
right click on any css file in the file tree and click "Minify The selected document and preserve original"

Or open a css file and hit CTRL+ALT+M and see the error message

Expected behavior
It should have created a minified file.

Additional context
I have tried uninstalling the extension and re-installing with no change. I have no customized settings for the extension.

I am running MinifyAll version 1.6.4

Here is my vscode version info
Version: 1.40.0 (user setup)
Commit: 86405ea23e3937316009fc27c9361deee66ffbf5
Date: 2019-11-06T17:02:13.381Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362

Not able to minify JS files

I am using VS Code. I installed MinifyAll. I am right clicking on a *.js file. All I get is "We will not format this file type because it is disabled." I have checked the settings and JavaScript is not disabled. What am I missing?

Not minifying anymore

Won't minify anything anymore. Usually have it to minify to a new .min file on save, but not working.
Also right-clicking and manually minifying and preserving original no longer works.
Have re-installed the extension but no luck.

Don't work any minify on save options

When I active the option for minify when I save don't work in any of the options

Steps to reproduce the error:

  1. Go to extension settings
  2. Activate any option for minify on save
  3. Press Ctrl+S
  4. Don't work, don't minify the document

VS Code 1.49.2
Windows 10 1809 x64

Minify on JavaScript doesn't work correctly

🐞 Bug Report

Describe the bug

If I minify following code:

function jsonPath(obj, expr, arg) {
    var P = {
        resultType: arg && arg.resultType || "VALUE",
        result: [],
        normalize: function (t) {
            var n = [];
            return "test"
        }
    }
}

this is translated on minify to:
function jsonPath(n,t,e){e&&e.resultType}
Variable P is javascript JSON object, maybe it uses JSON minify, instead of JavaScript minify.
Whole file is tagged as JavaScript document, not JSON.

Your environment

  • OS: Win 10
    VS Code: 1.52.1 (user)
    MinifyAll: 2.4.13

[Bug] Minificar HTML con IF PHP

🐞 Bug Report

Describe the bug

  • Al minificar un HTML que contiene un IF de PHP borra los ; de los echo o variables (No sucede en todos los casos, como se aprecia en la captura)

Is this a regression?

  • No lo probé en versiones anteriores, ya que es la primera vez que utilizo la extensión

To Reproduce

  1. En un archivo html generar un IF (PHP)
  2. Minificar el archivo (Desde menú o automáticamente al guardar)
  3. Revisar el archivo minificado

Expected behaviour

  • Se espera el siguiente if:
    <?php if($algo==true){echo"hola";}else{echo"chau";}?>

Media prove

HTML SIN MINIFICAR

SIN MINIFICAR

HTML MINIFICADO

MINIFICADO


Your environment

  • OS: MacOs Big Sur 11.3
  • Node version: 14.16.1
  • Npm version: 6.14.12
  • Browser name and version: Google Chrome v. 90.0.4430.93

When saving to new file, don't open the minified version in editor

Describe the bug

First of all, thanks for this extension, it's the simplest minifier that I've used with minimal configuration. Unfortunately, I have problem when I'm using minifyOnSaveToNewFIle = true.

When I'm working on a code, I often run save on it. This is a habit that I picked up long ago from using a code editor that often crashed without warning. So, my flow is :

  • Thinking.
  • Type some code.
  • Save the file.
  • Stop a few seconds to look at my newly written code. Decide whether the code is good or not.
  • Type again.

Now, when using minifyOnSaveToNewFIle, it will open the minified file in new editor, hence break my flow and focus. With that said, is it possible to prevent extension opening the minified file automatically ?

To Reproduce

Set your setting like this :

{
	"MinifyAll.minifyOnSaveToNewFIle": true,
	"MinifyAll.PrefixOfNewMinifiedFiles": ".min",
}

Write a Javascript code, then save it.

Expected behavior

When using minifyOnSaveToNewFIle,The minified file should be generated in background and not shown to user.

Screenshots

I've made a screencast in Gfycat

Additional context

It seems there are typos in setting's name and description :

  • minifyOnSaveToNewFIle, notice the capital I in NewFIle.
  • In minifyOnSaveToNewFIle description, it said true for disabling. Shouldn't it be true for enabling ? Same with minifyOnSave description.

Option to preserve original variable names.

🚀 Feature Request

Is your feature request related to a problem? Please describe.

  • I use this extension to aid in refactoring code and removing redundancies, and it works pretty well for that purpose, except for the fact that it renames variables. (As an aside, if there are other tools specifically made for this purpose, I'd definitely be interested to know about them.)

Describe the solution you'd like

  • I'd like an option that would prevent the extension from renaming variables, function names, etc.

Describe alternatives you've considered

  • I've considered using other "minifiers" and not using any at all, but they're just too convenient in helping me discover other ways to write seemingly better code. I also happen to think this one performs best out of the ones I tried, so I'd like to keep using it if possible.

Additional context

  • N/a.

CSS minification issue

Hi,

I can't minify css files anymore and I can't understand why. The configuration seems correct and also the css file. I've this error: "We can not format this file type yet, use a valid one."

Thanks!

Schermata 2020-03-10 alle 11 48 57

Schermata 2020-03-10 alle 11 49 32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.