almost-flat-ui-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ .side-nav li {
2
+ a{
3
+ padding:5px;
4
+ &:hover{
5
+ background: $turquoise;
6
+ color: #fff !important;
7
+ @include transition(.25s);
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,18 @@
1
+ .sub-nav dt{
2
+ font-weight: bold;
3
+ }
4
+ .sub-nav dd.active a:hover{
5
+ background-color: $primary-color;
6
+ }
7
+ .sub-nav dt a,
8
+ .sub-nav dd a{
9
+ padding:$sub-nav-active-padding;
10
+ border-radius: $global-rounded !important;
11
+ }
12
+ .sub-nav dt a:hover,
13
+ .sub-nav dd a:hover {
14
+ background-color: $turquoise !important;
15
+ border-color: $turquoise !important;
16
+ color: white;
17
+ @include transition(background 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out);
18
+ }
@@ -0,0 +1,126 @@
1
+ .top-bar .name h1{
2
+ a:hover{
3
+ color:$success-color;
4
+ @include transition(.25s);
5
+ }
6
+ }
7
+ .top-bar-section {
8
+ ul,
9
+ ul li > a {
10
+ background:$wet-asphalt !important;
11
+ @include box-shadow(-4px 0px 8px -2px rgba(0, 0, 0, 0.1));
12
+ }
13
+ li a:not(.button):hover {
14
+ background: $midnight-blue !important;
15
+ color:$success-color !important;
16
+ @include transition(.25s);
17
+ }
18
+ .divider {
19
+ border-bottom: solid 1px $midnight-blue !important;
20
+ border-right: solid 1px $midnight-blue !important;
21
+ border-top:solid 0px transparent;
22
+ }
23
+ .dropdown li.title h5 a:hover,
24
+ a:hover{
25
+ color:$success-color !important;
26
+ @include transition(.25s);
27
+ }
28
+ .dropdown li label{
29
+ color:$silver !important;
30
+ background: #3d566e;
31
+ }
32
+ }
33
+ .top-bar-unread{
34
+ background-color: $pomegranate;
35
+ border-radius: 30px;
36
+ color: white;
37
+ font-size: 12px;
38
+ font-weight: 500;
39
+ line-height: 18px;
40
+ min-width: 8px;
41
+ padding: 0 5px;
42
+ position: relative;
43
+ text-align: center;
44
+ text-shadow: none;
45
+ top: -7px;
46
+ z-index: 10;
47
+ }
48
+
49
+ /*Websymphony.net header*/
50
+ body nav.navigation {
51
+ background: #3e444e;
52
+ border-bottom: 1px solid #343a44;
53
+ clear: both;
54
+ position: relative;
55
+ min-height: 65px;
56
+ li {
57
+ list-style:none;
58
+ }
59
+ }
60
+
61
+ body .navigation-container {
62
+ max-width: 1040px;
63
+ margin: 0 auto;
64
+ }
65
+
66
+ body nav.navigation{
67
+ ul.logo-navigation {
68
+ float: left;
69
+ margin: 0;
70
+ margin-top: -6px;
71
+ li a {
72
+ font-size: 3em;
73
+ font-weight: bolder;
74
+ text-decoration: none;
75
+ padding: .13em .3em;
76
+ color: #fff;
77
+ text-shadow: 1px 1px #000;
78
+ background: #343a44;
79
+ -webkit-transition: background 0.3s;
80
+ -moz-transition: background 0.3s;
81
+ -o-transition: background 0.3s;
82
+ transition: background 0.3s;
83
+ font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
84
+ padding-bottom: .2em;
85
+ &:hover {
86
+ background: #1e70ce;
87
+ }
88
+ }
89
+ }
90
+ ul.main-navigation {
91
+ margin: 0;
92
+ padding: 0;
93
+ border: 0;
94
+ overflow: hidden;
95
+ max-width: 600px;
96
+ float: right;
97
+ li {
98
+ list-style-image: none;
99
+ list-style-type: none;
100
+ margin-left: 0;
101
+ white-space: nowrap;
102
+ display: inline;
103
+ float: left;
104
+ padding-left: 2.55em;
105
+ padding-top: 1.1em;
106
+ a {
107
+ color: #c4c7cc;
108
+ text-decoration: none;
109
+ font-family: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
110
+ font-size: 22px;
111
+ -webkit-transition: color 0.3s;
112
+ -moz-transition: color 0.3s;
113
+ -o-transition: color 0.3s;
114
+ transition: color 0.3s;
115
+ &:hover,
116
+ &.active{
117
+ color:#fff;
118
+ }
119
+ }
120
+ }
121
+ }
122
+ ul.main-navigation li:first-child,
123
+ ul.main-navigation li.first {
124
+ padding-left: 0;
125
+ }
126
+ }
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: almost-flat-ui-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Matthew Witek
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-11-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: almost-flat-ui bundled for Rails Asset Pipeline
42
+ email:
43
+ - matt@mwitekdesign.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - almost-flat-ui-rails.gemspec
54
+ - lib/almost/flat/ui/rails.rb
55
+ - lib/almost/flat/ui/rails/version.rb
56
+ - vendor/assets/stylsheets/almost_flat_ui.scss
57
+ - vendor/assets/stylsheets/almost_flat_ui/_breadcrumbs.scss
58
+ - vendor/assets/stylsheets/almost_flat_ui/_buttons.scss
59
+ - vendor/assets/stylsheets/almost_flat_ui/_forms.scss
60
+ - vendor/assets/stylsheets/almost_flat_ui/_headings.scss
61
+ - vendor/assets/stylsheets/almost_flat_ui/_misc.scss
62
+ - vendor/assets/stylsheets/almost_flat_ui/_pagination.scss
63
+ - vendor/assets/stylsheets/almost_flat_ui/_sections.scss
64
+ - vendor/assets/stylsheets/almost_flat_ui/_settings.scss
65
+ - vendor/assets/stylsheets/almost_flat_ui/_sidenav.scss
66
+ - vendor/assets/stylsheets/almost_flat_ui/_subnav.scss
67
+ - vendor/assets/stylsheets/almost_flat_ui/_topbar.scss
68
+ homepage: https://github.com/mwitek/almost-flat-ui-rails
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubyforge_project:
88
+ rubygems_version: 2.2.2
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: almost-flat-ui bundled for Rails Asset Pipeline
92
+ test_files: []