biola_frontend_toolkit 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/biola-frontend-toolkit.css.scss +3 -2
- data/app/assets/stylesheets/biola/global_app_header.scss +3 -3
- data/app/views/frontend_toolkit/_prerelease_banner.html.slim +5 -5
- data/config/locales/en.yml +6 -0
- data/lib/biola_frontend_toolkit/configuration.rb +0 -11
- data/lib/biola_frontend_toolkit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4773caa4fe39702cf8c8fb875a24d49300d5741
|
4
|
+
data.tar.gz: 7f8b96dd5e37a0de0fdf150240498e02832aaa4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc5399c390723b2e33247c1a00318e68cec6ec050a6ea7443872deb52a3fe297fb19886db1ddf3260affa44bfb182a5e8f259e6aa12737f3f24491a6998d9c00
|
7
|
+
data.tar.gz: 6b83f40b166e5efff10c05227ceca5dc43876adb84935a4aec3ade38cc49247d198a3a4723852a462d7e04a26d6a165d80ddc0ff5e5fd54fd6635184fbd7fc02
|
@@ -6,8 +6,9 @@
|
|
6
6
|
body { margin: 0; }
|
7
7
|
|
8
8
|
|
9
|
-
// Customize header dropdown menus.
|
10
|
-
|
9
|
+
// Customize header dropdown menus. Declare both 'dropdown custom-dropdown' classes on the HTML element.
|
10
|
+
// We will still use the default Bootstrap dropdown but will overwrite some of it's default styles.
|
11
|
+
.custom-dropdown { float: right;
|
11
12
|
.dropdown-toggle { display: block; text-align:center; line-height:42px; padding:0 15px; color:#CCC; cursor:pointer; background:transparent; border:0; outline:0; -webkit-user-select: none; -webkit-appearance:none;
|
12
13
|
i.fa { vertical-align: middle; }
|
13
14
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
.university { display: none; }
|
8
8
|
}
|
9
9
|
|
10
|
-
.
|
10
|
+
.custom-dropdown {
|
11
11
|
.dropdown-menu { top: 122%; border-radius: 0; min-width: 230px;
|
12
12
|
> li {
|
13
13
|
> a { color: inherit;
|
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
@media screen and (max-width:360px) {
|
66
66
|
#globalAppHeader {
|
67
|
-
#apps-list.dropdown {
|
67
|
+
#apps-list.custom-dropdown {
|
68
68
|
.dropdown-menu { right: -80px;
|
69
69
|
&::before { right: 87px; }
|
70
70
|
&::after { right: 88px; }
|
@@ -75,7 +75,7 @@
|
|
75
75
|
|
76
76
|
@media screen and (min-width:549px) {
|
77
77
|
#globalAppHeader {
|
78
|
-
#apps-list.dropdown {
|
78
|
+
#apps-list.custom-dropdown {
|
79
79
|
.dropdown-toggle {
|
80
80
|
.mobile { display:none; }
|
81
81
|
.desktop { display: block; }
|
@@ -1,16 +1,16 @@
|
|
1
1
|
- feedback_form_url ||= nil
|
2
2
|
- phase = BiolaFrontendToolkit.config.release_phase
|
3
|
-
- styles = ''
|
4
|
-
- styles += "background-color: #{background_color};" if defined?(background_color)
|
5
3
|
|
6
4
|
- if ['alpha', 'beta'].include? phase
|
7
5
|
#wrapperPreRelease
|
8
|
-
div id
|
6
|
+
div id=(phase+'Banner') class='pre-release-banner'
|
9
7
|
.container
|
10
8
|
span
|
11
9
|
strong = phase.upcase+':'
|
12
10
|
'
|
11
|
+
= t('frontend_toolkit.release_phase_intro')
|
12
|
+
'
|
13
13
|
- if feedback_form_url
|
14
|
-
|
14
|
+
= raw t('frontend_toolkit.release_phase_outro', feedback_link: link_to(t('frontend_toolkit.feedback_link_text'), feedback_form_url, target: '_blank'))
|
15
15
|
- else
|
16
|
-
=
|
16
|
+
= t('frontend_toolkit.release_phase_outro')
|
@@ -22,16 +22,5 @@ module BiolaFrontendToolkit
|
|
22
22
|
@ga_domain = 'biola.edu'
|
23
23
|
@ga_enabled = false
|
24
24
|
end
|
25
|
-
|
26
|
-
def release_phase_intro
|
27
|
-
case release_phase
|
28
|
-
when 'alpha'
|
29
|
-
'This is a prototype'
|
30
|
-
when 'beta'
|
31
|
-
'This is a trial service'
|
32
|
-
else
|
33
|
-
''
|
34
|
-
end
|
35
|
-
end
|
36
25
|
end
|
37
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: biola_frontend_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Hall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- app/views/frontend_toolkit/_prerelease_banner.html.slim
|
73
73
|
- app/views/frontend_toolkit/shared/_profile_dropdown.html.slim
|
74
74
|
- biola_frontend_toolkit.gemspec
|
75
|
+
- config/locales/en.yml
|
75
76
|
- lib/biola_frontend_toolkit.rb
|
76
77
|
- lib/biola_frontend_toolkit/configuration.rb
|
77
78
|
- lib/biola_frontend_toolkit/engine.rb
|