appcss 0.0.3 → 0.0.4

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: b833b44bec0c6279b8586612d999cedecd4c84ae
4
- data.tar.gz: 18c2ff7282170fe84de557b792df7f85f97d0fcc
3
+ metadata.gz: 0f54e25e73346f7a2b028abfd1d301571cdbb07e
4
+ data.tar.gz: 4bd08d43de19186139e3f42c195bab41a89b46a2
5
5
  SHA512:
6
- metadata.gz: 4f4feec662c21d1ee491264fad9615302afc0c79227efdcd70e32f7a75e356f22c6a477c8b7702ca54ceb6f81e11fe8d542e64ba8363d077d0c4dd40be183d3c
7
- data.tar.gz: 15ed0acdbe5562ce66038e4855edd7af2dbc78a41fc6d3080059fa9dd30fac6a87e7b99676b11838d3ecc5a24ef3167bc6505a8d475622034b000619f72533f5
6
+ metadata.gz: 6613dbdaa0c38b97af49a1e67b7675d62a7a50b41538c978aa3a3207dc779bc20b41290c7077a40ceb3d02ea93d048a45629936df835af61669f8e2bbee8eb46
7
+ data.tar.gz: f9d318dd7704be542ed94eb5100f73a5d4766ab77632f3a2229010380fd8d883d2fe37c9146a4c41347f5e74a7081221aa2ed1e8b82fcabbd28bc464e3d193f2
data/README.md CHANGED
@@ -1,31 +1,5 @@
1
- # Appcss
1
+ # Installing
2
2
 
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- ```ruby
10
- gem 'appcss'
11
- ```
12
-
13
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install appcss
20
-
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
-
25
- ## Contributing
26
-
27
- 1. Fork it ( https://github.com/[my-github-username]/appcss/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
3
+ 1. `gem install appcss`
4
+ 2. Load the css with `<%= stylesheet_link_tag asset_path "appcss/app.css" %>`
5
+ 3. Add the following to config/initializers/assets.rb `Rails.application.config.assets.precompile += %w( appcss/app.css )`
@@ -459,7 +459,8 @@ html, body {
459
459
  width: 100%;
460
460
  display: block;
461
461
  margin-left: 0;
462
- font-size: 0.85rem; }
462
+ font-size: 0.85rem;
463
+ z-index: 990; }
463
464
  @media screen and (min-width: 768px) {
464
465
  .acss-sidebar {
465
466
  width: calc(100% - 15px);
@@ -486,7 +487,45 @@ html, body {
486
487
 
487
488
  @media screen and (min-width: 960px) {
488
489
  .acss-sidebar {
489
- width: 200px; } }
490
+ width: 200px;
491
+ position: absolute;
492
+ top: 50px;
493
+ left: 0;
494
+ height: calc(100vh - 50px);
495
+ overflow: auto; } }
496
+ .acss-sidebar .tools {
497
+ display: none;
498
+ position: absolute;
499
+ top: 0;
500
+ right: 0;
501
+ bottom: 0;
502
+ padding: 5px 15px; }
503
+ .acss-sidebar .tools span {
504
+ cursor: pointer;
505
+ display: inline-block;
506
+ text-align: center;
507
+ width: 15px;
508
+ border-radius: 50%;
509
+ position: relative; }
510
+ .acss-sidebar .tools span .tooltip {
511
+ display: none;
512
+ position: absolute;
513
+ top: 30px;
514
+ right: 0px;
515
+ background: rgba(255, 255, 255, 0.7);
516
+ padding: 5px;
517
+ color: #222222;
518
+ text-shadow: none;
519
+ border-radius: 3px;
520
+ z-index: 999; }
521
+ .acss-sidebar .tools span:hover {
522
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.3), 1px -1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(0, 0, 0, 0.3); }
523
+ .acss-sidebar .tools span:hover .tooltip {
524
+ display: block; }
525
+ .acss-sidebar header {
526
+ position: relative;
527
+ background-color: rgba(0, 0, 0, 0.2);
528
+ padding: 5px 15px; }
490
529
  .acss-sidebar ul {
491
530
  list-style: none;
492
531
  padding: 0;
@@ -512,47 +551,17 @@ html, body {
512
551
  background: white;
513
552
  color: #333333;
514
553
  outline: 0px; }
515
- .acss-sidebar ul li .tools {
516
- display: none;
517
- position: absolute;
518
- top: 0;
519
- right: 0;
520
- bottom: 0;
521
- padding: 5px 15px; }
522
- .acss-sidebar ul li .tools span {
523
- cursor: pointer;
524
- display: inline-block;
525
- text-align: center;
526
- width: 15px;
527
- border-radius: 50%;
528
- position: relative; }
529
- .acss-sidebar ul li .tools span .tooltip {
530
- display: none;
531
- position: absolute;
532
- top: 30px;
533
- left: 10px;
534
- background: rgba(0, 0, 0, 0.7);
535
- padding: 5px;
536
- color: white;
537
- text-shadow: none;
538
- border-radius: 3px; }
539
- .acss-sidebar ul li .tools span:hover {
540
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px 1px 1px rgba(0, 0, 0, 0.3), 1px -1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(0, 0, 0, 0.3); }
541
- .acss-sidebar ul li .tools span:hover .tooltip {
542
- display: block; }
543
554
  .acss-sidebar ul li.edit a, .acss-sidebar ul li.edit .tools {
544
555
  display: none; }
545
556
  .acss-sidebar ul li.edit a + input {
546
557
  display: block; }
547
- .acss-sidebar ul li:hover .tools {
548
- display: block; }
549
- .acss-sidebar ul li:hover.edit .tools {
550
- display: none; }
558
+ .acss-sidebar header:hover .tools, .acss-sidebar li:hover .tools {
559
+ display: block; }
560
+ .acss-sidebar header:hover.edit .tools, .acss-sidebar li:hover.edit .tools {
561
+ display: none; }
551
562
  .acss-sidebar h1 {
552
563
  font-size: 0.85rem;
553
- background-color: rgba(0, 0, 0, 0.2);
554
- margin: 0;
555
- padding: 5px 15px; }
564
+ margin: 0; }
556
565
 
557
566
  .acss-header {
558
567
  width: 100%;
@@ -611,7 +620,14 @@ html, body {
611
620
 
612
621
  @media screen and (min-width: 960px) {
613
622
  .acss-mainpane {
614
- width: calc(100% - 200px); } }
623
+ width: calc(100% - 200px);
624
+ position: absolute;
625
+ z-index: 980;
626
+ left: 200px;
627
+ top: 50px;
628
+ height: calc(100vh - 50px);
629
+ right: 0;
630
+ overflow: auto; } }
615
631
 
616
632
  body {
617
633
  display: -webkit-box;
data/appcss-0.0.2.gem ADDED
Binary file
data/appcss-0.0.3.gem ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Appcss
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  description: Like bootstrap for robust backend applications.
@@ -45,14 +45,15 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
49
- - Gemfile
48
+ - ".gitignore"
50
49
  - LICENSE.txt
51
50
  - README.md
52
51
  - Rakefile
53
52
  - app/assets/stylesheets/appcss/app.css
54
53
  - app/assets/stylesheets/appcss/index.css
55
54
  - appcss-0.0.1.gem
55
+ - appcss-0.0.2.gem
56
+ - appcss-0.0.3.gem
56
57
  - appcss.gemspec
57
58
  - lib/appcss.rb
58
59
  - lib/appcss/version.rb
@@ -66,17 +67,17 @@ require_paths:
66
67
  - lib
67
68
  required_ruby_version: !ruby/object:Gem::Requirement
68
69
  requirements:
69
- - - '>='
70
+ - - ">="
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  required_rubygems_version: !ruby/object:Gem::Requirement
73
74
  requirements:
74
- - - '>='
75
+ - - ">="
75
76
  - !ruby/object:Gem::Version
76
77
  version: '0'
77
78
  requirements: []
78
79
  rubyforge_project:
79
- rubygems_version: 2.2.2
80
+ rubygems_version: 2.2.1
80
81
  signing_key:
81
82
  specification_version: 4
82
83
  summary: Like bootstrap for robust backend applications.
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in appcss.gemspec
4
- gemspec