active_skin 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/app/assets/stylesheets/active_skin.css.sass +4 -2
- data/lib/active_skin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d17c330425fd9574f6415afcb2bb4d6a9296e4e
|
4
|
+
data.tar.gz: 98bcac7ca3ebeefceb8d2f71a8e48ae92422b9b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 579b858c2091342dd2139bf281e76da71f9086dfb53cc549becf5cafb2f7d592dfa849490b2b990d700b2cb82f53230a35291e8b146ac622b08a6962c4ed1bbf
|
7
|
+
data.tar.gz: 76ed5a05b7c700e90de895498c842d38fb458bec023d51716c3f40718d23787950529306c48db157b9000fc01238ca32b22af2d44884222f0dba751543ab57b0
|
data/README.md
CHANGED
@@ -43,9 +43,11 @@ inlcude active skin css
|
|
43
43
|
@import "active_skin";
|
44
44
|
...
|
45
45
|
|
46
|
-
|
46
|
+
Change logo by setting the `$skinLogo` variable above active_skin import line in active_admin.css.scss
|
47
47
|
|
48
|
-
|
48
|
+
$skinLogo: url("admin_logo.png") no-repeat 0 0;
|
49
|
+
|
50
|
+
You can even change basic colors of the theme by placing some other variables:
|
49
51
|
|
50
52
|
...
|
51
53
|
$skinActiveColor: #001cee;
|
@@ -1,10 +1,11 @@
|
|
1
|
-
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700)
|
1
|
+
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&subset=latin,latin-ext)
|
2
2
|
$skinTextColor: #1e2a33 !default
|
3
3
|
$skinTextActiveColor: #fff !default
|
4
4
|
$skinTextTable: #7f8c8d !default
|
5
5
|
$skinActiveColor: #e73c3c !default
|
6
6
|
$skinHeaderBck: #1e2a33 !default
|
7
7
|
$panelHeaderBck: #2c3e50 !default
|
8
|
+
$skinLogo: #fff image-url("admin_logo.png") no-repeat 30px 50% !default
|
8
9
|
|
9
10
|
html
|
10
11
|
background: #ecf0f1
|
@@ -22,7 +23,8 @@ body.active_admin
|
|
22
23
|
height: 40px
|
23
24
|
padding: 0
|
24
25
|
h1.site_title
|
25
|
-
background: #fff
|
26
|
+
background-color: #fff
|
27
|
+
background: $skinLogo
|
26
28
|
padding-left: 130px
|
27
29
|
color: $skinTextColor
|
28
30
|
text-indent: -999999px
|
data/lib/active_skin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_skin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wojtek Krysiak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|