ui_bibz 2.5.3 → 3.0.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/.gitignore +3 -2
- data/.rubocop.yml +107 -1
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +102 -111
- data/README.md +9 -52
- data/Rakefile +3 -2
- data/bin/test +7 -0
- data/config/initializers/will_paginate.rb +2 -1
- data/lib/ui_bibz.rb +17 -3
- data/lib/ui_bibz/concerns/models/searchable.rb +3 -3
- data/lib/ui_bibz/helpers/ui/core/boxes_helper.rb +9 -1
- data/lib/ui_bibz/helpers/ui/core/forms_helper.rb +20 -1
- data/lib/ui_bibz/helpers/ui/core/layouts_helper.rb +10 -2
- data/lib/ui_bibz/helpers/ui/core/lists_helper.rb +1 -1
- data/lib/ui_bibz/helpers/ui/core/notifications_helper.rb +9 -5
- data/lib/ui_bibz/helpers/ui/ux_helper.rb +2 -6
- data/lib/ui_bibz/infos.rb +11 -5
- data/lib/ui_bibz/inputs/ui_bibz_form/ui_bibz_form_builder.rb +15 -2
- data/lib/ui_bibz/inputs/ui_bibz_inputs/base_input.rb +4 -7
- data/lib/ui_bibz/inputs/ui_bibz_inputs/collection_input.rb +6 -9
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_checkbox_field_input.rb +5 -1
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_choice_field_input.rb +23 -0
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_multi_select_field_input.rb +3 -3
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_slider_field_input.rb +12 -0
- data/lib/ui_bibz/rails/engine.rb +1 -16
- data/lib/ui_bibz/railtie.rb +6 -0
- data/lib/ui_bibz/ui/concerns/card_itemable_concern.rb +67 -0
- data/lib/ui_bibz/ui/concerns/html_concern.rb +16 -0
- data/lib/ui_bibz/ui/core/boxes/card.rb +5 -50
- data/lib/ui_bibz/ui/core/boxes/card_accordion.rb +2 -0
- data/lib/ui_bibz/ui/core/boxes/card_column.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/card_deck.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/card_grid.rb +60 -0
- data/lib/ui_bibz/ui/core/boxes/card_group.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_link.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_subtitle.rb +47 -0
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_text.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_title.rb +1 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_body.rb +15 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_col.rb +65 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_footer.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/card_header.rb +2 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_image.rb +1 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_row.rb +65 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_tab_group.rb +0 -4
- data/lib/ui_bibz/ui/core/boxes/jumbotron.rb +1 -4
- data/lib/ui_bibz/ui/core/component.rb +16 -9
- data/lib/ui_bibz/ui/core/forms/buttons/button.rb +1 -1
- data/lib/ui_bibz/ui/core/forms/buttons/button_group.rb +9 -11
- data/lib/ui_bibz/ui/core/forms/buttons/button_refresh.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/buttons/components/button_group_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/buttons/components/button_group_split_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/choices/box_switch_field.rb +7 -10
- data/lib/ui_bibz/ui/core/forms/choices/checkbox_field.rb +14 -10
- data/lib/ui_bibz/ui/core/forms/choices/choice_group.rb +22 -2
- data/lib/ui_bibz/ui/core/forms/choices/components/choice.rb +24 -12
- data/lib/ui_bibz/ui/core/forms/choices/radio_field.rb +11 -6
- data/lib/ui_bibz/ui/core/forms/choices/switch_field.rb +1 -5
- data/lib/ui_bibz/ui/core/forms/dates/date_picker_field.rb +12 -15
- data/lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_divider.rb +0 -1
- data/lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_header.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/dropdowns/dropdown.rb +19 -20
- data/lib/ui_bibz/ui/core/forms/dropdowns/split_dropdown.rb +7 -5
- data/lib/ui_bibz/ui/core/forms/files/file_field.rb +20 -10
- data/lib/ui_bibz/ui/core/forms/numbers/formula_field.rb +16 -8
- data/lib/ui_bibz/ui/core/forms/numbers/number_field.rb +20 -3
- data/lib/ui_bibz/ui/core/forms/numbers/range_field.rb +33 -5
- data/lib/ui_bibz/ui/core/forms/numbers/slider_field.rb +132 -0
- data/lib/ui_bibz/ui/core/forms/numbers/slider_header.rb +71 -0
- data/lib/ui_bibz/ui/core/forms/selects/abstract_select.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/selects/dropdown_select_field.rb +41 -62
- data/lib/ui_bibz/ui/core/forms/selects/multi_column_field.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/selects/select_field.rb +2 -5
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_addon.rb +1 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_group.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_refresh.rb +1 -12
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb +9 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_radio_field.rb +9 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_switch_field.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/surround_field.rb +1 -4
- data/lib/ui_bibz/ui/core/forms/textareas/markdown_editor_field.rb +4 -7
- data/lib/ui_bibz/ui/core/forms/texts/auto_complete_field.rb +2 -5
- data/lib/ui_bibz/ui/core/forms/texts/text_field.rb +0 -3
- data/lib/ui_bibz/ui/core/icons/components/glyph_counter.rb +0 -3
- data/lib/ui_bibz/ui/core/icons/components/glyph_text.rb +1 -4
- data/lib/ui_bibz/ui/core/icons/glyph.rb +1 -4
- data/lib/ui_bibz/ui/core/icons/star.rb +0 -3
- data/lib/ui_bibz/ui/core/layouts/col.rb +5 -42
- data/lib/ui_bibz/ui/core/layouts/container.rb +9 -6
- data/lib/ui_bibz/ui/core/layouts/row.rb +32 -2
- data/lib/ui_bibz/ui/core/lists/components/list.rb +6 -8
- data/lib/ui_bibz/ui/core/lists/components/list/list_body.rb +0 -3
- data/lib/ui_bibz/ui/core/lists/components/list/list_header.rb +0 -3
- data/lib/ui_bibz/ui/core/lists/list_group.rb +9 -6
- data/lib/ui_bibz/ui/core/navigations/breadcrumb.rb +3 -2
- data/lib/ui_bibz/ui/core/navigations/components/breadcrumb_link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/nav_dropdown.rb +2 -5
- data/lib/ui_bibz/ui/core/navigations/components/nav_link.rb +3 -1
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_link.rb +15 -6
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_list.rb +0 -4
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_span.rb +1 -4
- data/lib/ui_bibz/ui/core/navigations/components/nav_text.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/navbar_brand.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/navbar_form.rb +4 -4
- data/lib/ui_bibz/ui/core/navigations/components/navbar_nav.rb +1 -4
- data/lib/ui_bibz/ui/core/navigations/components/navbar_text.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/pagination_link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/toolbar_form.rb +3 -3
- data/lib/ui_bibz/ui/core/navigations/link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/nav.rb +37 -10
- data/lib/ui_bibz/ui/core/navigations/navbar.rb +28 -7
- data/lib/ui_bibz/ui/core/navigations/pagination.rb +3 -1
- data/lib/ui_bibz/ui/core/navigations/tab_group.rb +10 -5
- data/lib/ui_bibz/ui/core/navigations/toolbar.rb +2 -0
- data/lib/ui_bibz/ui/core/notifications/alert.rb +2 -2
- data/lib/ui_bibz/ui/core/notifications/badge.rb +2 -5
- data/lib/ui_bibz/ui/core/notifications/components/alert_body.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/alert_header.rb +4 -10
- data/lib/ui_bibz/ui/core/notifications/components/bar.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/toast_body.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/toast_header.rb +1 -6
- data/lib/ui_bibz/ui/core/notifications/progress_bar.rb +7 -5
- data/lib/ui_bibz/ui/core/notifications/spinner.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/toast.rb +14 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_body.rb +0 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_footer.rb +0 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_header.rb +1 -7
- data/lib/ui_bibz/ui/core/windows/modal.rb +61 -14
- data/lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb +4 -2
- data/lib/ui_bibz/ui/extensions/core/component/popover_extension.rb +9 -9
- data/lib/ui_bibz/ui/extensions/core/forms/connect_extension.rb +2 -2
- data/lib/ui_bibz/ui/ux/containers/components/panel_body.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/components/panel_column.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_deck.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_footer.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/components/panel_group.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_header.rb +1 -4
- data/lib/ui_bibz/ui/ux/containers/components/panel_tab_group.rb +0 -4
- data/lib/ui_bibz/ui/ux/containers/components/panel_toolbar.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/panel.rb +4 -2
- data/lib/ui_bibz/ui/ux/tables/components/thead.rb +0 -3
- data/lib/ui_bibz/ui/ux/tables/table.rb +2 -4
- data/lib/ui_bibz/ui/ux/tables/table_card.rb +4 -3
- data/lib/ui_bibz/ui/ux/tables/table_search_field.rb +5 -5
- data/lib/ui_bibz/utils/breakdown_class_name_generator.rb +74 -0
- data/lib/ui_bibz/utils/internationalization.rb +1 -1
- data/lib/ui_bibz/utils/screwdriver.rb +16 -10
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/javascripts/packs/index.js +3 -0
- data/test/dummy/app/models/user.rb +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +4 -1
- data/{app/ui/.keep → test/dummy/app/views/users/index.html.erb} +0 -0
- data/test/dummy/bin/setup +17 -13
- data/test/dummy/config.ru +2 -1
- data/test/dummy/config/application.rb +1 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/database.yml +1 -1
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +33 -12
- data/test/dummy/config/environments/production.rb +52 -19
- data/test/dummy/config/environments/test.rb +18 -12
- data/test/dummy/config/initializers/application_controller_renderer.rb +9 -0
- data/test/dummy/config/initializers/assets.rb +4 -3
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -1
- data/test/dummy/config/initializers/content_security_policy.rb +29 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/test/dummy/config/initializers/inflections.rb +0 -1
- data/test/dummy/config/initializers/mime_types.rb +0 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/test/dummy/config/puma.rb +40 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/spring.rb +8 -0
- data/test/dummy/config/storage.yml +34 -0
- data/test/dummy/db/migrate/20150123191805_create_users.rb +1 -1
- data/test/dummy/db/schema.rb +24 -24
- data/test/dummy/public/404.html +6 -6
- data/test/dummy/public/422.html +6 -6
- data/test/dummy/public/500.html +6 -6
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/storage/.keep +0 -0
- data/test/simple_form_test.rb +45 -44
- data/test/store_test.rb +5 -5
- data/test/test_helper.rb +18 -9
- data/test/ui/core/boxes/card_grid_test.rb +17 -0
- data/test/ui/core/boxes/card_test.rb +46 -12
- data/test/ui/core/boxes/jumbotron_test.rb +2 -2
- data/test/ui/core/component_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_group_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_link_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_test.rb +2 -2
- data/test/ui/core/forms/choices/checkbox_field_test.rb +8 -1
- data/test/ui/core/forms/choices/choice_group_test.rb +11 -9
- data/test/ui/core/forms/choices/radio_field_test.rb +1 -1
- data/test/ui/core/forms/dates/date_picker_field_test.rb +1 -1
- data/test/ui/core/forms/dropdowns/dropdown_test.rb +2 -2
- data/test/ui/core/forms/files/file_field_test.rb +12 -0
- data/test/ui/core/forms/numbers/formula_field_test.rb +1 -1
- data/test/ui/core/forms/numbers/range_field_test.rb +23 -2
- data/test/ui/core/forms/numbers/slider_field_test.rb +26 -0
- data/test/ui/core/forms/selects/multi_column_field_test.rb +1 -1
- data/test/ui/core/forms/selects/multi_select_field_test.rb +7 -7
- data/test/ui/core/forms/selects/select_field_test.rb +3 -3
- data/test/ui/core/forms/surrounds/surround_field_test.rb +15 -3
- data/test/ui/core/forms/textareas/markdown_editor_field_test.rb +1 -1
- data/test/ui/core/forms/texts/auto_complete_field_test.rb +8 -8
- data/test/ui/core/forms/texts/text_field_test.rb +2 -2
- data/test/ui/core/layouts/col_test.rb +11 -2
- data/test/ui/core/layouts/container_test.rb +15 -1
- data/test/ui/core/layouts/row_test.rb +68 -3
- data/test/ui/core/lists/list_group_test.rb +1 -1
- data/test/ui/core/navigations/breadcrumb_test.rb +1 -1
- data/test/ui/core/navigations/link_test.rb +1 -1
- data/test/ui/core/navigations/nav_test.rb +17 -5
- data/test/ui/core/navigations/navbar_test.rb +5 -4
- data/test/ui/core/navigations/tab_group_test.rb +4 -4
- data/test/ui/core/notifications/alert_test.rb +2 -2
- data/test/ui/core/notifications/badge_test.rb +3 -3
- data/test/ui/core/notifications/progress_bar_test.rb +1 -1
- data/test/ui/core/notifications/toast_test.rb +10 -1
- data/test/ui/core/windows/modal_test.rb +15 -1
- data/test/ui/utils/breakdown_class_name_generator_test.rb +60 -0
- data/test/ui/ux/containers/panel_test.rb +5 -5
- data/test/ui/ux/tables/table_test.rb +6 -6
- data/test/ui_bibz_test.rb +1 -1
- data/ui_bibz.gemspec +16 -16
- metadata +99 -109
- data/.rubocop_todo.yml +0 -25
- data/app/assets/javascripts/fix_bootstrap.coffee +0 -7
- data/app/assets/javascripts/form.coffee +0 -83
- data/app/assets/javascripts/formula.coffee +0 -69
- data/app/assets/javascripts/input-connected.coffee +0 -101
- data/app/assets/javascripts/interface.coffee +0 -55
- data/app/assets/javascripts/jquery.multi-select-extend.coffee +0 -38
- data/app/assets/javascripts/table.coffee +0 -36
- data/app/assets/javascripts/ui_bibz.coffee.erb +0 -75
- data/app/assets/stylesheets/_custom_variables.sass +0 -20
- data/app/assets/stylesheets/_panel.scss +0 -315
- data/app/assets/stylesheets/bootstrap-switch.sass +0 -159
- data/app/assets/stylesheets/boxes.sass +0 -5
- data/app/assets/stylesheets/containers.sass +0 -2
- data/app/assets/stylesheets/fix-bootstrap-4.sass +0 -19
- data/app/assets/stylesheets/fix_addon.sass +0 -216
- data/app/assets/stylesheets/forms.sass +0 -91
- data/app/assets/stylesheets/navigations.sass +0 -17
- data/app/assets/stylesheets/notifications.sass +0 -42
- data/app/assets/stylesheets/tables.sass +0 -66
- data/app/assets/stylesheets/ui_bibz.sass.erb +0 -55
- data/lib/generators/ui_bibz/install_generator.rb +0 -17
- data/lib/generators/ui_bibz/templates/ui_bibz_initializer.rb +0 -5
- data/lib/ui_bibz/ui/core/forms/selects/multi_select_field.rb +0 -125
- data/lib/ui_bibz/ui/core/icons/glyph_group.rb +0 -101
- data/test/dummy/bin/bundle +0 -5
- data/test/ui/core/forms/files/text_field_test.rb +0 -12
- data/test/ui/core/forms/selects/dropdown_select_field_test.rb +0 -84
- data/test/ui/core/icons/glyph_group_test.rb +0 -37
@@ -1,19 +0,0 @@
|
|
1
|
-
//.btn-group > .dropdown-menu
|
2
|
-
//margin: 32px 3px 0px 0px !important
|
3
|
-
|
4
|
-
// fix form states
|
5
|
-
@each $key, $value in $states_colors
|
6
|
-
.has-#{$key}
|
7
|
-
.form-control
|
8
|
-
border-color: $value !important
|
9
|
-
label, span.help-block
|
10
|
-
color: $value
|
11
|
-
|
12
|
-
|
13
|
-
// Fix bootstrap-select
|
14
|
-
// .bootstrap-select.btn-group .dropdown-toggle .filter-option
|
15
|
-
// display: inline-grid !important
|
16
|
-
|
17
|
-
.dropdown-item
|
18
|
-
svg
|
19
|
-
float: left
|
@@ -1,216 +0,0 @@
|
|
1
|
-
$input-group-btn-border-color: $input-border-color
|
2
|
-
|
3
|
-
.input-group-addon
|
4
|
-
@if $enable-flex
|
5
|
-
// do nothing
|
6
|
-
@else
|
7
|
-
display: table-cell
|
8
|
-
|
9
|
-
&:not(:first-child):not(:last-child)
|
10
|
-
@include border-radius(0)
|
11
|
-
|
12
|
-
|
13
|
-
.input-group-addon
|
14
|
-
@if $enable-flex
|
15
|
-
// do nothing
|
16
|
-
@else
|
17
|
-
width: 1%
|
18
|
-
|
19
|
-
white-space: nowrap
|
20
|
-
vertical-align: middle
|
21
|
-
|
22
|
-
|
23
|
-
//
|
24
|
-
// Base styles
|
25
|
-
//
|
26
|
-
|
27
|
-
.input-group
|
28
|
-
position: relative
|
29
|
-
display: flex
|
30
|
-
width: 100%
|
31
|
-
|
32
|
-
.form-control
|
33
|
-
// Ensure that the input is always above the *appended* addon button for
|
34
|
-
// proper border colors.
|
35
|
-
position: relative
|
36
|
-
z-index: 2
|
37
|
-
flex: 1 1 auto
|
38
|
-
// Add width 1% and flex-basis auto to ensure that button will not wrap out
|
39
|
-
// the column. Applies to IE Edge+ and Firefox. Chrome does not require this.
|
40
|
-
width: 1%
|
41
|
-
margin-bottom: 0
|
42
|
-
|
43
|
-
// Bring the "active" form control to the front
|
44
|
-
@include hover-focus-active
|
45
|
-
z-index: 3
|
46
|
-
|
47
|
-
.input-group-addon,
|
48
|
-
.input-group-btn,
|
49
|
-
.input-group .form-control
|
50
|
-
&:not(:first-child):not(:last-child)
|
51
|
-
@include border-radius(0)
|
52
|
-
|
53
|
-
.input-group-addon,
|
54
|
-
.input-group-btn
|
55
|
-
white-space: nowrap
|
56
|
-
|
57
|
-
|
58
|
-
// Sizing options
|
59
|
-
//
|
60
|
-
// Remix the default form control sizing classes into new ones for easier
|
61
|
-
// manipulation.
|
62
|
-
|
63
|
-
.input-group-lg > .form-control,
|
64
|
-
.input-group-lg > .input-group-addon,
|
65
|
-
.input-group-lg > .input-group-btn > .btn
|
66
|
-
@extend .form-control-lg
|
67
|
-
|
68
|
-
.input-group-sm > .form-control,
|
69
|
-
.input-group-sm > .input-group-addon,
|
70
|
-
.input-group-sm > .input-group-btn > .btn
|
71
|
-
@extend .form-control-sm
|
72
|
-
|
73
|
-
.input-group > .form-control,
|
74
|
-
.input-group > .input-group-addon,
|
75
|
-
.input-group > .input-group-btn > .btn
|
76
|
-
padding: $input-btn-padding-y $input-btn-padding-x
|
77
|
-
@include border-radius($input-border-radius)
|
78
|
-
|
79
|
-
svg
|
80
|
-
//font-size: 1.4em
|
81
|
-
margin-top: 0.1rem
|
82
|
-
|
83
|
-
|
84
|
-
//
|
85
|
-
// Text input groups
|
86
|
-
//
|
87
|
-
|
88
|
-
.input-group-addon
|
89
|
-
padding: $input-btn-padding-y $input-btn-padding-x
|
90
|
-
margin-bottom: 0 // Allow use of <label> elements by overriding our default margin-bottom
|
91
|
-
font-size: $font-size-base // Match inputs
|
92
|
-
font-weight: $font-weight-normal
|
93
|
-
line-height: $input-btn-line-height
|
94
|
-
color: $input-group-addon-color
|
95
|
-
text-align: center
|
96
|
-
background-color: $input-group-addon-bg
|
97
|
-
background-clip: padding-box
|
98
|
-
border: $input-btn-border-width solid $input-group-addon-border-color
|
99
|
-
@include border-radius($input-border-radius)
|
100
|
-
|
101
|
-
// Sizing
|
102
|
-
&.form-control-sm
|
103
|
-
padding: $input-btn-padding-y-sm $input-btn-padding-x-sm
|
104
|
-
font-size: $font-size-sm
|
105
|
-
@include border-radius($input-border-radius-sm)
|
106
|
-
|
107
|
-
svg
|
108
|
-
font-size: 1rem
|
109
|
-
margin-top: 0.1rem
|
110
|
-
i.glyph
|
111
|
-
font-size: 1rem
|
112
|
-
|
113
|
-
|
114
|
-
&.form-control-lg
|
115
|
-
padding: $input-btn-padding-y-lg $input-btn-padding-x-lg
|
116
|
-
font-size: $font-size-lg
|
117
|
-
@include border-radius($input-border-radius-lg)
|
118
|
-
|
119
|
-
svg
|
120
|
-
font-size: 1.5rem
|
121
|
-
margin-top: 0.1rem
|
122
|
-
i.glyph
|
123
|
-
font-size: 1.5rem
|
124
|
-
|
125
|
-
svg, i.glyph
|
126
|
-
font-size: 1.3rem
|
127
|
-
margin-top: 0.1rem
|
128
|
-
|
129
|
-
i.glyph
|
130
|
-
font-size: 1.3rem
|
131
|
-
|
132
|
-
|
133
|
-
// scss-lint:disable QualifyingElement
|
134
|
-
// Nuke default margins from checkboxes and radios to vertically center within.
|
135
|
-
input[type="radio"],
|
136
|
-
input[type="checkbox"]
|
137
|
-
margin-top: 0
|
138
|
-
|
139
|
-
// scss-lint:enable QualifyingElement
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
//
|
144
|
-
// Reset rounded corners
|
145
|
-
//
|
146
|
-
|
147
|
-
//.input-group .form-control:not(:last-child),
|
148
|
-
.input-group-addon:not(:last-child),
|
149
|
-
.input-group-btn:not(:last-child) > .btn,
|
150
|
-
.input-group-btn:not(:last-child) > .btn-group > .btn,
|
151
|
-
.input-group-btn:not(:last-child) > .dropdown-toggle,
|
152
|
-
.input-group .bootstrap-select:not(:last-child) > .dropdown-toggle,
|
153
|
-
.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle),
|
154
|
-
.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn
|
155
|
-
@include border-right-radius(0)
|
156
|
-
|
157
|
-
.input-group-addon:not(:last-child)
|
158
|
-
border-right: 0
|
159
|
-
|
160
|
-
//.input-group .form-control:not(:first-child),
|
161
|
-
.input-group-addon:not(:first-child),
|
162
|
-
.input-group-btn:not(:first-child) > .btn,
|
163
|
-
.input-group-btn:not(:first-child) > .btn-group > .btn,
|
164
|
-
.input-group-btn:not(:first-child) > .dropdown-toggle,
|
165
|
-
.input-group .bootstrap-select:not(:first-child) > .dropdown-toggle,
|
166
|
-
.input-group-btn:not(:last-child) > .btn:not(:first-child),
|
167
|
-
.input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn
|
168
|
-
@include border-left-radius(0)
|
169
|
-
|
170
|
-
.form-control + .input-group-addon:not(:first-child)
|
171
|
-
border-left: 0
|
172
|
-
|
173
|
-
|
174
|
-
//
|
175
|
-
// Button input groups
|
176
|
-
//
|
177
|
-
|
178
|
-
.input-group-btn
|
179
|
-
position: relative
|
180
|
-
// Jankily prevent input button groups from wrapping with `white-space` and
|
181
|
-
// `font-size` in combination with `inline-block` on buttons.
|
182
|
-
font-size: 0
|
183
|
-
white-space: nowrap
|
184
|
-
|
185
|
-
// Negative margin for spacing, position for bringing hovered/focused/actived
|
186
|
-
// element above the siblings.
|
187
|
-
> .btn
|
188
|
-
position: relative
|
189
|
-
background-clip: padding-box
|
190
|
-
border: $input-btn-border-width solid $input-group-btn-border-color
|
191
|
-
|
192
|
-
+ .btn
|
193
|
-
margin-left: (-$input-btn-border-width)
|
194
|
-
|
195
|
-
|
196
|
-
// Bring the "active" button to the front
|
197
|
-
@include hover-focus-active
|
198
|
-
z-index: 3
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
// Negative margin to only have a single, shared border between the two
|
203
|
-
&:not(:last-child)
|
204
|
-
> .btn,
|
205
|
-
> .btn-group
|
206
|
-
margin-right: (-$input-btn-border-width)
|
207
|
-
|
208
|
-
|
209
|
-
&:not(:first-child)
|
210
|
-
> .btn,
|
211
|
-
> .btn-group
|
212
|
-
z-index: 2
|
213
|
-
margin-left: (-$input-btn-border-width)
|
214
|
-
// Because specificity
|
215
|
-
@include hover-focus-active
|
216
|
-
z-index: 3
|
@@ -1,91 +0,0 @@
|
|
1
|
-
.multiselect-container
|
2
|
-
.filter
|
3
|
-
margin: 5px
|
4
|
-
|
5
|
-
.formula_field
|
6
|
-
input
|
7
|
-
border-bottom-right-radius: 0.25rem !important
|
8
|
-
border-top-right-radius: 0.25rem !important
|
9
|
-
.fix-border-right
|
10
|
-
border-bottom-right-radius: 0 !important
|
11
|
-
border-top-right-radius: 0 !important
|
12
|
-
width: 100%
|
13
|
-
.form-control[readonly]
|
14
|
-
background-color: darken($body-bg, 2%)
|
15
|
-
.formula-field_alert, .formula-field-result, .formula-field-sign
|
16
|
-
display: none
|
17
|
-
.formula-field:first-child
|
18
|
-
flex-grow: 3
|
19
|
-
|
20
|
-
.formula-field-alert
|
21
|
-
padding-top: 10px
|
22
|
-
|
23
|
-
.select-field-refresh
|
24
|
-
.btn
|
25
|
-
padding: 10px 16px
|
26
|
-
|
27
|
-
// .input-group-addon.abc-checkbox label, .input-group-addon.abc-radio label
|
28
|
-
// margin-bottom: 0
|
29
|
-
|
30
|
-
.checkbox-inline, .radio-inline
|
31
|
-
display: inline-block
|
32
|
-
margin-right: 10px
|
33
|
-
|
34
|
-
.input-refresh-button
|
35
|
-
border-width: 0px !important
|
36
|
-
min-height: 40px
|
37
|
-
svg
|
38
|
-
margin: 0.28rem 0.25rem !important
|
39
|
-
//padding: 10px 16px
|
40
|
-
|
41
|
-
.input-group-btn
|
42
|
-
label.btn
|
43
|
-
margin: 0
|
44
|
-
|
45
|
-
.fix-label
|
46
|
-
margin-right: -11px
|
47
|
-
|
48
|
-
.date_picker
|
49
|
-
min-width: 104px
|
50
|
-
|
51
|
-
.ui_surround_field
|
52
|
-
.custom-control
|
53
|
-
.custom-control-label
|
54
|
-
margin-left: 0px !important
|
55
|
-
padding-right: 10px
|
56
|
-
margin-right: 0
|
57
|
-
.custom-control-label:after, .custom-control-label:before
|
58
|
-
right: 0
|
59
|
-
left: 0
|
60
|
-
|
61
|
-
flex-wrap: nowrap
|
62
|
-
.mr-sm-2
|
63
|
-
margin-right: 0px !important
|
64
|
-
input:not(:first-child):not(:last-child)
|
65
|
-
border-radius: 0px
|
66
|
-
input
|
67
|
-
margin-left: 0.5rem
|
68
|
-
select:not(:first-child):not(:last-child)
|
69
|
-
border-radius: 0px
|
70
|
-
|
71
|
-
//.btn.without-text
|
72
|
-
padding-right: 3px
|
73
|
-
|
74
|
-
.multiselect-container
|
75
|
-
padding: 10px
|
76
|
-
.multiselect-container > li > a > label
|
77
|
-
padding: 3px 20px 3px 10px
|
78
|
-
> input[type=checkbox]
|
79
|
-
margin-bottom: 0px
|
80
|
-
|
81
|
-
.without-caret
|
82
|
-
.dropdown-toggle::after
|
83
|
-
content: none
|
84
|
-
|
85
|
-
// fix button bug
|
86
|
-
|
87
|
-
.bootstrap-select button
|
88
|
-
min-height: 40px
|
89
|
-
|
90
|
-
.bootstrap-select .dropdown-menu li a
|
91
|
-
min-height: 32px
|
@@ -1,42 +0,0 @@
|
|
1
|
-
.stars-notation
|
2
|
-
white-space: nowrap
|
3
|
-
|
4
|
-
// Glyph section
|
5
|
-
@each $key, $value in $states_colors
|
6
|
-
.glyph-#{$key}
|
7
|
-
color: $value
|
8
|
-
|
9
|
-
//.alert .glyph
|
10
|
-
padding: .25rem 0
|
11
|
-
|
12
|
-
.glyph
|
13
|
-
vertical-align: middle
|
14
|
-
|
15
|
-
.btn
|
16
|
-
svg
|
17
|
-
margin: 0.25rem 0.25rem
|
18
|
-
i.glyph
|
19
|
-
margin: 0.4rem 0.25rem
|
20
|
-
.input-group-btn button svg
|
21
|
-
margin: 0.4rem 0.25rem
|
22
|
-
|
23
|
-
.dropdown-item
|
24
|
-
.glyph
|
25
|
-
margin-right: 1rem
|
26
|
-
|
27
|
-
.fa,
|
28
|
-
.fas,
|
29
|
-
.far,
|
30
|
-
.fal,
|
31
|
-
.fab
|
32
|
-
line-height: 0 !important
|
33
|
-
|
34
|
-
span:not(.input-group-addon, .btn) svg
|
35
|
-
margin-top: -0.1rem
|
36
|
-
|
37
|
-
// .input-group-btn span svg
|
38
|
-
// margin: 0.25rem
|
39
|
-
|
40
|
-
.toast .toast-header img
|
41
|
-
width: 20px
|
42
|
-
height: 20px
|
@@ -1,66 +0,0 @@
|
|
1
|
-
// Table section
|
2
|
-
.table-card
|
3
|
-
form
|
4
|
-
margin: 0
|
5
|
-
table
|
6
|
-
th
|
7
|
-
border-top: none
|
8
|
-
|
9
|
-
.progress
|
10
|
-
margin: 5px 0px 0px 0px
|
11
|
-
border: 1px solid $gray-200
|
12
|
-
border-radius: $border-radius
|
13
|
-
|
14
|
-
.card-header
|
15
|
-
//background-color: $table-bg-active
|
16
|
-
.title
|
17
|
-
float: left
|
18
|
-
font-size: 20px
|
19
|
-
.glyph
|
20
|
-
margin-right: 10px
|
21
|
-
.has-value
|
22
|
-
width: 400px !important
|
23
|
-
.input-group
|
24
|
-
width: 300px
|
25
|
-
transition: width .5s ease-in-out
|
26
|
-
float: right
|
27
|
-
.card-table, .card-body
|
28
|
-
overflow-x: auto
|
29
|
-
min-height: 200px
|
30
|
-
|
31
|
-
.card-footer
|
32
|
-
//background-color: $table-bg-active
|
33
|
-
padding: 10px 10px
|
34
|
-
.pagination
|
35
|
-
margin: 0
|
36
|
-
li
|
37
|
-
display: inline
|
38
|
-
float: left
|
39
|
-
.table-pagination-per-page
|
40
|
-
float: right
|
41
|
-
select
|
42
|
-
height: 38px
|
43
|
-
width: 75px
|
44
|
-
display: inline-block
|
45
|
-
|
46
|
-
.table>tbody>tr:hover
|
47
|
-
td:last-child .dropdown-action
|
48
|
-
display: inherit
|
49
|
-
|
50
|
-
.table>tbody>tr
|
51
|
-
td:last-child
|
52
|
-
.dropdown-action
|
53
|
-
display: none
|
54
|
-
|
55
|
-
.table-search-field
|
56
|
-
.clear-search-btn
|
57
|
-
cursor: pointer
|
58
|
-
.glyph
|
59
|
-
margin: 0
|
60
|
-
|
61
|
-
.table
|
62
|
-
.action
|
63
|
-
width: 135px
|
64
|
-
.dropdown_select
|
65
|
-
margin-bottom: 0px !important
|
66
|
-
|