promethee 1.0.6 → 1.0.7

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: f1e073cdb3969e22959b4f77cdbba20931d92213
4
- data.tar.gz: 9bd2d06bba00b1a7fb6cf1e4729a0aa7f0087ad6
3
+ metadata.gz: 9b9845318bc7ccc717ee4f25b6e1462872f8432d
4
+ data.tar.gz: eb69ca58da17eaaaf5bea6d21ac4d078d63d7b4a
5
5
  SHA512:
6
- metadata.gz: cdc0394eb055411ab1817488bda0f09d2962d19fe20dadde3d6aa036ac251f3f565c87e23f6aa669fe15082d39b816873d4f0cd7a6bc7f95e51b4c90b9c71018
7
- data.tar.gz: eb0d4b34e3a96083a2f91548186e960915053154c5044da88eccee3f871c2debd96f64bfc283bad3cf4498de1826b417a4b5a2fda7b01360de1b9e7fc379c2a4
6
+ metadata.gz: 14a27d72bcef583cd6afb3c8ba48b7f12d96b55b983408b69084f334bded337e0aab2ef69cc20bcf545eae9675fa91727fb937d06f8bea7ab0dd1cc91755f26b
7
+ data.tar.gz: 8ea1ad167a75a0109bef577ed234b757716cdf8db89a315aa0b1416e7859ef413f335972f6b289cb9e8e5e8dd3ef0e973f4a7393d7fc9f4cf9a45c17358a8214
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
2
+ <path fill="#F90" d="M10.0571429,2.22857143 C9.48571431,2.02857143 7.6,1.48571429 7.6,0.0571428571 C7.6,0.0571428571 5.88571429,1.14285714 7.71428569,3 C8,3.31428571 12.1142857,7.4 5.94285714,10.2857143 C7.68571431,5.85714286 4.45714286,2.71428571 4.45714286,2.71428571 L2,0.0571428571 L2,19.0571429 L0.0857142856,19.0571429 L0.0857142856,19.8857143 L7.71428569,19.8857143 L7.71428569,19.0571429 L5.82857143,19.0571429 L5.82857143,12.1428571 C6.57142856,12.1142857 7.28571431,12.1142857 7.74285712,12.1142857 C11.4571429,12.1142857 13.7714286,10.0857143 13.7714286,7.11428569 C13.7714286,4.94285714 12.4571429,3.14285714 10.0571429,2.22857143 Z" transform="translate(3)"/>
3
+ </svg>
@@ -1,7 +1,7 @@
1
1
  $promethee-grey: #bbb
2
2
  $promethee-transparent-grey: transparentize($promethee-grey, .8)
3
3
  $promethee-light-grey: #eee
4
- $promethee-color: #ff9900
4
+ $promethee-color: #ff9900 !default
5
5
 
6
6
  @import 'promethee-editor/mover'
7
7
  @import 'promethee-editor/preview'
@@ -27,6 +27,10 @@ $promethee-color: #ff9900
27
27
  border-bottom: 2px solid $promethee-color
28
28
  background: transparent
29
29
 
30
+ &__icon
31
+ svg path
32
+ fill: $promethee-color
33
+
30
34
  &__button
31
35
  color: $promethee-color
32
36
  margin-left: 10px
@@ -1,7 +1,7 @@
1
1
  <nav class="navbar navbar-default promethee-editor__navbar">
2
2
  <div class="container-fluid">
3
- <div class="navbar-header">
4
- <%= image_tag 'icon-promethee.png', class: 'navbar-brand' %>
3
+ <div class="navbar-header promethee-editor__icon">
4
+ <div class="navbar-brand"><%= File.read(__dir__ + '/../../../assets/images/icon-promethee.svg').html_safe %></div>
5
5
  </div>
6
6
  <div id="navbar">
7
7
  <ul class="nav navbar-nav navbar-right">
@@ -5,6 +5,6 @@ class Promethee::Rails::Engine < ::Rails::Engine
5
5
  end
6
6
  end
7
7
  initializer 'assets' do |app|
8
- Rails.application.config.assets.precompile += %w( logo-promethee-vertical.svg logo-promethee-horizontal.svg icon-promethee.png )
8
+ Rails.application.config.assets.precompile += %w( logo-promethee-vertical.svg logo-promethee-horizontal.svg icon-promethee.png icon-promethee.svg )
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-11-29 00:00:00.000000000 Z
14
+ date: 2017-12-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -222,6 +222,7 @@ files:
222
222
  - README.md
223
223
  - Rakefile
224
224
  - app/assets/images/icon-promethee.png
225
+ - app/assets/images/icon-promethee.svg
225
226
  - app/assets/images/logo-promethee-horizontal.svg
226
227
  - app/assets/images/logo-promethee-vertical.svg
227
228
  - app/assets/javascripts/promethee-editor.js