Skip to content

Commit 56d84fd

Browse files
author
Farzin Seyfolahi
committed
Create readme file for styles in admin.
1 parent 9ede845 commit 56d84fd

File tree

1 file changed

+25
-0
lines changed
  • BlogEngine/BlogEngine.NET/admin/themes/standard

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Work on styles in BlogEngine's admin
2+
3+
Admin of BlogEnigne is implemented by Sass(scss) preprocessor, so if you want to work on CSS styles, you should know how Sass works. so if you know, follow these steps to compile the Sass.
4+
5+
The simple way for Windows users:
6+
7+
1. Download and install the latest version of [RubyInstaller].
8+
9+
2. In your command prompt type and run:
10+
11+
`gem install sass`
12+
13+
3. Then you have to change directory of command prompt to:
14+
15+
For you might be in different path.
16+
17+
`cd D:\BlogEngine\BlogEngine.NET\admin\themes\standard\`
18+
19+
4. Then for compile on saving file, you have to only run this command:
20+
21+
`sass --watch scss/styles.scss:css/styles.css --style compressed`
22+
23+
This command will wait until you change the `.scss` files, then will compile automatically.
24+
25+
[rubyinstaller]: http://rubyinstaller.org/downloads/

0 commit comments

Comments
 (0)