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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b991ef4b5dc18209d8a253720fa01ac7f006af8
4
- data.tar.gz: 00f73f722db195096c8e667f0378a4f53e22f4b0
3
+ metadata.gz: 9d17c330425fd9574f6415afcb2bb4d6a9296e4e
4
+ data.tar.gz: 98bcac7ca3ebeefceb8d2f71a8e48ae92422b9b4
5
5
  SHA512:
6
- metadata.gz: 3a75243cb1f92a800fe97ed762ee8f302a67981ef888be19b15e177fa6a395b5cbfa2d94153f31975cfd45bff2f667edd81feb7f883a9c9c9d80ea365224589d
7
- data.tar.gz: 5b91804a54c3fb3bb29cdd828934e38be5529249fb31855a4fa1b664b8cdbda5ece5488f97ef8a36491d30bc791e2306f44a085f88c0cff464561f194d2294e4
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
- Add logo to app/assets/images/admin_logo.png (max 130x40px, best 100x25px)
46
+ Change logo by setting the `$skinLogo` variable above active_skin import line in active_admin.css.scss
47
47
 
48
- You can even change basic colors of the theme by placing some variables above import line in active_admin.css.scss
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 image-url("admin_logo.png") no-repeat 30px 50%
26
+ background-color: #fff
27
+ background: $skinLogo
26
28
  padding-left: 130px
27
29
  color: $skinTextColor
28
30
  text-indent: -999999px
@@ -1,3 +1,3 @@
1
1
  module ActiveSkin
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-03 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler