biovision 0.0.200518.1 → 0.1.210414.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +60 -18
- data/app/assets/images/biovision/icons/back.svg +19 -0
- data/app/assets/images/biovision/icons/create.svg +19 -0
- data/app/assets/images/biovision/icons/destroy.svg +12 -0
- data/app/assets/images/biovision/icons/dropdown.svg +3 -0
- data/app/assets/images/biovision/icons/edit.svg +22 -0
- data/app/assets/images/biovision/icons/gear.svg +11 -0
- data/app/assets/images/biovision/icons/return.svg +25 -0
- data/app/assets/images/biovision/icons/world.svg +11 -0
- data/app/assets/stylesheets/biovision/admin/components.scss +3 -1
- data/app/assets/stylesheets/biovision/admin/components/users.scss +16 -0
- data/app/assets/stylesheets/biovision/admin/layout.scss +6 -17
- data/app/assets/stylesheets/biovision/biovision.scss +42 -1
- data/app/assets/stylesheets/biovision/components.scss +6 -0
- data/app/assets/stylesheets/biovision/components/breadcrumbs.scss +13 -0
- data/app/assets/stylesheets/biovision/components/buttons.scss +130 -0
- data/app/assets/stylesheets/biovision/components/forms.scss +162 -1
- data/app/assets/stylesheets/biovision/components/lists.scss +6 -7
- data/app/assets/stylesheets/biovision/{biovision → components}/messages.scss +9 -0
- data/app/assets/stylesheets/biovision/components/pagination.scss +34 -0
- data/app/assets/stylesheets/biovision/components/simple_image.scss +112 -0
- data/app/assets/stylesheets/biovision/components/toggleable.scss +71 -0
- data/app/assets/stylesheets/biovision/themes/default_theme/components.scss +2 -3
- data/app/assets/stylesheets/biovision/themes/default_theme/components/users.scss +2 -0
- data/app/assets/stylesheets/biovision/themes/default_theme/components/users/form_tabs.scss +101 -0
- data/app/assets/stylesheets/biovision/themes/default_theme/components/users/profile.scss +77 -0
- data/app/assets/stylesheets/biovision/themes/default_theme/layout.scss +2 -16
- data/app/controllers/admin/components_controller.rb +9 -19
- data/app/controllers/admin/dynamic_blocks_controller.rb +15 -0
- data/app/controllers/admin/dynamic_pages_controller.rb +15 -0
- data/app/controllers/admin/navigation_groups_controller.rb +14 -0
- data/app/controllers/admin/users_controller.rb +70 -0
- data/app/controllers/admin_controller.rb +3 -2
- data/app/controllers/authentication_controller.rb +6 -34
- data/app/controllers/concerns/authentication.rb +12 -12
- data/app/controllers/concerns/crud_entities.rb +132 -0
- data/app/controllers/concerns/entity_priority.rb +10 -0
- data/app/controllers/concerns/toggleable_entity.rb +31 -0
- data/app/controllers/contact_controller.rb +49 -0
- data/app/controllers/fallback_controller.rb +12 -0
- data/app/controllers/index_controller.rb +1 -0
- data/app/controllers/legal_controller.rb +14 -0
- data/app/controllers/my/components_controller.rb +5 -0
- data/app/controllers/my/confirmations_controller.rb +44 -0
- data/app/controllers/my/index_controller.rb +8 -0
- data/app/controllers/my/profiles_controller.rb +31 -16
- data/app/controllers/profile_controller.rb +12 -0
- data/app/controllers/users_controller.rb +61 -0
- data/app/helpers/biovision_helper.rb +171 -0
- data/app/helpers/simple_image_helper.rb +125 -0
- data/app/jobs/application_job.rb +7 -0
- data/app/jobs/send_phone_confirmation_job.rb +16 -0
- data/app/lib/biovision/components/base/component_parameters.rb +44 -0
- data/app/lib/biovision/components/base/component_privileges.rb +65 -0
- data/app/lib/biovision/components/base/component_settings.rb +32 -0
- data/app/lib/biovision/components/base/privilege_handler.rb +79 -0
- data/app/lib/biovision/components/base_component.rb +51 -54
- data/app/lib/biovision/components/contact_component.rb +22 -0
- data/app/lib/biovision/components/content_component.rb +28 -0
- data/app/lib/biovision/components/track_component.rb +3 -0
- data/app/lib/biovision/components/users/authentication.rb +15 -7
- data/app/lib/biovision/components/users/codes.rb +104 -0
- data/app/lib/biovision/components/users/flag_helpers.rb +72 -0
- data/app/lib/biovision/components/users/profile_handler.rb +111 -1
- data/app/lib/biovision/components/users/registration_handler.rb +40 -52
- data/app/lib/biovision/components/users/validation.rb +83 -0
- data/app/lib/biovision/components/users_component.rb +82 -19
- data/app/lib/biovision/notifiers/base_notifier.rb +2 -2
- data/app/lib/biovision/notifiers/contact_notifier.rb +15 -0
- data/app/lib/canonizer.rb +38 -0
- data/app/lib/carrier_wave/image_optim.rb +32 -0
- data/app/mailers/code_sender.rb +29 -0
- data/app/models/agent.rb +4 -0
- data/app/models/biovision_component.rb +22 -2
- data/app/models/browser.rb +1 -1
- data/app/models/code.rb +32 -9
- data/app/models/concerns/has_simple_image.rb +9 -0
- data/app/models/concerns/meta_texts.rb +25 -5
- data/app/models/concerns/tree_structure.rb +72 -0
- data/app/models/contact_method.rb +47 -0
- data/app/models/contact_type.rb +27 -0
- data/app/models/dynamic_block.rb +43 -0
- data/app/models/dynamic_page.rb +71 -0
- data/app/models/feedback_message.rb +59 -0
- data/app/models/feedback_response.rb +50 -0
- data/app/models/group.rb +48 -0
- data/app/models/language.rb +4 -0
- data/app/models/navigation_group.rb +33 -0
- data/app/models/navigation_group_page.rb +23 -0
- data/app/models/role.rb +56 -0
- data/app/models/role_group.rb +13 -0
- data/app/models/simple_image.rb +22 -8
- data/app/models/simple_image_tag.rb +1 -1
- data/app/models/token.rb +4 -4
- data/app/models/user.rb +94 -26
- data/app/models/user_group.rb +20 -0
- data/app/models/user_role.rb +19 -0
- data/app/uploaders/simple_file_uploader.rb +27 -0
- data/app/uploaders/simple_image_uploader.rb +20 -0
- data/app/views/admin/agents/index.html.erb +0 -2
- data/app/views/admin/components/_image.jbuilder +18 -0
- data/app/views/admin/components/_list.html.erb +1 -1
- data/app/views/admin/components/entity/_links.html.erb +1 -1
- data/app/views/admin/components/image.jbuilder +1 -0
- data/app/views/admin/components/images.jbuilder +4 -0
- data/app/views/admin/components/links/_content.html.erb +9 -0
- data/app/views/admin/components/links/_users.html.erb +1 -8
- data/app/views/admin/components/links/extra/_content.html.erb +0 -0
- data/app/views/admin/components/privileges/_links.html.erb +0 -18
- data/app/views/admin/components/settings/_new_parameter.html.erb +4 -2
- data/app/views/admin/components/settings/_parameters.html.erb +8 -2
- data/app/views/admin/components/settings/_settings.html.erb +1 -1
- data/app/views/admin/components/update_privileges.jbuilder +21 -0
- data/app/views/admin/dynamic_blocks/_form.html.erb +16 -0
- data/app/views/admin/dynamic_blocks/_nav_item.html.erb +6 -0
- data/app/views/admin/dynamic_blocks/entity/_in_list.html.erb +10 -0
- data/app/views/admin/dynamic_blocks/index.html.erb +15 -0
- data/app/views/admin/dynamic_blocks/show.html.erb +23 -0
- data/app/views/admin/dynamic_pages/_form.html.erb +21 -0
- data/app/views/admin/dynamic_pages/_nav_item.html.erb +6 -0
- data/app/views/admin/dynamic_pages/entity/_in_list.html.erb +15 -0
- data/app/views/admin/dynamic_pages/index.html.erb +15 -0
- data/app/views/admin/dynamic_pages/show.html.erb +28 -0
- data/app/views/admin/ip_addresses/index.html.erb +0 -2
- data/app/views/admin/navigation_groups/_form.html.erb +15 -0
- data/app/views/admin/navigation_groups/_nav_item.html.erb +6 -0
- data/app/views/admin/navigation_groups/entity/_in_list.html.erb +12 -0
- data/app/views/admin/navigation_groups/index.html.erb +15 -0
- data/app/views/admin/navigation_groups/show.html.erb +20 -0
- data/app/views/admin/unauthorized.html.erb +2 -5
- data/app/views/admin/users/_form.html.erb +81 -0
- data/app/views/admin/users/_nav_item.html.erb +6 -0
- data/app/views/admin/users/entity/_fields.html.erb +53 -0
- data/app/views/admin/users/entity/_in_list.html.erb +38 -0
- data/app/views/admin/users/entity/_profile.html.erb +26 -0
- data/app/views/admin/users/entity/in_list/_additional_data.html.erb +0 -0
- data/app/views/admin/users/index.html.erb +15 -0
- data/app/views/admin/users/show.html.erb +44 -0
- data/app/views/application/forbidden.html.erb +9 -0
- data/app/views/application/forbidden.jbuilder +4 -0
- data/app/views/application/not_found.html.erb +9 -0
- data/app/views/application/not_found.jbuilder +4 -0
- data/app/views/application/unauthorized.html.erb +16 -0
- data/app/views/application/unauthorized.jbuilder +4 -0
- data/app/views/authentication/new.html.erb +2 -8
- data/app/views/components/content/_dynamic_page.html.erb +21 -0
- data/app/views/components/users/_form_tabs.html.erb +31 -0
- data/app/views/components/users/_join_form.html.erb +192 -0
- data/app/views/components/users/_login_form.html.erb +45 -0
- data/app/views/components/users/form/_image.html.erb +17 -0
- data/app/views/components/users/form/_profile_data.html.erb +54 -0
- data/app/views/contact/_form.html.erb +108 -0
- data/app/views/contact/create_feedback_message.js.erb +1 -0
- data/app/views/contact/feedback.html.erb +13 -0
- data/app/views/contact/index.html.erb +16 -0
- data/app/views/fallback/show.html.erb +6 -0
- data/app/views/layouts/admin.html.erb +1 -1
- data/app/views/layouts/admin/_footer.html.erb +1 -1
- data/app/views/layouts/application/header/_authentication.html.erb +1 -1
- data/app/views/legal/privacy.html.erb +5 -0
- data/app/views/legal/tos.html.erb +5 -0
- data/app/views/my/confirmations/show.html.erb +62 -0
- data/app/views/my/index/index.html.erb +33 -0
- data/app/views/my/profiles/_form.html.erb +10 -0
- data/app/views/my/profiles/check.jbuilder +4 -0
- data/app/views/my/profiles/edit.html.erb +14 -0
- data/app/views/my/profiles/form/_basic_parameters.html.erb +9 -0
- data/app/views/my/profiles/form/_sensitive_parameters.html.erb +68 -0
- data/app/views/my/profiles/new.html.erb +6 -8
- data/app/views/my/profiles/show.html.erb +23 -0
- data/app/views/shared/_flash_messages.html.erb +1 -1
- data/app/views/shared/_list_of_errors.html.erb +7 -0
- data/app/views/shared/admin/_breadcrumbs.html.erb +8 -0
- data/app/views/shared/admin/_list.html.erb +4 -4
- data/app/views/shared/admin/_list_with_priority.html.erb +4 -4
- data/app/views/shared/admin/_priority.html.erb +5 -0
- data/app/views/shared/admin/_toggle.html.erb +11 -0
- data/app/views/shared/entity/_formatted_text_field.html.erb +10 -0
- data/app/views/shared/entity/_image.html.erb +31 -0
- data/app/views/shared/entity/_language.html.erb +6 -0
- data/app/views/shared/entity/_linked_entity.html.erb +6 -0
- data/app/views/shared/entity/_meta_texts.html.erb +16 -0
- data/app/views/shared/entity/_metadata.html.erb +18 -0
- data/app/views/shared/entity/_parent.html.erb +6 -0
- data/app/views/shared/entity/_priority.html.erb +4 -0
- data/app/views/shared/entity/_raw_text_field.html.erb +10 -0
- data/app/views/shared/entity/_simple_image.html.erb +10 -0
- data/app/views/shared/entity/_slug.html.erb +6 -0
- data/app/views/shared/entity/_text_field.html.erb +6 -0
- data/app/views/shared/entity/_text_fields.html.erb +9 -0
- data/app/views/shared/entity/_timestamps.html.erb +13 -0
- data/app/views/shared/entity/_tree_caches.html.erb +12 -0
- data/app/views/shared/entity/_uuid.html.erb +4 -0
- data/app/views/shared/entity/edit.html.erb +21 -0
- data/app/views/shared/entity/new.html.erb +16 -0
- data/app/views/shared/forms/_entity_flags.html.erb +15 -0
- data/app/views/shared/forms/_field.html.erb +46 -0
- data/app/views/shared/forms/_fields.html.erb +3 -0
- data/app/views/shared/forms/_language.html.erb +40 -0
- data/app/views/shared/forms/_meta_texts.html.erb +27 -0
- data/app/views/shared/forms/_priority.html.erb +13 -0
- data/app/views/shared/forms/_simple_image.html.erb +39 -0
- data/app/views/shared/forms/_state_container.html.erb +7 -0
- data/app/views/shared/forms/_text_area.html.erb +25 -0
- data/app/views/shared/forms/_text_field.html.erb +24 -0
- data/app/views/shared/forms/_text_fields.html.erb +3 -0
- data/app/views/shared/forms/check.jbuilder +4 -0
- data/app/views/shared/forms/errors.jbuilder +3 -0
- data/app/views/shared/forms/simple_image/_browse.html.erb +14 -0
- data/app/views/shared/forms/simple_image/_load_image.html.erb +38 -0
- data/app/views/shared/my/_list.html.erb +19 -0
- data/app/views/shared/my/_list_with_priority.html.erb +19 -0
- data/app/views/users/_profile.html.erb +30 -0
- data/app/views/users/profile/_data.html.erb +20 -0
- data/app/views/users/show.html.erb +21 -0
- data/config/locales/biovision-ru.yml +58 -0
- data/config/locales/components-ru.yml +30 -2
- data/config/locales/contact-ru.yml +106 -0
- data/config/locales/content-ru.yml +103 -0
- data/config/locales/users-ru.yml +117 -3
- data/config/routes.rb +70 -50
- data/db/migrate/20191228000000_create_biovision_components.rb +4 -5
- data/db/migrate/20200224000000_create_track_component.rb +7 -8
- data/db/migrate/20200224000010_create_users_component.rb +15 -43
- data/db/migrate/20200404000000_create_simple_images.rb +3 -3
- data/db/migrate/20200529000000_create_content_component.rb +74 -0
- data/db/migrate/20210401000000_create_contact_component.rb +95 -0
- data/db/migrate/20210405000000_create_acl.rb +74 -0
- data/lib/biovision/base_methods.rb +18 -10
- data/lib/biovision/engine.rb +8 -13
- data/lib/biovision/version.rb +1 -1
- metadata +186 -20
- data/app/assets/images/biovision/placeholders/user.svg +0 -15
- data/app/helpers/users_helper.rb +0 -11
- data/app/lib/biovision/components/component_settings.rb +0 -30
- data/app/lib/biovision/components/privilege_handler.rb +0 -77
- data/app/lib/biovision/components/users/code_handler.rb +0 -23
- data/app/models/foreign_site.rb +0 -34
- data/app/models/foreign_user.rb +0 -21
- data/app/uploaders/user_image_uploader.rb +0 -58
- data/app/views/admin/components/privileges/_privilege_flag.html.erb +0 -28
- data/app/views/authentication/_form.html.erb +0 -40
- data/app/views/authentication/failed.js.erb +0 -3
- data/app/views/my/profiles/new/_form.html.erb +0 -147
- data/app/views/shared/admin/_toggleable.html.erb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3c24a921606caffe513c4ee11746d99f1891ceff0f80571cdebf22832504017
|
4
|
+
data.tar.gz: a8fd06783b7ffdd07e64f2419a7cf9c6c85034c4b54ab0131105a6af053d3f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2ae86238cb7e4c0214e8f68e6eafdfdcd5ac3d18202b7e83068faf05e391105bc6d4a99aeae22142be73fb2d744a4a8d88b4677280996067116cab16c966db7
|
7
|
+
data.tar.gz: b6bb9884e0622fbfaac3203f6fcc570368fbebfdd2c07cf68e7916bd4d622f7d76aa2617d0822e6854fa275d718c45bcba985a9f9999e4778c0c6fcf12290e95
|
data/README.md
CHANGED
@@ -50,10 +50,10 @@ end
|
|
50
50
|
## Изменения в `config/environments/production.rb`
|
51
51
|
|
52
52
|
Нужно раскомментировать строку `config.require_master_key = true` (на момент
|
53
|
-
написания это `
|
53
|
+
написания это `21` строка).
|
54
54
|
|
55
55
|
Нужно выставить уровень сообщения об ошибках в `:warn`
|
56
|
-
(`config.log_level = :warn` в районе `
|
56
|
+
(`config.log_level = :warn` в районе `53` строки).
|
57
57
|
|
58
58
|
## Изменения в `app/mailers/application_mailer.rb`
|
59
59
|
|
@@ -107,6 +107,14 @@ production:
|
|
107
107
|
end
|
108
108
|
```
|
109
109
|
|
110
|
+
## Добавления в `package.json` и `application.js`
|
111
|
+
|
112
|
+
Нужно добавить `@biovivion/biovision`, чтобы работал JS на клиентской стороне
|
113
|
+
(`yarn add @biovision/biovision`).
|
114
|
+
|
115
|
+
В `pack/javascripts/application.js` нужно добавить
|
116
|
+
`require("@biovision/biovision")`.
|
117
|
+
|
110
118
|
## Добавления в `config/routes.rb`
|
111
119
|
|
112
120
|
```ruby
|
@@ -121,21 +129,8 @@ production:
|
|
121
129
|
concern :priority do
|
122
130
|
post :priority, on: :member, defaults: { format: :json }
|
123
131
|
end
|
124
|
-
|
125
|
-
concern :removable_image do
|
126
|
-
delete :image, action: :destroy_image, on: :member, defaults: { format: :json }
|
127
|
-
end
|
128
|
-
|
129
|
-
concern :lock do
|
130
|
-
member do
|
131
|
-
put :lock, defaults: { format: :json }
|
132
|
-
delete :lock, action: :unlock, defaults: { format: :json }
|
133
|
-
end
|
134
|
-
end
|
135
132
|
|
136
|
-
|
137
|
-
root 'index#index'
|
138
|
-
end
|
133
|
+
root 'index#index'
|
139
134
|
```
|
140
135
|
|
141
136
|
## Дополнения в config/puma.rb
|
@@ -150,7 +145,6 @@ if ENV['RAILS_ENV'] == 'production'
|
|
150
145
|
logs_dir = "#{shared_path}/log"
|
151
146
|
|
152
147
|
state_path "#{shared_path}/tmp/puma/state"
|
153
|
-
pidfile "#{shared_path}/tmp/puma/pid"
|
154
148
|
bind "unix://#{shared_path}/tmp/puma.sock"
|
155
149
|
stdout_redirect "#{logs_dir}/stdout.log", "#{logs_dir}/stderr.log", true
|
156
150
|
|
@@ -177,7 +171,34 @@ bundle binstub puma
|
|
177
171
|
|
178
172
|
Также имеет смысл запустить `EDITOR=vim rails credentials:edit`, чтобы создать
|
179
173
|
зашированный файл с ключом шифрования сессии (чтобы выйти из vim с сохранением,
|
180
|
-
надо набрать
|
174
|
+
надо нажать `esc` и набрать `:wq`).
|
175
|
+
|
176
|
+
Чтобы проходила сборка на сервере, следует запустить эту команду:
|
177
|
+
|
178
|
+
```bash
|
179
|
+
bundle lock --add-platform x86_64-linux
|
180
|
+
```
|
181
|
+
|
182
|
+
## Настройка БД на сервере
|
183
|
+
|
184
|
+
Если нужно создать пользователя (заменить `example` на пользователя из
|
185
|
+
`config/database.yml` из раздела `production`):
|
186
|
+
|
187
|
+
```bash
|
188
|
+
sudo su postgres
|
189
|
+
createuser -d -P example
|
190
|
+
```
|
191
|
+
|
192
|
+
Для создания БД (заменить `example` на пользователя из `config/database.yml`
|
193
|
+
из раздела `production`):
|
194
|
+
|
195
|
+
```bash
|
196
|
+
psql -h localhost -U example postgres
|
197
|
+
```
|
198
|
+
|
199
|
+
```postgresql
|
200
|
+
create database example template template0 encoding='UTF8' LC_COLLATE='ru_RU.UTF-8' LC_CTYPE='ru_RU.UTF-8';
|
201
|
+
```
|
181
202
|
|
182
203
|
## Настройка отгрузки через mina
|
183
204
|
|
@@ -195,10 +216,31 @@ set :shared_dirs, fetch(:shared_dirs, []).push('public/uploads', 'tmp', 'log')
|
|
195
216
|
set :shared_files, fetch(:shared_files, []).push('config/master.key', '.env')
|
196
217
|
```
|
197
218
|
|
219
|
+
Если используется `nvm`, то нужно добавить его инициализацию:
|
220
|
+
|
221
|
+
В блок `:remote_environment` добавить строку:
|
222
|
+
|
223
|
+
```ruby
|
224
|
+
invoke :'nvm:load'
|
225
|
+
```
|
226
|
+
|
227
|
+
Сама загрузка `nvm`:
|
228
|
+
|
229
|
+
```ruby
|
230
|
+
namespace :nvm do
|
231
|
+
task :load do
|
232
|
+
command 'echo "-----> Loading nvm"'
|
233
|
+
command %{source ~/.nvm/nvm.sh}
|
234
|
+
command 'echo "-----> Now using nvm v.`nvm --version`"'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
```
|
238
|
+
|
198
239
|
На серверной стороне нужно создать папку для пумы и файла с ключом шифрования:
|
199
240
|
|
200
241
|
```bash
|
201
242
|
mkdir -p /var/www/example.com/shared/tmp/puma
|
243
|
+
mkdir -p /var/www/example.com/shared/tmp/pids
|
202
244
|
mkdir -p /var/www/example.com/shared/config
|
203
245
|
```
|
204
246
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg version="1.1" id="Layer_1" x="0px" y="0px" width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 1252.705 1638.145 48.02 48.02" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<g transform="matrix(0.499792, 0, 0, 0.499792, -626.091919, -818.731812)">
|
4
|
+
<g>
|
5
|
+
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="-8.0889" y1="1366.9993" x2="6.3662" y2="1366.9993" gradientTransform="matrix(3.3219 0 0 -3.3219 1279.5765 6203.127)">
|
6
|
+
<stop offset="0" style="stop-color:#33B49D"/>
|
7
|
+
<stop offset="1" style="stop-color:#00A185"/>
|
8
|
+
</linearGradient>
|
9
|
+
<circle fill="url(#SVGID_1_)" cx="1276.715" cy="1662.155" r="24.01"/>
|
10
|
+
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-6.8848" y1="1366.9993" x2="5.1616" y2="1366.9993" gradientTransform="matrix(3.3219 0 0 -3.3219 1279.5765 6203.127)">
|
11
|
+
<stop offset="0" style="stop-color:#00A185"/>
|
12
|
+
<stop offset="1" style="stop-color:#33B49D"/>
|
13
|
+
</linearGradient>
|
14
|
+
<path fill="url(#SVGID_2_)" d="M1276.715,1682.163c-11.032,0-20.008-8.976-20.008-20.009c0-11.032,8.976-20.009,20.008-20.009 s20.008,8.977,20.008,20.009C1296.723,1673.188,1287.747,1682.163,1276.715,1682.163z"/>
|
15
|
+
</g>
|
16
|
+
<polygon id="XMLID_80_" opacity="0.3" enable-background="new " points="1276.012,1653.105 1266.211,1662.905 		1276.012,1672.705 1276.012,1667.508 1288.72,1667.508 1288.72,1658.302 1276.012,1658.302 	"/>
|
17
|
+
<polygon id="XMLID_201_" fill="#FFFFFF" points="1275.261,1652.354 1265.46,1662.155 1275.261,1671.955 1275.261,1666.758 		1287.97,1666.758 1287.97,1657.551 1275.261,1657.551 	"/>
|
18
|
+
</g>
|
19
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg enable-background="new 0 0 512 512" id="Layer_1" version="1.1" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<g transform="matrix(0.046875, 0, 0, 0.046875, 0, 0)">
|
4
|
+
<g>
|
5
|
+
<linearGradient gradientUnits="userSpaceOnUse" id="SVGID_1_" x1="0.0000038" x2="512" y1="256" y2="256">
|
6
|
+
<stop offset="0" style="stop-color:#33B49D"/>
|
7
|
+
<stop offset="1" style="stop-color:#00A185"/>
|
8
|
+
</linearGradient>
|
9
|
+
<circle cx="256" cy="256" fill="url(#SVGID_1_)" r="256"/>
|
10
|
+
<linearGradient gradientUnits="userSpaceOnUse" id="SVGID_2_" x1="42.6666679" x2="469.3333435" y1="256.0005188" y2="256.0005188">
|
11
|
+
<stop offset="0" style="stop-color:#00A185"/>
|
12
|
+
<stop offset="1" style="stop-color:#33B49D"/>
|
13
|
+
</linearGradient>
|
14
|
+
<path d="M256,469.3338623c-117.6309357,0-213.3333282-95.7023926-213.3333282-213.3333435 c0-117.6314545,95.7023926-213.333313,213.3333282-213.333313c117.636261,0,213.3333435,95.7018661,213.3333435,213.333313 C469.3333435,373.6314697,373.636261,469.3338623,256,469.3338623z" fill="url(#SVGID_2_)"/>
|
15
|
+
</g>
|
16
|
+
<polygon id="XMLID_109_" opacity="0.3" points="384,242.5413361 285.459198,242.5413361 285.459198,144 242.5424042,144 242.5424042,242.5413361 144,242.5413361 144,285.4581299 242.5424042,285.4581299 242.5424042,384 285.459198,384 285.459198,285.4581299 384,285.4581299 "/>
|
17
|
+
<polygon fill="#FFFFFF" id="XMLID_189_" points="376,234.5413361 277.459198,234.5413361 277.459198,136 234.5424042,136 234.5424042,234.5413361 136,234.5413361 136,277.4581299 234.5424042,277.4581299 234.5424042,376 277.459198,376 277.459198,277.4581299 376,277.4581299 "/>
|
18
|
+
</g>
|
19
|
+
</svg>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<svg version="1.1" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<title>Delete</title>
|
3
|
+
<defs>
|
4
|
+
<style type="text/css">
|
5
|
+
line { stroke: #e44061; stroke-width: 3; stroke-linecap: round; }
|
6
|
+
</style>
|
7
|
+
</defs>
|
8
|
+
<g>
|
9
|
+
<line x1="3" y1="3" x2="21" y2="21"/>
|
10
|
+
<line x1="3" y1="21" x2="21" y2="3"/>
|
11
|
+
</g>
|
12
|
+
</svg>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1"
|
5
|
+
id="Layer_1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
6
|
+
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
|
7
|
+
viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
|
8
|
+
<g transform="translate(0 -1028.4)">
|
9
|
+
<g transform="matrix(1.0607 1.0607 -1.0607 1.0607 1146.8 34.926)">
|
10
|
+
<path fill="#ECF0F1" d="M-63,1003.4l0,11.3l0,0.7v1L-61,1018.4l2-2l0-1l0-0.7l0-11.3L-63,1003.4z"/>
|
11
|
+
<path fill="#BDC3C7" d="M-61,1003.4l0,15l2-2l0-1l0-0.7l0-11.3L-61,1003.4z"/>
|
12
|
+
<rect x="-63" y="1004.4" fill="#E67E22" width="4" height="11"/>
|
13
|
+
<path fill="#7F8C8D" d="M-61,1000.4c-1.105,0-2,0.9-2,2l0,1l4,0l0-1C-59,1001.3-59.895,1000.4-61,1000.4z"/>
|
14
|
+
<g transform="translate(-7,1)">
|
15
|
+
<path fill="#34495E" d="M-55.406,1016l1.406,1.4l1.406-1.4l-1.406,0L-55.406,1016z"/>
|
16
|
+
<path fill="#2C3E50" d="M-54,1016L-54,1017.4l1.406-1.4L-54,1016z"/>
|
17
|
+
</g>
|
18
|
+
<path fill="#95A5A6" d="M-61,1000.4c-1.105,0-2,0.9-2,2l0,1l2,0L-61,1000.4z"/>
|
19
|
+
<rect x="-61" y="1004.4" fill="#D35400" width="2" height="11"/>
|
20
|
+
</g>
|
21
|
+
</g>
|
22
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg id="Layer_1" style="enable-background:new 0 0 128 128;" version="1.1" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<style type="text/css">
|
4
|
+
.st0{fill-rule:evenodd;clip-rule:evenodd;}
|
5
|
+
.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#7ACED7;}
|
6
|
+
</style>
|
7
|
+
<g id="XMLID_6_" transform="matrix(0.1875, 0, 0, 0.1875, 0, 0)">
|
8
|
+
<path class="st0" d="M119.2,99.3l-19.9,19.9c-2.3,2.3-6.1,2.3-8.4,0l-6.9-6.9v9.8c0,3.3-2.7,5.9-5.9,5.9H49.9 c-3.3,0-5.9-2.7-5.9-5.9v-9.8l-6.9,6.9c-2.3,2.3-6.1,2.3-8.4,0L8.8,99.3c-2.3-2.3-2.3-6.1,0-8.4l6.9-6.9H5.9C2.7,84,0,81.3,0,78.1 V49.9C0,46.7,2.7,44,5.9,44h9.8l-6.9-6.9c-2.3-2.3-2.3-6.1,0-8.4L28.7,8.8c2.3-2.3,6.1-2.3,8.4,0l6.9,6.9V5.9C44,2.7,46.7,0,49.9,0 h28.1C81.3,0,84,2.7,84,5.9v9.8l6.9-6.9c2.3-2.3,6.1-2.3,8.4,0l19.9,19.9c2.3,2.3,2.3,6.1,0,8.4l-6.9,6.9h9.8 c3.3,0,5.9,2.7,5.9,5.9v28.1c0,3.3-2.7,5.9-5.9,5.9h-9.8l6.9,6.9C121.5,93.2,121.5,97,119.2,99.3L119.2,99.3z M64,43.1 c-11.6,0-20.9,9.4-20.9,20.9c0,11.6,9.4,20.9,20.9,20.9c11.6,0,20.9-9.4,20.9-20.9C84.9,52.4,75.6,43.1,64,43.1z" id="XMLID_10_"/>
|
9
|
+
<path class="st1" d="M64,39.1c13.8,0,24.9,11.2,24.9,24.9c0,13.8-11.2,24.9-24.9,24.9c-13.8,0-24.9-11.2-24.9-24.9 C39.1,50.2,50.2,39.1,64,39.1L64,39.1z M96.5,11.6c-0.8-0.8-2-0.8-2.7,0L80,25.4V5.9C80,4.9,79.1,4,78.1,4H49.9 C48.9,4,48,4.9,48,5.9v19.4L34.3,11.6c-0.8-0.8-2-0.8-2.7,0L11.6,31.5c-0.8,0.8-0.8,2,0,2.7L25.4,48H5.9C4.9,48,4,48.9,4,49.9v28.1 C4,79.1,4.9,80,5.9,80h19.4L11.6,93.7c-0.8,0.8-0.8,2,0,2.7l19.9,19.9c0.8,0.8,2,0.8,2.7,0L48,102.6v19.4c0,1.1,0.9,1.9,1.9,1.9 h28.1c1.1,0,1.9-0.9,1.9-1.9v-19.4l13.7,13.7c0.8,0.8,2,0.8,2.7,0l19.9-19.9c0.8-0.8,0.8-2,0-2.7L102.6,80h19.4 c1.1,0,1.9-0.9,1.9-1.9V49.9c0-1.1-0.9-1.9-1.9-1.9h-19.4l13.7-13.7c0.8-0.8,0.8-2,0-2.7L96.5,11.6z" id="XMLID_7_"/>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg enable-background="new 0 0 512 512" id="Layer_1" version="1.1" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<g transform="matrix(0.046875, 0, 0, 0.046875, 0, 0)">
|
4
|
+
<g>
|
5
|
+
<linearGradient gradientUnits="userSpaceOnUse" id="SVGID_1_" x1="-0.0000027" x2="512" y1="256" y2="256">
|
6
|
+
<stop offset="0" style="stop-color:#B49A85"/>
|
7
|
+
<stop offset="0.0651" style="stop-color:#B0957F"/>
|
8
|
+
<stop offset="0.2856" style="stop-color:#A88A71"/>
|
9
|
+
<stop offset="0.5539" style="stop-color:#A38369"/>
|
10
|
+
<stop offset="1" style="stop-color:#A18166"/>
|
11
|
+
</linearGradient>
|
12
|
+
<circle cx="256" cy="256" fill="url(#SVGID_1_)" r="256"/>
|
13
|
+
<linearGradient gradientUnits="userSpaceOnUse" id="SVGID_2_" x1="42.6666641" x2="469.3333435" y1="256.0005188" y2="256.0005188">
|
14
|
+
<stop offset="0" style="stop-color:#A18166"/>
|
15
|
+
<stop offset="0.4461" style="stop-color:#A38369"/>
|
16
|
+
<stop offset="0.7144" style="stop-color:#A88A71"/>
|
17
|
+
<stop offset="0.9349" style="stop-color:#B0957F"/>
|
18
|
+
<stop offset="1" style="stop-color:#B49A85"/>
|
19
|
+
</linearGradient>
|
20
|
+
<path d="M256,469.3338623c-117.631012,0-213.3333435-95.7018738-213.3333435-213.3333435 c0-117.6309204,95.7023239-213.333313,213.3333435-213.333313c117.6362,0,213.3333435,95.7024002,213.3333435,213.333313 C469.3333435,373.6319885,373.6362,469.3338623,256,469.3338623z" fill="url(#SVGID_2_)"/>
|
21
|
+
</g>
|
22
|
+
<path d="M228.8847198,285.5493469v34.813324L144,242.3226624l84.8847198-78.0399933 l0.0006104,39.2917328C317.5705872,203.5744019,384,243.6815948,384,332.3674622 c0,10.7285461-1.0518188,21.2112122-3.058197,31.3504028C380.941803,363.717865,330.6186523,285.5514526,228.8847198,285.5493469z" id="XMLID_78_" opacity="0.3"/>
|
23
|
+
<path d="M220.8847198,277.5493469v34.813324L136,234.3226624l84.8847198-78.0399933 l0.0006104,39.2917328C309.5705872,195.5744019,376,235.6815948,376,324.3674622 c0,10.7285461-1.0518188,21.2112122-3.058197,31.3504028C372.941803,355.717865,322.6186523,277.5514526,220.8847198,277.5493469z" fill="#FFFFFF" id="XMLID_2251_"/>
|
24
|
+
</g>
|
25
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg id="Layer_1" style="enable-background:new 0 0 128 128;" version="1.1" viewBox="0 0 24 24" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg">
|
3
|
+
<style type="text/css">
|
4
|
+
.st0{fill-rule:evenodd;clip-rule:evenodd;}
|
5
|
+
.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#7ACED7;}
|
6
|
+
</style>
|
7
|
+
<g id="XMLID_11_" transform="matrix(0.1875, 0, 0, 0.1875, 0, 0)">
|
8
|
+
<circle class="st0" cx="64" cy="64" id="XMLID_9_" r="64"/>
|
9
|
+
<path class="st1" d="M4,62h25.3c0-0.1,0-0.1,0-0.2C30.3,45,36,29.3,46.2,16c2.8-3.7,6.8-8.1,10.8-11.6 C27.8,7.8,5,32.1,4,62L4,62z M33.3,62c0.9-16,6.3-30.9,16.1-43.6c3.2-4.2,8-9.4,12.6-12.9V62H33.3L33.3,62z M70.9,4.4 c4,3.5,8,7.9,10.8,11.6C92,29.3,97.7,45,98.7,61.8c0,0.1,0,0.1,0,0.2H124C123,32.1,100.2,7.8,70.9,4.4L70.9,4.4z M94.7,62H66V5.5 c4.6,3.5,9.4,8.7,12.6,12.9C88.3,31.1,93.7,46,94.7,62L94.7,62z M71,123.6c4-3.5,7.9-7.9,10.8-11.6C92,98.7,97.7,83,98.7,66.2 c0-0.1,0-0.2,0-0.2H124C123,95.9,100.2,120.2,71,123.6L71,123.6z M94.7,66H66v56.5c4.6-3.5,9.4-8.7,12.6-12.9 C88.3,96.9,93.7,82,94.7,66L94.7,66z M62,122.5c-4.6-3.5-9.4-8.7-12.6-12.9C39.7,96.9,34.3,82,33.3,66H62V122.5L62,122.5z M29.3,66 H4c1,29.9,23.8,54.2,53,57.6c-4-3.5-7.9-7.9-10.8-11.6C36,98.7,30.3,83,29.3,66.2C29.3,66.2,29.3,66.1,29.3,66z" id="XMLID_12_"/>
|
10
|
+
</g>
|
11
|
+
</svg>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#login-form {
|
2
|
+
box-shadow: var(--block-shadow);
|
3
|
+
margin: 0 auto;
|
4
|
+
max-width: 36rem;
|
5
|
+
|
6
|
+
.errors {
|
7
|
+
margin: 0 var(--spacer-xs);
|
8
|
+
}
|
9
|
+
|
10
|
+
.actions {
|
11
|
+
align-items: center;
|
12
|
+
display: flex;
|
13
|
+
justify-content: space-between;
|
14
|
+
padding: var(--spacer-xs);
|
15
|
+
}
|
16
|
+
}
|
@@ -11,7 +11,6 @@ body {
|
|
11
11
|
display: flex;
|
12
12
|
flex-direction: column;
|
13
13
|
font-weight: 300;
|
14
|
-
height: 100%;
|
15
14
|
margin: 0 auto;
|
16
15
|
max-width: var(--content-width);
|
17
16
|
}
|
@@ -74,22 +73,12 @@ h2 {
|
|
74
73
|
padding: var(--spacer-xs);
|
75
74
|
}
|
76
75
|
|
77
|
-
.breadcrumbs {
|
78
|
-
margin-bottom: var(--spacer-xs);
|
79
|
-
|
80
|
-
a {
|
81
|
-
background: image_url('biovision/icons/breadcrumb.svg') no-repeat bottom .1rem right / .6rem 1.2rem;
|
82
|
-
padding-right: 1rem;
|
83
|
-
transition: background .25s;
|
84
|
-
|
85
|
-
&:active,
|
86
|
-
&:focus,
|
87
|
-
&:hover {
|
88
|
-
background-image: image_url('biovision/icons/breadcrumb-hover.svg');
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
76
|
@import "biovision/components/forms";
|
77
|
+
@import "biovision/components/breadcrumbs";
|
94
78
|
@import "biovision/components/lists";
|
79
|
+
@import "biovision/components/buttons";
|
80
|
+
@import "biovision/components/messages";
|
81
|
+
@import "biovision/components/simple_image";
|
82
|
+
@import "biovision/components/toggleable";
|
83
|
+
@import "biovision/components/pagination";
|
95
84
|
@import "biovision/admin/components";
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "biovision/vars";
|
2
|
+
|
1
3
|
*,
|
2
4
|
::after,
|
3
5
|
::before {
|
@@ -131,4 +133,43 @@ textarea {
|
|
131
133
|
}
|
132
134
|
}
|
133
135
|
|
134
|
-
|
136
|
+
.entity-actions {
|
137
|
+
align-items: center;
|
138
|
+
background: #fff;
|
139
|
+
border-radius: .4rem;
|
140
|
+
box-shadow: var(--block-shadow);
|
141
|
+
display: flex;
|
142
|
+
justify-content: flex-end;
|
143
|
+
margin: 0;
|
144
|
+
opacity: .5;
|
145
|
+
padding: 0;
|
146
|
+
position: absolute;
|
147
|
+
right: var(--spacer-xxs);
|
148
|
+
top: var(--spacer-xxs);
|
149
|
+
transition: .25s;
|
150
|
+
|
151
|
+
&:hover {
|
152
|
+
opacity: 1;
|
153
|
+
}
|
154
|
+
|
155
|
+
.danger {
|
156
|
+
margin-left: var(--spacer-s);
|
157
|
+
}
|
158
|
+
|
159
|
+
a,
|
160
|
+
button {
|
161
|
+
display: inline-block;
|
162
|
+
font-size: var(--font-size-decreased);
|
163
|
+
height: 2.4rem;
|
164
|
+
line-height: 1;
|
165
|
+
margin: 0;
|
166
|
+
padding: var(--spacer-xxs);
|
167
|
+
width: 2.4rem;
|
168
|
+
}
|
169
|
+
|
170
|
+
img {
|
171
|
+
height: 100%;
|
172
|
+
object-fit: contain;
|
173
|
+
width: 100%;
|
174
|
+
}
|
175
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
.breadcrumbs {
|
2
|
+
a {
|
3
|
+
background: image_url('biovision/icons/breadcrumb.svg') no-repeat bottom .1rem right / .6rem 1.2rem;
|
4
|
+
padding-right: 1rem;
|
5
|
+
transition: background .25s;
|
6
|
+
|
7
|
+
&:active,
|
8
|
+
&:focus,
|
9
|
+
&:hover {
|
10
|
+
background-image: image_url('biovision/icons/breadcrumb-hover.svg');
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,130 @@
|
|
1
|
+
$button-primary-bg: hsl(210, 75%, 50%) !default;
|
2
|
+
$button-primary-bg-hover: hsl(230, 75%, 50%) !default;
|
3
|
+
$button-primary-color: #fff !default;
|
4
|
+
$button-primary-color-hover: #fff !default;
|
5
|
+
$button-ghost-bg: transparent !default;
|
6
|
+
$button-ghost-bg-hover: hsl(230, 75%, 50%) !default;
|
7
|
+
$button-ghost-color: hsl(230, 75%, 50%) !default;
|
8
|
+
$button-ghost-color-hover: #fff !default;
|
9
|
+
$button-secondary-bg: #fff !default;
|
10
|
+
$button-secondary-bg-hover: hsl(30, 75%, 50%) !default;
|
11
|
+
$button-secondary-color: hsl(30, 75%, 50%) !default;
|
12
|
+
$button-secondary-color-hover: #fff !default;
|
13
|
+
$button-save-bg: hsl(120, 25%, 55%) !default;
|
14
|
+
$button-save-bg-hover: hsl(120, 25%, 25%) !default;
|
15
|
+
$button-save-color: #fff !default;
|
16
|
+
$button-save-color-hover: #fff !default;
|
17
|
+
$button-danger-bg: hsl(0, 50%, 55%) !default;
|
18
|
+
$button-danger-bg-hover: hsl(00, 25%, 50%) !default;
|
19
|
+
$button-danger-color: #fff !default;
|
20
|
+
$button-danger-color-hover: #fff !default;
|
21
|
+
|
22
|
+
:root {
|
23
|
+
--button-primary-bg: #{$button-primary-bg};
|
24
|
+
--button-primary-bg-hover: #{$button-primary-bg-hover};
|
25
|
+
--button-primary-color: #{$button-primary-color};
|
26
|
+
--button-primary-color-hover: #{$button-primary-color-hover};
|
27
|
+
--button-ghost-bg: #{$button-ghost-bg};
|
28
|
+
--button-ghost-bg-hover: #{$button-ghost-bg-hover};
|
29
|
+
--button-ghost-color: #{$button-ghost-color};
|
30
|
+
--button-ghost-color-hover: #{$button-ghost-color-hover};
|
31
|
+
--button-secondary-bg: #{$button-secondary-bg};
|
32
|
+
--button-secondary-bg-hover: #{$button-secondary-bg-hover};
|
33
|
+
--button-secondary-color: #{$button-secondary-color};
|
34
|
+
--button-secondary-color-hover: #{$button-secondary-color-hover};
|
35
|
+
--button-save-bg: #{$button-save-bg};
|
36
|
+
--button-save-bg-hover: #{$button-save-bg-hover};
|
37
|
+
--button-save-color: #{$button-save-color};
|
38
|
+
--button-save-color-hover: #{$button-save-color-hover};
|
39
|
+
--button-danger-bg: #{$button-danger-bg};
|
40
|
+
--button-danger-bg-hover: #{$button-danger-bg-hover};
|
41
|
+
--button-danger-color: #{$button-danger-color};
|
42
|
+
--button-danger-color-hover: #{$button-danger-color-hover};
|
43
|
+
}
|
44
|
+
|
45
|
+
.button {
|
46
|
+
border: .1rem solid;
|
47
|
+
border-radius: .4rem;
|
48
|
+
cursor: pointer;
|
49
|
+
font-family: var(--font-family-main);
|
50
|
+
font-size: inherit;
|
51
|
+
display: inline-block;
|
52
|
+
margin: 0;
|
53
|
+
padding: var(--spacer-xxs) var(--spacer-xs);
|
54
|
+
text-align: center;
|
55
|
+
text-decoration: none;
|
56
|
+
transition: .25s;
|
57
|
+
|
58
|
+
&:focus,
|
59
|
+
&:hover {
|
60
|
+
text-decoration: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
&:disabled {
|
64
|
+
cursor: default;
|
65
|
+
filter: grayscale(.75);
|
66
|
+
opacity: .75;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
.button-primary {
|
71
|
+
background: var(--button-primary-bg);
|
72
|
+
border-color: var(--button-primary-bg);
|
73
|
+
color: var(--button-primary-color);
|
74
|
+
|
75
|
+
&:focus,
|
76
|
+
&:hover {
|
77
|
+
background: var(--button-primary-bg-hover);
|
78
|
+
border-color: var(--button-primary-bg-hover);
|
79
|
+
color: var(--button-primary-color-hover);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
.button-secondary {
|
84
|
+
background: var(--button-secondary-bg);
|
85
|
+
color: var(--button-secondary-color);
|
86
|
+
|
87
|
+
&:focus,
|
88
|
+
&:hover {
|
89
|
+
background: var(--button-secondary-bg-hover);
|
90
|
+
border-color: var(--button-secondary-bg-hover);
|
91
|
+
color: var(--button-secondary-color-hover);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.button-ghost {
|
96
|
+
background: var(--button-ghost-bg);
|
97
|
+
border-color: var(--button-ghost-color);
|
98
|
+
color: var(--button-ghost-color);
|
99
|
+
|
100
|
+
&:focus,
|
101
|
+
&:hover {
|
102
|
+
background: var(--button-ghost-bg-hover);
|
103
|
+
border-color: var(--button-ghost-bg-hover);
|
104
|
+
color: var(--button-ghost-color-hover);
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.button-save {
|
109
|
+
background: var(--button-save-bg);
|
110
|
+
border-color: var(--button-save-bg);
|
111
|
+
color: var(--button-save-color);
|
112
|
+
|
113
|
+
&:focus,
|
114
|
+
&:hover {
|
115
|
+
background: var(--button-save-bg-hover);
|
116
|
+
color: var(--button-save-color-hover);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
.button-danger {
|
121
|
+
background: var(--button-danger-bg);
|
122
|
+
border-color: var(--button-danger-bg);
|
123
|
+
color: var(--button-danger-color);
|
124
|
+
|
125
|
+
&:focus,
|
126
|
+
&:hover {
|
127
|
+
background: var(--button-danger-bg-hover);
|
128
|
+
color: var(--button-danger-color-hover);
|
129
|
+
}
|
130
|
+
}
|