blacklight_rtl 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/javascripts/blacklight_rtl/application.js +13 -0
  5. data/app/assets/stylesheets/blacklight_rtl/_blacklight_rtl_base.css.scss +47 -0
  6. data/app/assets/stylesheets/blacklight_rtl/_bookmark.css.scss +38 -0
  7. data/app/assets/stylesheets/blacklight_rtl/_catalog.css.scss +250 -0
  8. data/app/assets/stylesheets/blacklight_rtl/_dropdown.css.scss +57 -0
  9. data/app/assets/stylesheets/blacklight_rtl/_facets.css.scss +191 -0
  10. data/app/assets/stylesheets/blacklight_rtl/_footer.css.scss +0 -0
  11. data/app/assets/stylesheets/blacklight_rtl/_header.css.scss +53 -0
  12. data/app/assets/stylesheets/blacklight_rtl/_layout.css.scss +11 -0
  13. data/app/assets/stylesheets/blacklight_rtl/_mixins.css.scss +0 -0
  14. data/app/assets/stylesheets/blacklight_rtl/_modal.css.scss +27 -0
  15. data/app/assets/stylesheets/blacklight_rtl/_print.css.scss +0 -0
  16. data/app/assets/stylesheets/blacklight_rtl/_responsive.css.scss +3 -0
  17. data/app/assets/stylesheets/blacklight_rtl/_search_history.css.scss +42 -0
  18. data/app/assets/stylesheets/blacklight_rtl/application.css +13 -0
  19. data/app/assets/stylesheets/blacklight_rtl/blacklight_defaults.css.scss +48 -0
  20. data/app/assets/stylesheets/blacklight_rtl/blacklight_rtl.css.scss +5 -0
  21. data/app/assets/stylesheets/blacklight_rtl/responsive_partials/_catalog.css.scss +5 -0
  22. data/app/assets/stylesheets/blacklight_rtl/responsive_partials/_facets.css.scss +37 -0
  23. data/app/assets/stylesheets/blacklight_rtl/responsive_partials/_header.css.scss +30 -0
  24. data/app/assets/stylesheets/bootstrap_rtl/_bootstrap_rtl_base.css.scss +51 -0
  25. data/app/assets/stylesheets/bootstrap_rtl/bootstrap_rtl.css.scss +5 -0
  26. data/app/assets/stylesheets/improved-modal/bootstrap-modal.css +217 -0
  27. data/app/controllers/blacklight_rtl/application_controller.rb +4 -0
  28. data/app/helpers/blacklight_rtl/application_helper.rb +4 -0
  29. data/app/views/catalog/_per_page_widget.html.erb +15 -0
  30. data/app/views/catalog/_previous_next_doc.html.erb +16 -0
  31. data/app/views/catalog/_search_form.html.erb +21 -0
  32. data/app/views/catalog/_sort_widget.html.erb +14 -0
  33. data/app/views/catalog/index.html.erb +29 -0
  34. data/app/views/layouts/blacklight_rtl/application.html.erb +14 -0
  35. data/app/views/shared/_header_navbar.html.erb +27 -0
  36. data/config/locales/blacklight.heb.yml +223 -0
  37. data/config/routes.rb +2 -0
  38. data/lib/blacklight_rtl/engine.rb +5 -0
  39. data/lib/blacklight_rtl/version.rb +3 -0
  40. data/lib/blacklight_rtl.rb +4 -0
  41. data/lib/tasks/blacklight_rtl_tasks.rake +4 -0
  42. data/test/blacklight_rtl_test.rb +7 -0
  43. data/test/dummy/README.rdoc +28 -0
  44. data/test/dummy/Rakefile +6 -0
  45. data/test/dummy/app/assets/javascripts/application.js +13 -0
  46. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  47. data/test/dummy/app/controllers/application_controller.rb +5 -0
  48. data/test/dummy/app/helpers/application_helper.rb +2 -0
  49. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  50. data/test/dummy/bin/bundle +3 -0
  51. data/test/dummy/bin/rails +4 -0
  52. data/test/dummy/bin/rake +4 -0
  53. data/test/dummy/config/application.rb +23 -0
  54. data/test/dummy/config/boot.rb +5 -0
  55. data/test/dummy/config/database.yml +25 -0
  56. data/test/dummy/config/environment.rb +5 -0
  57. data/test/dummy/config/environments/development.rb +29 -0
  58. data/test/dummy/config/environments/production.rb +80 -0
  59. data/test/dummy/config/environments/test.rb +36 -0
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/test/dummy/config/initializers/inflections.rb +16 -0
  63. data/test/dummy/config/initializers/mime_types.rb +5 -0
  64. data/test/dummy/config/initializers/secret_token.rb +12 -0
  65. data/test/dummy/config/initializers/session_store.rb +3 -0
  66. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/test/dummy/config/locales/en.yml +23 -0
  68. data/test/dummy/config/routes.rb +4 -0
  69. data/test/dummy/config.ru +4 -0
  70. data/test/dummy/db/development.sqlite3 +0 -0
  71. data/test/dummy/log/development.log +12 -0
  72. data/test/dummy/public/404.html +58 -0
  73. data/test/dummy/public/422.html +58 -0
  74. data/test/dummy/public/500.html +57 -0
  75. data/test/dummy/public/favicon.ico +0 -0
  76. data/test/integration/navigation_test.rb +10 -0
  77. data/test/test_helper.rb +15 -0
  78. metadata +190 -0
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2013 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = BlacklightRtl
2
+
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile ADDED
@@ -0,0 +1,34 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'BlacklightRtl'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+
21
+
22
+ Bundler::GemHelper.install_tasks
23
+
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'lib'
28
+ t.libs << 'test'
29
+ t.pattern = 'test/**/*_test.rb'
30
+ t.verbose = false
31
+ end
32
+
33
+
34
+ task default: :test
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,47 @@
1
+ @charset "UTF-8";
2
+
3
+ /* This file is generated by Blacklight. You probably don't want to edit
4
+ this file directly, or you'll have to manually merge your changes if later
5
+ versions of Blacklight change this file. Instead, use your own CSS file
6
+ which over-rides things in this file. Or of course you can choose
7
+ not to use the Blacklight CSS file at all in your local app. */
8
+
9
+ $btnInfoBackground: #9ad0fe;
10
+
11
+ @import 'blacklight_rtl/blacklight_defaults';
12
+
13
+ /* Import this to maintain the old YUI font styles */
14
+ @import "blacklight_rtl/layout";
15
+ @import "blacklight_rtl/header";
16
+ @import "blacklight_rtl/footer";
17
+ @import "blacklight_rtl/catalog";
18
+ @import "blacklight_rtl/bookmark";
19
+ @import "blacklight_rtl/facets";
20
+ @import "blacklight_rtl/search_history";
21
+ @import "blacklight_rtl/print";
22
+ @import "blacklight_rtl/responsive";
23
+
24
+ @import "blacklight_rtl/dropdown";
25
+ @import "blacklight_rtl/modal";
26
+
27
+ @import "improved-modal/bootstrap-modal";
28
+ @import "bootstrap_rtl/bootstrap_rtl";
29
+
30
+ .hide-text {
31
+ width: 1px;
32
+ position: absolute;
33
+ display: inline-block;
34
+ text-indent: 100%;
35
+ white-space: nowrap;
36
+ overflow: hidden;
37
+ }
38
+
39
+ /* TODO: Someone override this two id's with incorrect padding.
40
+ * Check who is doing this and fix the source */
41
+ #sidebar #sortAndPerPage {
42
+ padding: 19px;
43
+ }
44
+
45
+ #sidebar .constraints-container {
46
+ padding: 19px 19px 9px 19px;
47
+ }
@@ -0,0 +1,38 @@
1
+ ul.bookmarkTools
2
+ {
3
+ @include border-radius(0 0 4px 4px);
4
+ background-color: $well_bg_color;
5
+ border-color: $well_bg_color;
6
+ margin:0;
7
+
8
+ li
9
+ {
10
+ display:inline-block;
11
+ }
12
+
13
+ li form
14
+ {
15
+ display:inline;
16
+ }
17
+
18
+ li.refworks form input.submit
19
+ {
20
+ display:none;
21
+ }
22
+ }
23
+
24
+
25
+ ul.tools
26
+ {
27
+ margin:0;
28
+ padding:0;
29
+ list-style: none;
30
+
31
+ li
32
+ {
33
+ display: inline;
34
+ list-style: none;
35
+ margin: 0;
36
+ margin-left: 10px;
37
+ }
38
+ }
@@ -0,0 +1,250 @@
1
+ .catalog_startOverLink {
2
+ padding-top: 0.3em;
3
+ float: left;
4
+ }
5
+
6
+ #sort-dropdown {
7
+ padding-right: 1em;
8
+ }
9
+
10
+ #document
11
+ {
12
+ margin-top:1em;
13
+
14
+
15
+ h1
16
+ {
17
+ margin:0;
18
+ padding:0 0 0.4em;
19
+ }
20
+ }
21
+
22
+ #documents
23
+ {
24
+ margin-bottom:1em;
25
+ margin-top:1em;
26
+
27
+ .documentHeader
28
+ {
29
+ padding: 5px 0 0;
30
+ }
31
+ }
32
+
33
+ .ajax_form
34
+ {
35
+ margin-bottom: 0;
36
+ }
37
+
38
+ #librarian_view
39
+ {
40
+ right:-17%;
41
+ text-align:right;
42
+ top:10%;
43
+ width:700px;
44
+ }
45
+
46
+ #marc_view
47
+ {
48
+ padding:5px;
49
+ text-align:right;
50
+
51
+ .field
52
+ {
53
+ border-bottom: $marc_item_separator;
54
+ clear:both;
55
+ }
56
+
57
+ .ind1, .ind2
58
+ {
59
+ display:inline;
60
+ padding:0 5px;
61
+ }
62
+
63
+ .subfields
64
+ {
65
+ padding-right:5em;
66
+ }
67
+
68
+ .tag_ind
69
+ {
70
+ float:right;
71
+ }
72
+ }
73
+
74
+ .constraints-container {
75
+ @extend .well;
76
+ padding-bottom: 9px;
77
+ }
78
+
79
+ span.constraints-label {
80
+ font-weight:bold;
81
+ }
82
+
83
+ .appliedFilter
84
+ {
85
+ background: $constraint_bg_color;
86
+ border:1px solid $constraint_border_color;
87
+ display:inline-block;
88
+ margin-bottom:0.66em;
89
+ margin-left:0.33em;
90
+ padding:3px 3px 3px 1.5em;
91
+ padding-left:50px;
92
+ position:relative;
93
+ @include border-radius(15px 15px 15px 15px);
94
+
95
+ .btnRemove
96
+ {
97
+ background: image_url('blacklight/remove.gif') no-repeat center center;
98
+ border-bottom:none;
99
+ border-right:1px solid $constraint_border_color;
100
+ display:block;
101
+ height:100%;
102
+ outline:none;
103
+ position:absolute;
104
+ left:0;
105
+ text-indent:-99999px;
106
+ top:0;
107
+ width:32px;
108
+ z-index:5;
109
+ }
110
+
111
+ .btnRemove:active,.btnRemove:focus
112
+ {
113
+ border:1px dotted $constraint_border_active_color;
114
+ }
115
+
116
+ .filterName
117
+ {
118
+ background: image_url('blacklight/separator.gif') no-repeat left center;
119
+ padding-left:14px;
120
+ }
121
+ }
122
+
123
+ .document
124
+ {
125
+ border-bottom:1px dotted $dotted_border_color;
126
+ clear:both;
127
+ padding-bottom: 1em;
128
+
129
+ dd {
130
+ padding-bottom:0.5em;
131
+ }
132
+ }
133
+
134
+ #documents .documentFunctions
135
+ {
136
+ float:left;
137
+ margin: 10px 0;
138
+
139
+ .bookmark_toggle
140
+ {
141
+ display:inline;
142
+ }
143
+ }
144
+
145
+ #sidebar form {
146
+ margin: 0;
147
+ }
148
+
149
+ .page_links
150
+ {
151
+ display: inline-block;
152
+ }
153
+
154
+ .pagination {
155
+ text-align: center ;
156
+ }
157
+
158
+
159
+ .solrQuery
160
+ {
161
+ background-color: $search_ui_bg_color;
162
+ border:1px dotted $dotted_border_color;
163
+ font-size:90%;
164
+ margin:2em;
165
+ padding:.5em;
166
+ }
167
+
168
+ .document dl {
169
+ margin-top: 0;
170
+ margin-bottom: 0;
171
+ }
172
+
173
+ .dl-invert {
174
+ dt {
175
+ font-weight: normal;
176
+ color: #888;
177
+ }
178
+ }
179
+
180
+ label.checked
181
+ {
182
+ font-weight:700;
183
+ }
184
+
185
+ label.toggle_bookmark
186
+ {
187
+ color:inherit;
188
+ display:inline-block;
189
+ font-weight:inherit;
190
+ min-width:8.5em;
191
+ text-align:right;
192
+ }
193
+
194
+
195
+ span.page a,span.page.current
196
+ {
197
+ border-bottom:none;
198
+ margin-left:0.2em;
199
+ padding:0.2em 0.5em;
200
+ text-decoration:none;
201
+ }
202
+
203
+
204
+ #sidebar .well
205
+ {
206
+ padding: 8px 0;
207
+ }
208
+
209
+ #sidebar-mlt li {
210
+ padding-bottom: 0.5em;
211
+ }
212
+
213
+ .show-document
214
+ {
215
+ .document {
216
+ border: none;
217
+ }
218
+ }
219
+
220
+ #sortAndPerPage {
221
+ @extend .well;
222
+ }
223
+
224
+ #sortAndPerPage .dropdown-toggle {
225
+ cursor: pointer;
226
+ }
227
+
228
+ .no-js #sortAndPerPage {
229
+ & {
230
+ @extend .clearfix;
231
+ }
232
+ .dropdown-menu {
233
+ background: none;
234
+ box-shadow: none;
235
+ border: none;
236
+ position: relative;
237
+ display: block;
238
+ float: none;
239
+ }
240
+
241
+ }
242
+
243
+ .index_title {
244
+ float: right;
245
+ max-width: 414px; //span7; figure out how to calculate this correctly?
246
+ }
247
+
248
+ #email_form {
249
+ @extend .span6;
250
+ }
@@ -0,0 +1,57 @@
1
+ .css-dropdown {
2
+ list-style: none;
3
+ position: relative;
4
+ margin: -5px 0 0 0;
5
+ display: inline-block;
6
+ li {
7
+ cursor: pointer;
8
+ padding: 5px 10px;
9
+ &:hover, &.hovering {
10
+ border-bottom-right-radius: 0;
11
+ border-bottom-left-radius: 0;
12
+ -webkit-border-bottom-right-radius: 0;
13
+ -webkit-border-bottom-left-radius: 0;
14
+ -moz-border-radius-bottom-right: 0;
15
+ -moz-border-radius-bottom-left: 0;
16
+ & > ul {
17
+ border-top: 1px solid white;
18
+ display: block;
19
+ }
20
+ }
21
+ a:hover {
22
+ text-decoration: none;
23
+ }
24
+ }
25
+ ul {
26
+ list-style: none;
27
+ position: absolute;
28
+ z-index: $zindexDropdown;
29
+ top: 100%;
30
+ right: 0;
31
+ left: 0;
32
+ margin: 0;
33
+ display: none;
34
+ background: white;
35
+ border: 1px solid #cccccc;
36
+ -webkit-border-radius: 4px;
37
+ -moz-border-radius: 4px;
38
+ border-radius: 4px;
39
+ -webkit-border-top-right-radius: 0;
40
+ -moz-border-radius-top-right: 0;
41
+ border-top-right-radius: 0;
42
+ -webkit-border-top-left-radius: 0;
43
+ -moz-border-radius-top-left: 0;
44
+ border-top-left-radius: 0;
45
+ li {
46
+ padding: 0;
47
+ text-align: right;
48
+ &:hover {
49
+ background: whiteSmoke;
50
+ }
51
+ a {
52
+ padding: 5px 10px;
53
+ display: block;
54
+ }
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,191 @@
1
+ #facets
2
+ {
3
+ div.facet_limit {
4
+ clear: both;
5
+ }
6
+ ul {
7
+ padding-top:0.5em;
8
+ margin-right: 14px;
9
+ }
10
+
11
+ li
12
+ {
13
+ list-style:none;
14
+ margin-left:1em;
15
+ padding-bottom:0.3em;
16
+ padding-left: 50px;
17
+ clear: left;
18
+
19
+ a.remove
20
+ {
21
+ color:#666;
22
+ margin-right: 0px;
23
+ padding: 3px 5px;
24
+ }
25
+
26
+ a:hover
27
+ {
28
+ background-color:#eee;
29
+ }
30
+
31
+ .count {
32
+ text-align:left;
33
+ float:left;
34
+ margin-left: -70px;
35
+ }
36
+
37
+ &.more_facets_link {
38
+ text-align:left;
39
+ float:left;
40
+ margin-left: -55px;
41
+ }
42
+ }
43
+
44
+ span.selected
45
+ {
46
+ color:green;
47
+ }
48
+
49
+ ul,h5 +div
50
+ {
51
+ padding-bottom:1em;
52
+ }
53
+ }
54
+
55
+ .facet_extended_list
56
+ {
57
+ .sort_options
58
+ {
59
+ text-align:left;
60
+ }
61
+
62
+
63
+ .prev_next_links
64
+ {
65
+ float:right;
66
+ }
67
+
68
+ }
69
+
70
+ ul.facet_extended_list
71
+ {
72
+ clear:both;
73
+ margin:1.5em 0;
74
+
75
+ li
76
+ {
77
+ list-style:none;
78
+ margin:0.5em 0;
79
+ }
80
+
81
+ .count {
82
+ float:left;
83
+ }
84
+ }
85
+
86
+
87
+ /* Sidenav
88
+ -------------------------------------------------- */
89
+
90
+ .sidenav {
91
+ margin-bottom:1em;
92
+ padding: 0;
93
+ background-color: transparent;
94
+ border: 1px solid $navbarBorder;
95
+ -webkit-border-radius: 6px;
96
+ -moz-border-radius: 6px;
97
+ border-radius: 6px;
98
+ -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
99
+ -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
100
+ box-shadow: 0 1px 4px rgba(0,0,0,.065);
101
+
102
+ h5, h4 {
103
+ display: block;
104
+ *width: 190px;
105
+ margin: 0 0 -1px;
106
+ padding: 8px 14px;
107
+ }
108
+ h5 {
109
+ border-top: 1px solid $navbarBorder;
110
+ }
111
+
112
+ .facet_limit:last-child > h5 {
113
+
114
+ &.twiddle-open {
115
+ @include border-bottom-radius(0px);
116
+ }
117
+
118
+ @include border-bottom-radius(6px);
119
+ }
120
+
121
+ }
122
+
123
+
124
+ #facets .btn-navbar {
125
+ // Navbar button for toggling navbar items in responsive layouts
126
+ // These definitions need to come after '.navbar .btn'
127
+ display: none;
128
+ float: left;
129
+ padding: 7px 10px;
130
+ margin-right: 5px;
131
+ margin-left: 5px;
132
+ @include buttonBackground(darken($navbarBackgroundHighlight, 5%), darken($navbarBackground, 5%));
133
+ @include box-shadow(#{inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)});
134
+ & .icon-bar {
135
+ display: block;
136
+ width: 18px;
137
+ height: 2px;
138
+ background-color: #f5f5f5;
139
+ @include border-radius(1px);
140
+ @include box-shadow(0 1px 0 rgba(0,0,0,.25));
141
+ }
142
+ & .icon-bar + .icon-bar {
143
+ margin-top: 3px;
144
+ }
145
+
146
+ }
147
+
148
+ .facets-collapse {
149
+ h5 {
150
+ cursor: pointer;
151
+ }
152
+ /* Chevrons */
153
+ .icon-chevron {
154
+ float: left;
155
+ margin-top: 2px;
156
+ margin-left: -6px;
157
+ opacity: .25;
158
+ }
159
+
160
+ .facet_limit h5:hover {
161
+ background-color: darken($bodyBackground, 10%);
162
+ }
163
+
164
+ .icon-chevron {
165
+ @extend .icon-chevron-left;
166
+ opacity: .5;
167
+ }
168
+
169
+ .twiddle-open .icon-chevron {
170
+ @extend .icon-chevron-down;
171
+ opacity: 1;
172
+ padding-left:2px;
173
+ }
174
+
175
+ /* hide the chevron when js isn't supported */
176
+ .no-js & .icon-chevron {
177
+ @extend .icon-chevron-down;
178
+ padding-left:2px;
179
+ }
180
+
181
+ h5:hover .icon-chevron,
182
+ .twiddle-open .icon-chevron {
183
+ opacity: 1;
184
+ }
185
+ }
186
+
187
+ .facet_pagination {
188
+ @extend .clearfix;
189
+ }
190
+
191
+
@@ -0,0 +1,53 @@
1
+ /*
2
+ Header bar at top (Bootstrap nav-bar)
3
+ */
4
+
5
+ #header-navbar-fixed-top {
6
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
7
+ min-width: 395px;
8
+ /* This ensures that any tool pop-up goes infront of the header */
9
+ z-index:1000;
10
+
11
+ .brand { /* The main logo image for the Blacklight instance */
12
+ width: 150px;
13
+ background:transparent image_url($logo_image) no-repeat top right;
14
+ display: inline-block;
15
+ text-indent: 100%;
16
+ white-space: nowrap;
17
+ overflow: hidden;
18
+ padding-left:0;
19
+ margin-left:20px;
20
+ padding-right: 0;
21
+ }
22
+
23
+ .navbar-inner {
24
+ padding-top: 0.5em;
25
+ padding-bottom: 0.5em;
26
+ }
27
+
28
+ .desktop-search-bar { /* Search form is in the header */
29
+ opacity: 1 !important;
30
+ padding-top: 0.5em;
31
+
32
+ }
33
+ }
34
+
35
+ #searchbar {
36
+ padding-top:5px;
37
+ }
38
+
39
+ .search-query-form {
40
+ margin-bottom: 0;
41
+ }
42
+
43
+ .btn.search-btn {
44
+ margin-top: 0;
45
+ }
46
+
47
+ .search_field {
48
+ margin-left: 0.5em;
49
+ }
50
+
51
+ .util-links-login, .util-links-other {
52
+ font-size: 0.9em;
53
+ }
@@ -0,0 +1,11 @@
1
+ /* Generic layout stuff */
2
+ .hide
3
+ {
4
+ display:none
5
+ }
6
+
7
+ /* This provides a fixed distance between the header and the main content */
8
+ body {
9
+ padding-top: 6em;
10
+ direction: rtl;
11
+ }