faalis 1.0.0.alpha0 → 1.0.0.alpha1

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 (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -22
  3. data/Rakefile +1 -0
  4. data/app/assets/javascripts/faalis/angular-manifest.js +1 -0
  5. data/app/assets/javascripts/faalis/dashboard/app.js +4 -3
  6. data/app/assets/javascripts/faalis/dashboard/application.js.erb +0 -1
  7. data/app/assets/javascripts/faalis/dashboard/functions.js.erb +5 -7
  8. data/app/assets/javascripts/faalis/dashboard/init.js +1 -2
  9. data/app/assets/javascripts/faalis/dashboard/modules/fields/datetime.js +5 -3
  10. data/app/assets/javascripts/faalis/dashboard/modules/fields/image.js +46 -105
  11. data/app/assets/javascripts/faalis/dashboard/modules/services/upload_service.js +17 -0
  12. data/app/assets/javascripts/faalis/dashboard/variables.js.erb +1 -1
  13. data/app/assets/javascripts/faalis/{locale → locales}/en.json +0 -0
  14. data/app/assets/javascripts/faalis/{locale → locales}/fa.json +0 -0
  15. data/app/assets/javascripts/faalis/locales/translations.fa.js +4 -0
  16. data/app/assets/locale/templates.fa.pot +275 -0
  17. data/app/assets/locale/templates.pot +0 -8
  18. data/app/controllers/faalis/#api_controller.rb# +51 -0
  19. data/app/controllers/faalis/#dashboard_controller.rb# +65 -0
  20. data/app/controllers/faalis/application_controller.rb +9 -10
  21. data/app/controllers/faalis/dashboard_controller.rb +2 -2
  22. data/app/models/faalis/user.rb +11 -11
  23. data/app/models/faalis/user/auth_definitions.rb +2 -14
  24. data/app/models/faalis/user/mongoid_fields.rb +0 -1
  25. data/app/views/angularjs_templates/fields/datetime/datetime.html +7 -1
  26. data/app/views/angularjs_templates/fields/image/image.html +1 -1
  27. data/app/views/angularjs_templates/index.html +1 -6
  28. data/app/views/angularjs_templates/modules.html +1 -1
  29. data/app/views/devise/registrations/new.html.erb +5 -1
  30. data/app/views/devise/sessions/new.html.erb +17 -16
  31. data/app/views/devise/shared/_links.erb +8 -6
  32. data/app/views/layouts/faalis/application.html.erb +0 -4
  33. data/app/views/layouts/faalis/dashboard.html.erb +2 -2
  34. data/app/views/layouts/faalis/simple.html.erb +18 -20
  35. data/config/locales/fa/LC_MESSAGES/faalis.mo +0 -0
  36. data/config/locales/fa/faalis.edit.mo +0 -0
  37. data/config/locales/fa/faalis.edit.po +104 -0
  38. data/config/locales/fa/faalis.mo +0 -0
  39. data/config/locales/fa/faalis.po +29 -108
  40. data/{app/controllers/faalis/#1.sh# → config/locales/fa/faalis.po.time_stamp} +0 -0
  41. data/config/locales/faalis.pot +10 -88
  42. data/config/routes.rb +16 -3
  43. data/lib/faalis.rb +1 -0
  44. data/lib/faalis/discovery/permissions.rb +10 -3
  45. data/lib/faalis/engine.rb +21 -0
  46. data/lib/faalis/generators/concerns.rb +2 -0
  47. data/lib/faalis/generators/concerns/allow_query_on.rb +8 -12
  48. data/lib/faalis/generators/concerns/angular.rb +4 -5
  49. data/lib/faalis/generators/concerns/child.rb +31 -0
  50. data/lib/faalis/generators/concerns/fieldset.rb +2 -2
  51. data/lib/faalis/generators/concerns/globalize.rb +14 -0
  52. data/lib/faalis/generators/concerns/hstore.rb +19 -0
  53. data/lib/faalis/generators/concerns/model.rb +3 -3
  54. data/lib/faalis/generators/concerns/parent.rb +4 -6
  55. data/lib/faalis/generators/concerns/required.rb +2 -1
  56. data/lib/faalis/generators/concerns/resource_name.rb +1 -0
  57. data/lib/faalis/generators/concerns/tabs.rb +4 -7
  58. data/lib/faalis/generators/concerns/where.rb +1 -3
  59. data/lib/faalis/generators/dashboard_scaffold.rb +2 -0
  60. data/lib/faalis/generators/fields/#relation.rb# +61 -0
  61. data/lib/faalis/i18n.rb +6 -1
  62. data/lib/faalis/middlewares.rb +1 -0
  63. data/lib/faalis/middlewares/locale.rb +29 -0
  64. data/lib/faalis/route.rb +12 -19
  65. data/lib/faalis/version.rb +1 -1
  66. data/lib/generators/faalis/install_all_generator.rb +5 -3
  67. data/lib/generators/faalis/install_generator.rb +4 -0
  68. data/lib/generators/faalis/js/install_i18n_generator.rb +1 -1
  69. data/lib/generators/faalis/scaffold_generator.rb +72 -25
  70. data/lib/generators/faalis/templates/i18n/Gruntfile.js.erb +2 -2
  71. data/lib/generators/faalis/templates/i18n/fa.js +2 -2
  72. data/lib/generators/faalis/templates/js/list_view/details.html.erb +26 -3
  73. data/lib/generators/faalis/templates/views/create.json.jbuilder.erb +2 -1
  74. data/lib/generators/faalis/templates/views/index.json.jbuilder.erb +4 -2
  75. data/lib/generators/faalis/templates/views/show.json.jbuilder.erb +2 -1
  76. data/lib/generators/faalis/templates/views/update.json.jbuilder.erb +2 -1
  77. data/lib/tasks/faalis_tasks.rake +25 -27
  78. data/lib/tasks/grunt/Gruntfile.js +2 -2
  79. data/lib/tasks/sync.rake +3 -4
  80. metadata +43 -90
  81. data/app/assets/javascripts/faalis/dashboard/modules/list-view.js +0 -341
  82. data/app/assets/javascripts/faalis/dashboard/modules/modules.js +0 -75
  83. data/app/assets/javascripts/faalis/dashboard/modules/nav.js.erb +0 -78
  84. data/app/assets/stylesheets/faalis/base.css.scss +0 -334
  85. data/app/assets/stylesheets/faalis/dashboard/dashboard.css.scss +0 -246
  86. data/app/assets/stylesheets/faalis/dashboard/list_view.css.scss +0 -169
  87. data/app/assets/stylesheets/faalis/dashboard/ltr/application.css +0 -29
  88. data/app/assets/stylesheets/faalis/dashboard/ltr/base.css.scss.erb +0 -33
  89. data/app/assets/stylesheets/faalis/dashboard/ltr/buttons.css.scss.erb +0 -55
  90. data/app/assets/stylesheets/faalis/dashboard/ltr/direction.css.scss +0 -38
  91. data/app/assets/stylesheets/faalis/dashboard/ltr/foundation_and_overrides.css.scss +0 -1261
  92. data/app/assets/stylesheets/faalis/dashboard/ltr/time.css.scss +0 -58
  93. data/app/assets/stylesheets/faalis/dashboard/rtl/application.css +0 -27
  94. data/app/assets/stylesheets/faalis/dashboard/rtl/base.css.scss.erb +0 -35
  95. data/app/assets/stylesheets/faalis/dashboard/rtl/buttons.css.scss.erb +0 -45
  96. data/app/assets/stylesheets/faalis/dashboard/rtl/direction.css.scss +0 -37
  97. data/app/assets/stylesheets/faalis/dashboard/rtl/foundation_and_overrides.css.scss +0 -1264
  98. data/app/assets/stylesheets/faalis/dashboard/share/time.css.scss +0 -57
  99. data/app/assets/stylesheets/faalis/dashboard/sidebar.css.scss +0 -93
  100. data/app/assets/stylesheets/faalis/devise.css.scss +0 -34
  101. data/app/assets/stylesheets/faalis/groups.css +0 -4
  102. data/app/assets/stylesheets/faalis/home.css.scss +0 -14
  103. data/app/assets/stylesheets/faalis/ltr/application.css +0 -20
  104. data/app/assets/stylesheets/faalis/ltr/buttons.css.scss.erb +0 -45
  105. data/app/assets/stylesheets/faalis/ltr/foundation_and_overrides.scss +0 -1258
  106. data/app/assets/stylesheets/faalis/mixins.css.scss +0 -15
  107. data/app/assets/stylesheets/faalis/rtl/application.css +0 -20
  108. data/app/assets/stylesheets/faalis/rtl/buttons.css.scss.erb +0 -50
  109. data/app/assets/stylesheets/faalis/rtl/foundation_and_overrides.css.scss +0 -1264
  110. data/app/assets/stylesheets/faalis/users.css +0 -4
  111. data/app/assets/stylesheets/faalis/variables.css.scss +0 -102
  112. data/app/controllers/faalis/api/v1/workflows_controller.rb +0 -18
  113. data/app/views/angularjs_templates/list-view/index.html +0 -82
  114. data/app/views/faalis/api/v1/workflows/index.json.jbuilder +0 -5
  115. data/app/workflows/faalis/administration_workflow.rb +0 -7
  116. data/spec/dummy/log/development.log +0 -0
  117. data/spec/dummy/log/test.log +0 -15
  118. data/spec/dummy/tmp/ember-rails/ember-data.js +0 -10204
  119. data/spec/dummy/tmp/ember-rails/ember.js +0 -36991
  120. data/spec/factories/faalis_workflows.rb +0 -7
  121. data/spec/models/faalis/workflow_spec.rb +0 -7
@@ -1,57 +0,0 @@
1
- .timeSelectorDirective {
2
- background: none;
3
- -webkit-user-select: none;
4
- -moz-user-select: none;
5
- -ms-user-select: none;
6
- -o-user-select: none;
7
- user-select: none;
8
- }
9
- .timeSelectorDirective .increase, .timeSelectorDirective .decrease{
10
- text-align: center;
11
- vertical-align: middle;
12
- color: rgb(112, 112, 112);
13
- text-shadow: 0px 1px #FFF;
14
- cursor: pointer;
15
- -webkit-transition: 500ms ease-out all;
16
- -moz-transition: 500ms ease-out all;
17
- -ms-transition: 500ms ease-out all;
18
- -o-transition: 500ms ease-out all;
19
- transition: 500ms ease-out all;
20
- font-size: 100%;
21
- border: 1px solid #CCC;
22
- padding: 3px;
23
- margin: 3px;
24
- border: 1px solid #EDE;
25
- }
26
-
27
- .timeSelectorDirective .increase:hover, .timeSelectorDirective .decrease:hover{
28
- color: rgba(112, 112, 112, 0.5);
29
- border-color: #CCC;
30
- background-color: #FFF;
31
- }
32
-
33
- .timeSelectorDirective .increase:active, .timeSelectorDirective .decrease:active{
34
- color: rgb(112, 112, 112);
35
- box-shadow: inset 1px 1px 1px #DDD;
36
- }
37
-
38
- .timeSelectorDirective .section{
39
- display: inline-block;
40
-
41
- input{
42
- width:2.3em;
43
- padding:0;
44
- margin:0;
45
- }
46
- }
47
-
48
- .timeSelectorDirective .display{
49
- background-color: rgb(247, 247, 247);
50
- color: #555555;
51
- padding: 5px;
52
- margin: 0px 3px;
53
- min-width: 30px;
54
- text-align: center;
55
- border: 1px solid #DDD;
56
- box-shadow: 1px 1px 1px #FFFFFF;
57
- }
@@ -1,93 +0,0 @@
1
- @import "faalis/variables";
2
- @import "faalis/mixins";
3
-
4
- aside {
5
- background: $peter_river;
6
- padding: 0 !important;
7
- border-radius: 4px;
8
- margin-top: 20px;
9
-
10
- ul {
11
- list-style: none;
12
- margin-bottom: 0;
13
-
14
- li {
15
- p {
16
- margin: -10px 0 0;
17
- padding: 5px 5px 10px;
18
- width: 100%;
19
- color: lighten($lightergray, 4%);
20
- text-shadow: 0 1px 1px $darkgray;
21
- display: inline-block;
22
- }
23
- padding: 10px 0px 0px 0px;
24
- border-bottom: 1px solid darken($peter_river, 5%);
25
- //border-right: 1px solid $lightergray;
26
- cursor: pointer;
27
-
28
-
29
- &.active {
30
- background: $dashboard-background;
31
- border-right: none;
32
- color: $darkergray;
33
- }
34
-
35
- &:hover {
36
- &:not(.active) > p {
37
- //background: darken(white, 2%);
38
- //color: darken($lightgray, 10%);
39
- color: white;
40
- }
41
- }
42
-
43
- &:first-child {
44
- border-top: 1px solid $lightergray;
45
- border-radius: 0px 4px 0 0;
46
-
47
- }
48
- i {
49
- padding-left: 5px;
50
- padding-right: 5px;
51
-
52
- }
53
-
54
- }
55
- }
56
-
57
- .submenu {
58
- background: white;
59
- margin: 0px 0;
60
- font-size: 0.8em;
61
- display: none;
62
- li {
63
- color: $darkgray;
64
- border:none;
65
- cursor: pointer;
66
- padding: 5px 10px;
67
- @include transition(all 300ms linear);
68
- &:hover {
69
- padding: 5px 20px;
70
- @include transition(all 300ms linear);
71
- }
72
- }
73
- }
74
- .brand {
75
- border-bottom: 1px solid $lightergray;
76
- //border-right: 1px solid $lightergray;
77
- margin-top: -5px;
78
- padding: 50px 20px 20px;
79
- line-size: 1;
80
- border-radius: 0 0 4px 0px;
81
-
82
- h1 {
83
- font-size: 1.3em;
84
- margin: 0;
85
- color: white;
86
- }
87
- span {
88
- color: $lightergray;
89
- font-size: 0.8em;
90
- margin: 0;
91
- }
92
- }
93
- }
@@ -1,34 +0,0 @@
1
- // Place all the styles related to the registrations controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: http://sass-lang.com/
4
-
5
- /* Authentication sccs */
6
-
7
- .wrapper_signin{
8
- //background: url('/images/bg1.jpg') no-repeat top left;
9
- }
10
-
11
- .wrapper_signup{
12
- background: url('/images/bg2.jpg') no-repeat top left;
13
- }
14
-
15
- .layout_signin, .layout_signup{
16
- background-color:rgba(white, 0.7);
17
-
18
- .big_box {
19
- text-align:center;
20
- p{
21
- text-align:justify;
22
- }
23
- }
24
-
25
- .icon-big{
26
- float:right;
27
- padding-left:7px;
28
- padding-top:-7px;
29
- }
30
-
31
- .form{
32
- margin-top:35px;
33
- }
34
- }
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
@@ -1,14 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
5
-
6
-
7
- .btn-big {
8
- div{
9
- strong{
10
- color:#FFFFFF;
11
- }
12
- }
13
- color:#FFFFFF
14
- }
@@ -1,20 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the top of the
9
- * compiled file, but it's generally better to create a new file per style scope.
10
- *
11
-
12
- *= require faalis/variables
13
- *= require faalis/base
14
- *= require faalis/devise
15
- *= require faalis/home
16
- *= require font-awesome
17
- *= require faalis/ltr/foundation_and_overrides
18
- *= require faalis/ltr/buttons
19
- *= require_self
20
- */
@@ -1,45 +0,0 @@
1
- @import "faalis/variables";
2
- @import "faalis/ltr/foundation_and_overrides";
3
-
4
- .btn {
5
- @include button-base;
6
- @include single-transition;
7
-
8
- &.green {
9
- @include button-style($emerald, $border-radius, false);
10
- color: white;
11
- }
12
-
13
- &.blue {
14
- @include button-style($peter_river, $border-radius, false);
15
- color: white;
16
- }
17
-
18
- &.red {
19
- @include button-style($alizarin, $border-radius, false);
20
- color: white;
21
- }
22
-
23
- &.yellow {
24
- @include button-style($sun_flower, $border-radius, false);
25
- }
26
- &.lightgray {
27
- @include button-style($lightgray, $border-radius, false);
28
- }
29
- &.lightergray {
30
- @include button-style($lightergray, $border-radius, false);
31
- }
32
-
33
- }
34
-
35
- .tiny {
36
- @include button-size($button-tny, false);
37
- }
38
-
39
- .small {
40
- @include button-size($button-sml, false);
41
- }
42
-
43
- .medium {
44
- @include button-size($button-med, false);
45
- }
@@ -1,1258 +0,0 @@
1
- @import "faalis/variables";
2
-
3
- // Foundation by ZURB
4
- // foundation.zurb.com
5
- // Licensed under MIT Open Source
6
-
7
- //
8
- // FOUNDATION SETTINGS
9
- //
10
-
11
- // This is the default html and body font-size for the base rem value.
12
- // $rem-base: 16px;
13
-
14
- // Allows the use of rem-calc() or lower-bound() in your settings
15
- @import "foundation/functions";
16
-
17
- // $experimental: true;
18
-
19
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
20
- // for compatibility with browser-based text zoom or user-set defaults.
21
-
22
- // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
23
- // If you want your base font-size to be different and not have it affect the grid breakpoints,
24
- // set $rem-base to $base-font-size and make sure $base-font-size is a px value.
25
- // $base-font-size: 100%;
26
-
27
- // The $base-line-height is 100% while $base-font-size is 150%
28
- // $base-line-height: 150%;
29
-
30
- // We use this to control whether or not CSS classes come through in the gem files.
31
- // $include-html-classes: true;
32
- // $include-print-styles: true;
33
- // $include-html-global-classes: $include-html-classes;
34
-
35
- // Grid
36
-
37
- // $include-html-grid-classes: $include-html-classes;
38
- // $include-xl-html-grid-classes: false;
39
-
40
- // $row-width: rem-calc(1000);
41
- // $column-gutter: rem-calc(30);
42
- // $total-columns: 12;
43
-
44
- // We use these to control various global styles
45
- // $body-bg: #fff;
46
- // $body-font-color: #222;
47
- // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
48
- // $body-font-weight: normal;
49
- // $body-font-style: normal;
50
-
51
- // We use this to control font-smoothing
52
- // $font-smoothing: antialiased;
53
-
54
- // We use these to control text direction settings
55
- // $text-direction: ltr;
56
- // $opposite-direction: right;
57
- // $default-float: left;
58
-
59
- // We use these as default colors throughout
60
- // $primary-color: #008CBA;
61
- // $secondary-color: #e7e7e7;
62
- // $alert-color: #f04124;
63
- // $success-color: #43AC6A;
64
- // $warning-color: #f08a24;
65
- // $info-color: #a0d3e8;
66
-
67
- // We use these to make sure border radius matches unless we want it different.
68
- // $global-radius: 3px;
69
- // $global-rounded: 1000px;
70
-
71
- // We use these to control inset shadow shiny edges and depressions.
72
- // $shiny-edge-size: 0 1px 0;
73
- // $shiny-edge-color: rgba(#fff, .5);
74
- // $shiny-edge-active-color: rgba(#000, .2);
75
-
76
- // Media Query Ranges
77
- // $small-range: (0em, 40em);
78
- // $medium-range: (40.063em, 64em);
79
- // $large-range: (64.063em, 90em);
80
- // $xlarge-range: (90.063em, 120em);
81
- // $xxlarge-range: (120.063em);
82
-
83
- // $screen: "only screen";
84
-
85
- // $landscape: "#{$screen} and (orientation: landscape)";
86
- // $portrait: "#{$screen} and (orientation: portrait)";
87
-
88
- // $small-up: $screen;
89
- // $small-only: "#{$screen} and (max-width: #{upper-bound($small-range)})";
90
-
91
- // $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})";
92
- // $medium-only: "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})";
93
-
94
- // $large-up: "#{$screen} and (min-width:#{lower-bound($large-range)})";
95
- // $large-only: "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})";
96
-
97
- // $xlarge-up: "#{$screen} and (min-width:#{lower-bound($xlarge-range)})";
98
- // $xlarge-only: "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})";
99
-
100
- // $xxlarge-up: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
101
- // $xxlarge-only: "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
102
-
103
- // Legacy
104
- // $small: $medium-up;
105
- // $medium: $medium-up;
106
- // $large: $large-up;
107
-
108
- //We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet
109
- // $cursor-crosshair-value: crosshair;
110
- // $cursor-default-value: default;
111
- // $cursor-pointer-value: pointer;
112
- // $cursor-help-value: help;
113
- // $cursor-text-value: text;
114
-
115
- //
116
- // TYPOGRAPHY
117
- //
118
-
119
- // $include-html-type-classes: $include-html-classes;
120
-
121
- // We use these to control header font styles
122
- // $header-font-family: $body-font-family;
123
- // $header-font-weight: normal;
124
- // $header-font-style: normal;
125
- // $header-font-color: #222;
126
- // $header-line-height: 1.4;
127
- // $header-top-margin: .2rem;
128
- // $header-bottom-margin: .5rem;
129
- // $header-text-rendering: optimizeLegibility;
130
-
131
- // We use these to control header font sizes
132
- // $h1-font-size: rem-calc(44);
133
- // $h2-font-size: rem-calc(37);
134
- // $h3-font-size: rem-calc(27);
135
- // $h4-font-size: rem-calc(23);
136
- // $h5-font-size: rem-calc(18);
137
- // $h6-font-size: 1rem;
138
-
139
- // These control how subheaders are styled.
140
- // $subheader-line-height: 1.4;
141
- // $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
142
- // $subheader-font-weight: 300;
143
- // $subheader-top-margin: .2rem;
144
- // $subheader-bottom-margin: .5rem;
145
-
146
- // A general <small> styling
147
- // $small-font-size: 60%;
148
- // $small-font-color: scale-color($header-font-color, $lightness: 35%);
149
-
150
- // We use these to style paragraphs
151
- // $paragraph-font-family: inherit;
152
- // $paragraph-font-weight: normal;
153
- // $paragraph-font-size: 1rem;
154
- // $paragraph-line-height: 1.6;
155
- // $paragraph-margin-bottom: rem-calc(20);
156
- // $paragraph-aside-font-size: rem-calc(14);
157
- // $paragraph-aside-line-height: 1.35;
158
- // $paragraph-aside-font-style: italic;
159
- // $paragraph-text-rendering: optimizeLegibility;
160
-
161
- // We use these to style <code> tags
162
- // $code-color: scale-color($alert-color, $lightness: -27%);
163
- // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
164
- // $code-font-weight: bold;
165
-
166
- // We use these to style anchors
167
- // $anchor-text-decoration: none;
168
- // $anchor-font-color: $primary-color;
169
- // $anchor-font-color-hover: scale-color($primary-color, $lightness: -14%);
170
-
171
- // We use these to style the <hr> element
172
- // $hr-border-width: 1px;
173
- // $hr-border-style: solid;
174
- // $hr-border-color: #ddd;
175
- // $hr-margin: rem-calc(20);
176
-
177
- // We use these to style lists
178
- // $list-style-position: outside;
179
- // $list-side-margin: 1.1rem;
180
- // $list-ordered-side-margin: 1.4rem;
181
- // $list-side-margin-no-bullet: 0;
182
- // $list-nested-margin: rem-calc(20);
183
- // $definition-list-header-weight: bold;
184
- // $definition-list-header-margin-bottom: .3rem;
185
- // $definition-list-margin-bottom: rem-calc(12);
186
-
187
- // We use these to style blockquotes
188
- // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
189
- // $blockquote-padding: rem-calc(9 20 0 19);
190
- // $blockquote-border: 1px solid #ddd;
191
- // $blockquote-cite-font-size: rem-calc(13);
192
- // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
193
- // $blockquote-cite-link-color: $blockquote-cite-font-color;
194
-
195
- // Acronym styles
196
- // $acronym-underline: 1px dotted #ddd;
197
-
198
- // We use these to control padding and margin
199
- // $microformat-padding: rem-calc(10 12);
200
- // $microformat-margin: rem-calc(0 0 20 0);
201
-
202
- // We use these to control the border styles
203
- // $microformat-border-width: 1px;
204
- // $microformat-border-style: solid;
205
- // $microformat-border-color: #ddd;
206
-
207
- // We use these to control full name font styles
208
- // $microformat-fullname-font-weight: bold;
209
- // $microformat-fullname-font-size: rem-calc(15);
210
-
211
- // We use this to control the summary font styles
212
- // $microformat-summary-font-weight: bold;
213
-
214
- // We use this to control abbr padding
215
- // $microformat-abbr-padding: rem-calc(0 1);
216
-
217
- // We use this to control abbr font styles
218
- // $microformat-abbr-font-weight: bold;
219
- // $microformat-abbr-font-decoration: none;
220
-
221
- // Accordion
222
-
223
- // $include-html-accordion-classes: $include-html-classes;
224
-
225
- // $accordion-navigation-padding: rem-calc(16);
226
- // $accordion-navigation-bg-color: #efefef ;
227
- // $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
228
- // $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
229
- // $accordion-navigation-font-color: #222;
230
- // $accordion-navigation-font-size: rem-calc(16);
231
- // $accordion-navigation-font-family: $body-font-family;
232
-
233
- // $accordion-content-padding: $column-gutter/2;
234
- // $accordion-content-active-bg-color: #fff;
235
-
236
- // Alert Boxes
237
-
238
- // $include-html-alert-classes: $include-html-classes;
239
-
240
- // We use this to control alert padding.
241
- // $alert-padding-top: rem-calc(14);
242
- // $alert-padding-default-float: $alert-padding-top;
243
- // $alert-padding-opposite-direction: $alert-padding-top + rem-calc(10);
244
- // $alert-padding-bottom: $alert-padding-top;
245
-
246
- // We use these to control text style.
247
- // $alert-font-weight: normal;
248
- // $alert-font-size: rem-calc(13);
249
- // $alert-font-color: #fff;
250
- // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
251
-
252
- // We use this for close hover effect.
253
- // $alert-function-factor: -14%;
254
-
255
- // We use these to control border styles.
256
- // $alert-border-style: solid;
257
- // $alert-border-width: 1px;
258
- // $alert-border-color: scale-color($primary-color, $lightness: $alert-function-factor);
259
- // $alert-bottom-margin: rem-calc(20);
260
-
261
- // We use these to style the close buttons
262
- // $alert-close-color: #333;
263
- // $alert-close-top: 50%;
264
- // $alert-close-position: rem-calc(5);
265
- // $alert-close-font-size: rem-calc(22);
266
- // $alert-close-opacity: 0.3;
267
- // $alert-close-opacity-hover: 0.5;
268
- // $alert-close-padding: 9px 6px 4px;
269
-
270
- // We use this to control border radius
271
- // $alert-radius: $global-radius;
272
-
273
- // Block Grid
274
-
275
- // $include-html-grid-classes: $include-html-classes;
276
-
277
- // We use this to control the maximum number of block grid elements per row
278
- // $block-grid-elements: 12;
279
- // $block-grid-default-spacing: rem-calc(20);
280
- // $align-block-grid-to-grid: true;
281
-
282
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
283
- // $block-grid-media-queries: true;
284
-
285
- // Breadcrumbs
286
-
287
- // $include-html-nav-classes: $include-html-classes;
288
-
289
- // We use this to set the background color for the breadcrumb container.
290
- // $crumb-bg: scale-color($secondary-color, $lightness: 55%);
291
-
292
- // We use these to set the padding around the breadcrumbs.
293
- // $crumb-padding: rem-calc(9 14 9);
294
- // $crumb-side-padding: rem-calc(12);
295
-
296
- // We use these to control border styles.
297
- // $crumb-function-factor: -10%;
298
- // $crumb-border-size: 1px;
299
- // $crumb-border-style: solid;
300
- // $crumb-border-color: scale-color($crumb-bg, $lightness: $crumb-function-factor);
301
- // $crumb-radius: $global-radius;
302
-
303
- // We use these to set various text styles for breadcrumbs.
304
- // $crumb-font-size: rem-calc(11);
305
- // $crumb-font-color: $primary-color;
306
- // $crumb-font-color-current: #333;
307
- // $crumb-font-color-unavailable: #999;
308
- // $crumb-font-transform: uppercase;
309
- // $crumb-link-decor: underline;
310
-
311
- // We use these to control the slash between breadcrumbs
312
- // $crumb-slash-color: #aaa;
313
- // $crumb-slash: "/";
314
-
315
- //
316
- // BUTTONS
317
- //
318
-
319
- // $include-html-button-classes: $include-html-classes;
320
-
321
- // We use these to build padding for buttons.
322
- // $button-tny: rem-calc(10);
323
- // $button-sml: rem-calc(14);
324
- // $button-med: rem-calc(16);
325
- // $button-lrg: rem-calc(18);
326
-
327
- // We use this to control the display property.
328
- // $button-display: inline-block;
329
- // $button-margin-bottom: rem-calc(20);
330
-
331
- // We use these to control button text styles.
332
- // $button-font-family: $body-font-family;
333
- // $button-font-color: #fff;
334
- // $button-font-color-alt: #333;
335
- // $button-font-tny: rem-calc(11);
336
- // $button-font-sml: rem-calc(13);
337
- // $button-font-med: rem-calc(16);
338
- // $button-font-lrg: rem-calc(20);
339
- // $button-font-weight: normal;
340
- // $button-font-align: center;
341
-
342
- // We use these to control various hover effects.
343
- // $button-function-factor: 5%;
344
-
345
- // We use these to control button border styles.
346
- // $button-border-width: 1px;
347
- // $button-border-style: solid;
348
-
349
- // We use this to set the default radius used throughout the core.
350
- // $button-radius: $global-radius;
351
- // $button-round: $global-rounded;
352
-
353
- // We use this to set default opacity for disabled buttons.
354
- // $button-disabled-opacity: 0.7;
355
-
356
- // Button Groups
357
-
358
- // $include-html-button-classes: $include-html-classes;
359
-
360
- // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
361
- // $button-bar-margin-opposite: rem-calc(10);
362
- // $button-group-border-width: 1px;
363
-
364
- // Clearing
365
-
366
- // $include-html-clearing-classes: $include-html-classes;
367
-
368
- // We use these to set the background colors for parts of Clearing.
369
- // $clearing-bg: #333;
370
- // $clearing-caption-bg: $clearing-bg;
371
- // $clearing-carousel-bg: rgba (51,51,51,0.8);
372
- // $clearing-img-bg: $clearing-bg;
373
-
374
- // We use these to style the close button
375
- // $clearing-close-color: #ccc;
376
- // $clearing-close-size: 30px;
377
-
378
- // We use these to style the arrows
379
- // $clearing-arrow-size: 12px;
380
- // $clearing-arrow-color: $clearing-close-color;
381
-
382
- // We use these to style captions
383
- // $clearing-caption-font-color: #ccc;
384
- // $clearing-caption-font-size: 0.875em;
385
- // $clearing-caption-padding: 10px 30px 20px;
386
-
387
- // We use these to make the image and carousel height and style
388
- // $clearing-active-img-height: 85%;
389
- // $clearing-carousel-height: 120px;
390
- // $clearing-carousel-thumb-width: 120px;
391
- // $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
392
-
393
- // Dropdown
394
-
395
- // $include-html-dropdown-classes: $include-html-classes;
396
-
397
- // We use these to controls height and width styles.
398
- // $f-dropdown-max-width: 200px;
399
- // $f-dropdown-height: auto;
400
- // $f-dropdown-max-height: none;
401
- // $f-dropdown-margin-top: 2px;
402
-
403
- // We use this to control the background color
404
- // $f-dropdown-bg: #fff;
405
-
406
- // We use this to set the border styles for dropdowns.
407
- // $f-dropdown-border-style: solid;
408
- // $f-dropdown-border-width: 1px;
409
- // $f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
410
-
411
- // We use these to style the triangle pip.
412
- // $f-dropdown-triangle-size: 6px;
413
- // $f-dropdown-triangle-color: #fff;
414
- // $f-dropdown-triangle-side-offset: 10px;
415
-
416
- // We use these to control styles for the list elements.
417
- // $f-dropdown-list-style: none;
418
- // $f-dropdown-font-color: #555;
419
- // $f-dropdown-font-size: rem-calc(14);
420
- // $f-dropdown-list-padding: rem-calc(5, 10);
421
- // $f-dropdown-line-height: rem-calc(18);
422
- // $f-dropdown-list-hover-bg: #eeeeee ;
423
- // $dropdown-mobile-default-float: 0;
424
-
425
- // We use this to control the styles for when the dropdown has custom content.
426
- // $f-dropdown-content-padding: rem-calc(20);
427
-
428
- // Dropdown Buttons
429
-
430
- // $include-html-button-classes: $include-html-classes;
431
-
432
- // We use these to set the color of the pip in dropdown buttons
433
- // $dropdown-button-pip-color: #fff;
434
- // $dropdown-button-pip-color-alt: #333;
435
-
436
- // $button-pip-tny: rem-calc(6);
437
- // $button-pip-sml: rem-calc(7);
438
- // $button-pip-med: rem-calc(9);
439
- // $button-pip-lrg: rem-calc(11);
440
-
441
- // We use these to style tiny dropdown buttons
442
- // $dropdown-button-padding-tny: $button-pip-tny * 7;
443
- // $dropdown-button-pip-size-tny: $button-pip-tny;
444
- // $dropdown-button-pip-opposite-tny: $button-pip-tny * 3;
445
- // $dropdown-button-pip-top-tny: -$button-pip-tny / 2 + rem-calc(1);
446
-
447
- // We use these to style small dropdown buttons
448
- // $dropdown-button-padding-sml: $button-pip-sml * 7;
449
- // $dropdown-button-pip-size-sml: $button-pip-sml;
450
- // $dropdown-button-pip-opposite-sml: $button-pip-sml * 3;
451
- // $dropdown-button-pip-top-sml: -$button-pip-sml / 2 + rem-calc(1);
452
-
453
- // We use these to style medium dropdown buttons
454
- // $dropdown-button-padding-med: $button-pip-med * 6 + rem-calc(3);
455
- // $dropdown-button-pip-size-med: $button-pip-med - rem-calc(3);
456
- // $dropdown-button-pip-opposite-med: $button-pip-med * 2.5;
457
- // $dropdown-button-pip-top-med: -$button-pip-med / 2 + rem-calc(2);
458
-
459
- // We use these to style large dropdown buttons
460
- // $dropdown-button-padding-lrg: $button-pip-lrg * 5 + rem-calc(3);
461
- // $dropdown-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
462
- // $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
463
- // $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
464
-
465
- // Flex Video
466
-
467
- // $include-html-media-classes: $include-html-classes;
468
-
469
- // We use these to control video container padding and margins
470
- // $flex-video-padding-top: rem-calc(25);
471
- // $flex-video-padding-bottom: 67.5%;
472
- // $flex-video-margin-bottom: rem-calc(16);
473
-
474
- // We use this to control widescreen bottom padding
475
- // $flex-video-widescreen-padding-bottom: 57.25%;
476
-
477
- // Forms
478
-
479
- // $include-html-form-classes: $include-html-classes;
480
-
481
- // We use this to set the base for lots of form spacing and positioning styles
482
- // $form-spacing: rem-calc(16);
483
-
484
- // We use these to style the labels in different ways
485
- // $form-label-pointer: pointer;
486
- // $form-label-font-size: rem-calc(14);
487
- // $form-label-font-weight: normal;
488
- // $form-label-line-height: 1.5;
489
- // $form-label-font-color: scale-color(#000, $lightness: 30%);
490
- // $form-label-bottom-margin: 0;
491
- // $input-font-family: inherit;
492
- // $input-font-color: rgba(0,0,0,0.75);
493
- // $input-font-size: rem-calc(14);
494
- // $input-bg-color: #fff;
495
- // $input-focus-bg-color: scale-color(#fff, $lightness: -2%);
496
- // $input-border-color: scale-color(#fff, $lightness: -20%);
497
- // $input-focus-border-color: scale-color(#fff, $lightness: -40%);
498
- // $input-border-style: solid;
499
- // $input-border-width: 1px;
500
- // $input-border-radius: $global-radius;
501
- // $input-disabled-bg: #ddd;
502
- // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
503
- // $input-include-glowing-effect: true;
504
-
505
- // We use these to style the fieldset border and spacing.
506
- // $fieldset-border-style: solid;
507
- // $fieldset-border-width: 1px;
508
- // $fieldset-border-color: #ddd;
509
- // $fieldset-padding: rem-calc(20);
510
- // $fieldset-margin: rem-calc(18 0);
511
-
512
- // We use these to style the legends when you use them
513
- // $legend-bg: #fff;
514
- // $legend-font-weight: bold;
515
- // $legend-padding: rem-calc(0 3);
516
-
517
- // We use these to style the prefix and postfix input elements
518
- // $input-prefix-bg: scale-color(#fff, $lightness: -5%);
519
- // $input-prefix-border-color: scale-color(#fff, $lightness: -20%);
520
- // $input-prefix-border-size: 1px;
521
- // $input-prefix-border-type: solid;
522
- // $input-prefix-overflow: hidden;
523
- // $input-prefix-font-color: #333;
524
- // $input-prefix-font-color-alt: #fff;
525
-
526
- // We use these to style the error states for inputs and labels
527
- // $input-error-message-padding: rem-calc(6 9 9);
528
- // $input-error-message-top: -1px;
529
- // $input-error-message-font-size: rem-calc(12);
530
- // $input-error-message-font-weight: normal;
531
- // $input-error-message-font-style: italic;
532
- // $input-error-message-font-color: #fff;
533
- // $input-error-message-font-color-alt: #333;
534
-
535
- // We use this to style the glowing effect of inputs when focused
536
- // $glowing-effect-fade-time: 0.45s;
537
- // $glowing-effect-color: $input-focus-border-color;
538
-
539
- // Select variables
540
- // $select-bg-color: #fafafa;
541
-
542
- // Inline Lists
543
-
544
- // $include-html-inline-list-classes: $include-html-classes;
545
-
546
- // We use this to control the margins and padding of the inline list.
547
- // $inline-list-top-margin: 0;
548
- // $inline-list-opposite-margin: 0;
549
- // $inline-list-bottom-margin: rem-calc(17);
550
- // $inline-list-default-float-margin: rem-calc(-22);
551
-
552
- // $inline-list-padding: 0;
553
-
554
- // We use this to control the overflow of the inline list.
555
- // $inline-list-overflow: hidden;
556
-
557
- // We use this to control the list items
558
- // $inline-list-display: block;
559
-
560
- // We use this to control any elments within list items
561
- // $inline-list-children-display: block;
562
-
563
- // Joyride
564
-
565
- // $include-html-joyride-classes: $include-html-classes;
566
-
567
- // Controlling default Joyride styles
568
- // $joyride-tip-bg: #333;
569
- // $joyride-tip-default-width: 300px;
570
- // $joyride-tip-padding: rem-calc(18 20 24);
571
- // $joyride-tip-border: solid 1px #555;
572
- // $joyride-tip-radius: 4px;
573
- // $joyride-tip-position-offset: 22px;
574
-
575
- // Here, we're setting the tip dont styles
576
- // $joyride-tip-font-color: #fff;
577
- // $joyride-tip-font-size: rem-calc(14);
578
- // $joyride-tip-header-weight: bold;
579
-
580
- // This changes the nub size
581
- // $joyride-tip-nub-size: 10px;
582
-
583
- // This adjusts the styles for the timer when its enabled
584
- // $joyride-tip-timer-width: 50px;
585
- // $joyride-tip-timer-height: 3px;
586
- // $joyride-tip-timer-color: #666;
587
-
588
- // This changes up the styles for the close button
589
- // $joyride-tip-close-color: #777;
590
- // $joyride-tip-close-size: 24px;
591
- // $joyride-tip-close-weight: normal;
592
-
593
- // When Joyride is filling the screen, we use this style for the bg
594
- // $joyride-screenfill: rgba(0,0,0,0.5);
595
-
596
- // Keystrokes
597
-
598
- // $include-html-keystroke-classes: $include-html-classes;
599
-
600
- // We use these to control text styles.
601
- // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
602
- // $keystroke-font-size: rem-calc(14);
603
- // $keystroke-font-color: #222;
604
- // $keystroke-font-color-alt: #fff;
605
- // $keystroke-function-factor: -7%;
606
-
607
- // We use this to control keystroke padding.
608
- // $keystroke-padding: rem-calc(2 4 0);
609
-
610
- // We use these to control background and border styles.
611
- // $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
612
- // $keystroke-border-style: solid;
613
- // $keystroke-border-width: 1px;
614
- // $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
615
- // $keystroke-radius: $global-radius;
616
-
617
- // Labels
618
-
619
- // $include-html-label-classes: $include-html-classes;
620
-
621
- // We use these to style the labels
622
- // $label-padding: rem-calc(4 8 6);
623
- // $label-radius: $global-radius;
624
-
625
- // We use these to style the label text
626
- // $label-font-sizing: rem-calc(11);
627
- // $label-font-weight: normal;
628
- // $label-font-color: #333;
629
- // $label-font-color-alt: #fff;
630
- // $label-font-family: $body-font-family;
631
-
632
- // Magellan
633
-
634
- // $include-html-magellan-classes: $include-html-classes;
635
-
636
- // $magellan-bg: #fff;
637
- // $magellan-padding: 10px;
638
-
639
- // Off-canvas
640
-
641
- // $tabbar-bg: #333;
642
- // $tabbar-height: rem-calc(45);
643
- // $tabbar-line-height: $tabbar-height;
644
- // $tabbar-color: #FFF;
645
- // $tabbar-middle-padding: 0 rem-calc(10);
646
-
647
- // Off Canvas Divider Styles
648
- // $tabbar-right-section-border: solid 1px scale-color($tabbar-bg, $lightness: 13%);
649
- // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
650
-
651
- // Off Canvas Tab Bar Headers
652
- // $tabbar-header-color: #FFF;
653
- // $tabbar-header-weight: bold;
654
- // $tabbar-header-line-height: $tabbar-height;
655
- // $tabbar-header-margin: 0;
656
-
657
- // Off Canvas Menu Variables
658
- // $off-canvas-width: 250px;
659
- // $off-canvas-bg: #333;
660
-
661
- // Off Canvas Menu List Variables
662
- // $off-canvas-label-padding: 0.3rem rem-calc(15);
663
- // $off-canvas-label-color: #999;
664
- // $off-canvas-label-text-transform: uppercase;
665
- // $off-canvas-label-font-weight: bold;
666
- // $off-canvas-label-bg: #444;
667
- // $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%);
668
- // $off-canvas-label-border-bottom: none;
669
- // $off-canvas-label-margin:0;
670
- // $off-canvas-link-padding: rem-calc(10, 15);
671
- // $off-canvas-link-color: rgba(#FFF, 0.7);
672
- // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
673
-
674
- // Off Canvas Menu Icon Variables
675
- // $tabbar-menu-icon-color: #FFF;
676
- // $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
677
-
678
- // $tabbar-menu-icon-text-indent: rem-calc(35);
679
- // $tabbar-menu-icon-width: $tabbar-height;
680
- // $tabbar-menu-icon-height: $tabbar-height;
681
- // $tabbar-menu-icon-line-height: rem-calc(33);
682
- // $tabbar-menu-icon-padding: 0;
683
-
684
- // $tabbar-hamburger-icon-width: rem-calc(16);
685
- // $tabbar-hamburger-icon-left: false;
686
- // $tabbar-hamburger-icon-top: false;
687
- // $tapbar-hamburger-icon-thickness: 1px;
688
- // $tapbar-hamburger-icon-gap: 6px;
689
-
690
- // Off Canvas Back-Link Overlay
691
- // $off-canvas-overlay-transition: background 300ms ease;
692
- // $off-canvas-overlay-cursor: pointer;
693
- // $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5);
694
- // $off-canvas-overlay-background: rgba(#FFF, 0.2);
695
- // $off-canvas-overlay-background-hover: rgba(#FFF, 0.05);
696
-
697
- // Transition Variables
698
- // $menu-slide: "transform 500ms ease";
699
-
700
- // Orbit
701
-
702
- // $include-html-orbit-classes: $include-html-classes;
703
-
704
- // We use these to control the caption styles
705
- // $orbit-container-bg: none;
706
- // $orbit-caption-bg: rgba(51,51,51, 0.8);
707
- // $orbit-caption-font-color: #fff;
708
- // $orbit-caption-font-size: rem-calc(14);
709
- // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
710
- // $orbit-caption-padding: rem-calc(10 14);
711
- // $orbit-caption-height: auto;
712
-
713
- // We use these to control the left/right nav styles
714
- // $orbit-nav-bg: none;
715
- // $orbit-nav-bg-hover: rgba(0,0,0,0.3);
716
- // $orbit-nav-arrow-color: #fff;
717
- // $orbit-nav-arrow-color-hover: #fff;
718
-
719
- // We use these to control the timer styles
720
- // $orbit-timer-bg: rgba(255,255,255,0.3);
721
- // $orbit-timer-show-progress-bar: true;
722
-
723
- // We use these to control the bullet nav styles
724
- // $orbit-bullet-nav-color: #ccc;
725
- // $orbit-bullet-nav-color-active: #999;
726
- // $orbit-bullet-radius: rem-calc(9);
727
-
728
- // We use these to controls the style of slide numbers
729
- // $orbit-slide-number-bg: rgba(0,0,0,0);
730
- // $orbit-slide-number-font-color: #fff;
731
- // $orbit-slide-number-padding: rem-calc(5);
732
-
733
- // Graceful Loading Wrapper and preloader
734
- // $wrapper-class: "slideshow-wrapper";
735
- // $preloader-class: "preloader";
736
-
737
- // Pagination
738
-
739
- // $include-html-nav-classes: $include-html-classes;
740
-
741
- // We use these to control the pagination container
742
- // $pagination-height: rem-calc(24);
743
- // $pagination-margin: rem-calc(-5);
744
-
745
- // We use these to set the list-item properties
746
- // $pagination-li-float: $default-float;
747
- // $pagination-li-height: rem-calc(24);
748
- // $pagination-li-font-color: #222;
749
- // $pagination-li-font-size: rem-calc(14);
750
- // $pagination-li-margin: rem-calc(5);
751
-
752
- // We use these for the pagination anchor links
753
- // $pagination-link-pad: rem-calc(1 10 1);
754
- // $pagination-link-font-color: #999;
755
- // $pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
756
-
757
- // We use these for disabled anchor links
758
- // $pagination-link-unavailable-cursor: default;
759
- // $pagination-link-unavailable-font-color: #999;
760
- // $pagination-link-unavailable-bg-active: transparent;
761
-
762
- // We use these for currently selected anchor links
763
- // $pagination-link-current-background: $primary-color;
764
- // $pagination-link-current-font-color: #fff;
765
- // $pagination-link-current-font-weight: bold;
766
- // $pagination-link-current-cursor: default;
767
- // $pagination-link-current-active-bg: $primary-color;
768
-
769
- // Panels
770
-
771
- // $include-html-panel-classes: $include-html-classes;
772
-
773
- // We use these to control the background and border styles
774
- // $panel-bg: scale-color(#fff, $lightness: -5%);
775
- // $panel-border-style: solid;
776
- // $panel-border-size: 1px;
777
-
778
- // We use this % to control how much we darken things on hover
779
- // $panel-function-factor: -11%;
780
- // $panel-border-color: scale-color($panel-bg, $lightness: $panel-function-factor);
781
-
782
- // We use these to set default inner padding and bottom margin
783
- // $panel-margin-bottom: rem-calc(20);
784
- // $panel-padding: rem-calc(20);
785
-
786
- // We use these to set default font colors
787
- // $panel-font-color: #333;
788
- // $panel-font-color-alt: #fff;
789
-
790
- // $panel-header-adjust: true;
791
- // $callout-panel-link-color: $primary-color;
792
-
793
- // Pricing Tables
794
-
795
- // $include-html-pricing-classes: $include-html-classes;
796
-
797
- // We use this to control the border color
798
- // $price-table-border: solid 1px #ddd;
799
-
800
- // We use this to control the bottom margin of the pricing table
801
- // $price-table-margin-bottom: rem-calc(20);
802
-
803
- // We use these to control the title styles
804
- // $price-title-bg: #333;
805
- // $price-title-padding: rem-calc(15 20);
806
- // $price-title-align: center;
807
- // $price-title-color: #eee;
808
- // $price-title-weight: normal;
809
- // $price-title-size: rem-calc(16);
810
- // $price-title-font-family: $body-font-family;
811
-
812
- // We use these to control the price styles
813
- // $price-money-bg: #f6f6f6 ;
814
- // $price-money-padding: rem-calc(15 20);
815
- // $price-money-align: center;
816
- // $price-money-color: #333;
817
- // $price-money-weight: normal;
818
- // $price-money-size: rem-calc(32);
819
- // $price-money-font-family: $body-font-family;
820
-
821
-
822
- // We use these to control the description styles
823
- // $price-bg: #fff;
824
- // $price-desc-color: #777;
825
- // $price-desc-padding: rem-calc(15);
826
- // $price-desc-align: center;
827
- // $price-desc-font-size: rem-calc(12);
828
- // $price-desc-weight: normal;
829
- // $price-desc-line-height: 1.4;
830
- // $price-desc-bottom-border: dotted 1px #ddd;
831
-
832
- // We use these to control the list item styles
833
- // $price-item-color: #333;
834
- // $price-item-padding: rem-calc(15);
835
- // $price-item-align: center;
836
- // $price-item-font-size: rem-calc(14);
837
- // $price-item-weight: normal;
838
- // $price-item-bottom-border: dotted 1px #ddd;
839
-
840
- // We use these to control the CTA area styles
841
- // $price-cta-bg: #fff;
842
- // $price-cta-align: center;
843
- // $price-cta-padding: rem-calc(20 20 0);
844
-
845
- // Progress Meters
846
-
847
- // $include-html-media-classes: $include-html-classes;
848
-
849
- // We use this to se the prog bar height
850
- // $progress-bar-height: rem-calc(25);
851
- // $progress-bar-color: #f6f6f6 ;
852
-
853
- // We use these to control the border styles
854
- // $progress-bar-border-color: scale-color(#fff, $lightness: -20%);
855
- // $progress-bar-border-size: 1px;
856
- // $progress-bar-border-style: solid;
857
- // $progress-bar-border-radius: $global-radius;
858
-
859
- // We use these to control the margin & padding
860
- // $progress-bar-pad: rem-calc(2);
861
- // $progress-bar-margin-bottom: rem-calc(10);
862
-
863
- // We use these to set the meter colors
864
- // $progress-meter-color: $primary-color;
865
- // $progress-meter-secondary-color: $secondary-color;
866
- // $progress-meter-success-color: $success-color;
867
- // $progress-meter-alert-color: $alert-color;
868
-
869
- // Reveal
870
-
871
- // $include-html-reveal-classes: $include-html-classes;
872
-
873
- // We use these to control the style of the reveal overlay.
874
- // $reveal-overlay-bg: rgba(#000, .45);
875
- // $reveal-overlay-bg-old: #000;
876
-
877
- // We use these to control the style of the modal itself.
878
- // $reveal-modal-bg: #fff;
879
- // $reveal-position-top: 50px;
880
- // $reveal-default-width: 80%;
881
- // $reveal-modal-padding: rem-calc(20);
882
- // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
883
-
884
- // We use these to style the reveal close button
885
- // $reveal-close-font-size: rem-calc(22);
886
- // $reveal-close-top: rem-calc(8);
887
- // $reveal-close-side: rem-calc(11);
888
- // $reveal-close-color: #aaa;
889
- // $reveal-close-weight: bold;
890
-
891
- // We use these to control the modal border
892
- // $reveal-border-style: solid;
893
- // $reveal-border-width: 1px;
894
- // $reveal-border-color: #666;
895
-
896
- // $reveal-modal-class: "reveal-modal";
897
- // $close-reveal-modal-class: "close-reveal-modal";
898
-
899
- // Side Nav
900
-
901
- // $include-html-nav-classes: $include-html-classes;
902
-
903
- // We use this to control padding.
904
- // $side-nav-padding: rem-calc(14 0);
905
-
906
- // We use these to control list styles.
907
- // $side-nav-list-type: none;
908
- // $side-nav-list-position: inside;
909
- // $side-nav-list-margin: rem-calc(0 0 7 0);
910
-
911
- // We use these to control link styles.
912
- // $side-nav-link-color: $primary-color;
913
- // $side-nav-link-color-active: scale-color($side-nav-link-color, $lightness: 30%);
914
- // $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
915
- // $side-nav-font-size: rem-calc(14);
916
- // $side-nav-font-weight: normal;
917
- // $side-nav-font-family: $body-font-family;
918
- // $side-nav-active-font-family: $side-nav-font-family;
919
-
920
-
921
-
922
- // We use these to control border styles
923
- // $side-nav-divider-size: 1px;
924
- // $side-nav-divider-style: solid;
925
- // $side-nav-divider-color: scale-color(#fff, $lightness: -10%);
926
-
927
- // Split Buttons
928
-
929
- // $include-html-button-classes: $include-html-classes;
930
-
931
- // We use these to control different shared styles for Split Buttons
932
- // $split-button-function-factor: 10%;
933
- // $split-button-pip-color: #fff;
934
- // $split-button-pip-color-alt: #333;
935
- // $split-button-active-bg-tint: rgba(0,0,0,0.1);
936
-
937
- // We use these to control tiny split buttons
938
- // $split-button-padding-tny: $button-pip-tny * 10;
939
- // $split-button-span-width-tny: $button-pip-tny * 6;
940
- // $split-button-pip-size-tny: $button-pip-tny;
941
- // $split-button-pip-top-tny: $button-pip-tny * 2;
942
- // $split-button-pip-default-float-tny: rem-calc(-6);
943
-
944
- // We use these to control small split buttons
945
- // $split-button-padding-sml: $button-pip-sml * 10;
946
- // $split-button-span-width-sml: $button-pip-sml * 6;
947
- // $split-button-pip-size-sml: $button-pip-sml;
948
- // $split-button-pip-top-sml: $button-pip-sml * 1.5;
949
- // $split-button-pip-default-float-sml: rem-calc(-6);
950
-
951
- // We use these to control medium split buttons
952
- // $split-button-padding-med: $button-pip-med * 9;
953
- // $split-button-span-width-med: $button-pip-med * 5.5;
954
- // $split-button-pip-size-med: $button-pip-med - rem-calc(3);
955
- // $split-button-pip-top-med: $button-pip-med * 1.5;
956
- // $split-button-pip-default-float-med: rem-calc(-6);
957
-
958
- // We use these to control large split buttons
959
- // $split-button-padding-lrg: $button-pip-lrg * 8;
960
- // $split-button-span-width-lrg: $button-pip-lrg * 5;
961
- // $split-button-pip-size-lrg: $button-pip-lrg - rem-calc(6);
962
- // $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
963
- // $split-button-pip-default-float-lrg: rem-calc(-6);
964
-
965
- // Sub Nav
966
-
967
- // $include-html-nav-classes: $include-html-classes;
968
-
969
- // We use these to control margin and padding
970
- // $sub-nav-list-margin: rem-calc(-4 0 18);
971
- // $sub-nav-list-padding-top: rem-calc(4);
972
-
973
- // We use this to control the definition
974
- // $sub-nav-font-family: $body-font-family;
975
- // $sub-nav-font-size: rem-calc(14);
976
- // $sub-nav-font-color: #999;
977
- // $sub-nav-font-weight: normal;
978
- // $sub-nav-text-decoration: none;
979
- // $sub-nav-border-radius: 3px;
980
- // $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
981
-
982
-
983
- // We use these to control the active item styles
984
-
985
- // $sub-nav-active-font-weight: normal;
986
- // $sub-nav-active-bg: $primary-color;
987
- // $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
988
- // $sub-nav-active-color: #fff;
989
- // $sub-nav-active-padding: rem-calc(3 16);
990
- // $sub-nav-active-cursor: default;
991
-
992
- // $sub-nav-item-divider: "";
993
- // $sub-nav-item-divider-margin: rem-calc(12);
994
-
995
- //
996
- // SWITCH
997
- //
998
-
999
- // $include-html-form-classes: $include-html-classes;
1000
-
1001
- // Controlling border styles and background colors for the switch container
1002
- // $switch-border-color: scale-color(#fff, $lightness: -20%);
1003
- // $switch-border-style: solid;
1004
- // $switch-border-width: 1px;
1005
- // $switch-bg: #fff;
1006
-
1007
- // We use these to control the switch heights for our default classes
1008
- // $switch-height-tny: 22px;
1009
- // $switch-height-sml: 28px;
1010
- // $switch-height-med: 36px;
1011
- // $switch-height-lrg: 44px;
1012
- // $switch-bottom-margin: rem-calc(20);
1013
-
1014
- // We use these to control default font sizes for our classes.
1015
- // $switch-font-size-tny: 11px;
1016
- // $switch-font-size-sml: 12px;
1017
- // $switch-font-size-med: 14px;
1018
- // $switch-font-size-lrg: 17px;
1019
- // $switch-label-side-padding: 6px;
1020
-
1021
- // We use these to style the switch-paddle
1022
- // $switch-paddle-bg: #fff;
1023
- // $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
1024
- // $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
1025
- // $switch-paddle-border-width: 1px;
1026
- // $switch-paddle-border-style: solid;
1027
- // $switch-paddle-transition-speed: .1s;
1028
- // $switch-paddle-transition-ease: ease-out;
1029
- // $switch-positive-color: scale-color($success-color, $lightness: 94%);
1030
- // $switch-negative-color: #f5f5f5;
1031
-
1032
- // Outline Style for tabbing through switches
1033
- // $switch-label-outline: 1px dotted #888;
1034
-
1035
- // Tables
1036
-
1037
- // $include-html-table-classes: $include-html-classes;
1038
-
1039
- // These control the background color for the table and even rows
1040
- // $table-bg: #fff;
1041
- // $table-even-row-bg: #f9f9f9 ;
1042
-
1043
- // These control the table cell border style
1044
- // $table-border-style: solid;
1045
- // $table-border-size: 1px;
1046
- // $table-border-color: #ddd;
1047
-
1048
- // These control the table head styles
1049
- // $table-head-bg: #f5f5f5 ;
1050
- // $table-head-font-size: rem-calc(14);
1051
- // $table-head-font-color: #222;
1052
- // $table-head-font-weight: bold;
1053
- // $table-head-padding: rem-calc(8 10 10);
1054
-
1055
- // These control the row padding and font styles
1056
- // $table-row-padding: rem-calc(9 10);
1057
- // $table-row-font-size: rem-calc(14);
1058
- // $table-row-font-color: #222;
1059
- // $table-line-height: rem-calc(18);
1060
-
1061
- // These are for controlling the display and margin of tables
1062
- // $table-display: table-cell;
1063
- // $table-margin-bottom: rem-calc(20);
1064
-
1065
- //
1066
- // TABS
1067
- //
1068
-
1069
- // $include-html-tabs-classes: $include-html-classes;
1070
-
1071
- // $tabs-navigation-padding: rem-calc(16);
1072
- // $tabs-navigation-bg-color: #efefef ;
1073
- // $tabs-navigation-active-bg-color: #fff;
1074
- // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
1075
- // $tabs-navigation-font-color: #222;
1076
- // $tabs-navigation-font-size: rem-calc(16);
1077
- // $tabs-navigation-font-family: $body-font-family;
1078
-
1079
- // $tabs-content-margin-bottom: rem-calc(24);
1080
- // $tabs-content-padding: $column-gutter/2;
1081
-
1082
- // $tabs-vertical-navigation-margin-bottom: 1.25rem;
1083
-
1084
- //
1085
- // THUMBNAILS
1086
- //
1087
-
1088
- // $include-html-media-classes: $include-html-classes;
1089
-
1090
- // We use these to control border styles
1091
- // $thumb-border-style: solid;
1092
- // $thumb-border-width: 4px;
1093
- // $thumb-border-color: #fff;
1094
- // $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
1095
- // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
1096
-
1097
- // Radius and transition speed for thumbs
1098
- // $thumb-radius: $global-radius;
1099
- // $thumb-transition-speed: 200ms;
1100
-
1101
- //
1102
- // TOOLTIPS
1103
- //
1104
-
1105
- // $include-html-tooltip-classes: $include-html-classes;
1106
-
1107
- // $has-tip-border-bottom: dotted 1px #ccc;
1108
- // $has-tip-font-weight: bold;
1109
- // $has-tip-font-color: #333;
1110
- // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
1111
- // $has-tip-font-color-hover: $primary-color;
1112
- // $has-tip-cursor-type: help;
1113
-
1114
- // $tooltip-padding: rem-calc(12);
1115
- // $tooltip-bg: #333;
1116
- // $tooltip-font-size: rem-calc(14);
1117
- // $tooltip-font-weight: normal;
1118
- // $tooltip-font-color: #fff;
1119
- // $tooltip-line-height: 1.3;
1120
- // $tooltip-close-font-size: rem-calc(10);
1121
- // $tooltip-close-font-weight: normal;
1122
- // $tooltip-close-font-color: #777;
1123
- // $tooltip-font-size-sml: rem-calc(14);
1124
- // $tooltip-radius: $global-radius;
1125
- // $tooltip-rounded: $global-rounded;
1126
- // $tooltip-pip-size: 5px;
1127
-
1128
- //
1129
- // TOP BAR
1130
- //
1131
-
1132
- // $include-html-top-bar-classes: $include-html-classes;
1133
-
1134
- // Background color for the top bar
1135
- // $topbar-bg-color: #333;
1136
- // $topbar-bg: $topbar-bg-color;
1137
-
1138
- // Height and margin
1139
- // $topbar-height: 45px;
1140
- // $topbar-margin-bottom: 0;
1141
-
1142
- // Controlling the styles for the title in the top bar
1143
- // $topbar-title-weight: normal;
1144
- // $topbar-title-font-size: rem-calc(17);
1145
-
1146
- // Style the top bar dropdown elements
1147
- // $topbar-dropdown-bg: #333;
1148
- // $topbar-dropdown-link-color: #fff;
1149
- // $topbar-dropdown-link-bg: #333;
1150
- // $topbar-dropdown-link-weight: normal;
1151
- // $topbar-dropdown-toggle-size: 5px;
1152
- // $topbar-dropdown-toggle-color: #fff;
1153
- // $topbar-dropdown-toggle-alpha: 0.4;
1154
-
1155
- // Set the link colors and styles for top-level nav
1156
- // $topbar-link-color: #fff;
1157
- // $topbar-link-color-hover: #fff;
1158
- // $topbar-link-color-active: #fff;
1159
- // $topbar-link-color-active-hover: #fff;
1160
- // $topbar-link-weight: normal;
1161
- // $topbar-link-font-size: rem-calc(13);
1162
- // $topbar-link-hover-lightness: -10%; // Darken by 10%
1163
- // $topbar-link-bg-hover: #272727;
1164
- // $topbar-link-bg-active: $primary-color;
1165
- // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
1166
- // $topbar-link-font-family: $body-font-family;
1167
- // $topbar-link-text-transform: none;
1168
- // $topbar-link-padding: $topbar-height / 3;
1169
-
1170
- // $topbar-button-font-size: 0.75rem;
1171
- // $topbar-button-top: 7px;
1172
-
1173
- // $topbar-dropdown-label-color: #777;
1174
- // $topbar-dropdown-label-text-transform: uppercase;
1175
- // $topbar-dropdown-label-font-weight: bold;
1176
- // $topbar-dropdown-label-font-size: rem-calc(10);
1177
- // $topbar-dropdown-label-bg: #333;
1178
-
1179
- // Top menu icon styles
1180
- // $topbar-menu-link-transform: uppercase;
1181
- // $topbar-menu-link-font-size: rem-calc(13);
1182
- // $topbar-menu-link-weight: bold;
1183
- // $topbar-menu-link-color: #fff;
1184
- // $topbar-menu-icon-color: #fff;
1185
- // $topbar-menu-link-color-toggled: #888;
1186
- // $topbar-menu-icon-color-toggled: #888;
1187
-
1188
- // Transitions and breakpoint styles
1189
- // $topbar-transition-speed: 300ms;
1190
- // Using rem-calc for the below breakpoint causes issues with top bar
1191
- // $topbar-breakpoint: #{upper-bound($medium-range)}; // Change to 9999px for always mobile layout
1192
- // $topbar-media-query: "only screen and (min-width: #{upper-bound($medium-range)})";
1193
-
1194
- // Divider Styles
1195
- // $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
1196
- // $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%);
1197
-
1198
- // Sticky Class
1199
- // $topbar-sticky-class: ".sticky";
1200
- // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
1201
-
1202
- //
1203
- // VISIBILITY CLASSES
1204
- //
1205
-
1206
- // $include-html-visibility-classes: $include-html-classes;
1207
- // $include-table-visibility-classes: true;
1208
- // $include-legacy-visibility-classes: true;
1209
-
1210
- //
1211
- // RANGE SLIDER
1212
- //
1213
-
1214
- // $include-html-range-slider-classes: $include-html-classes;
1215
-
1216
- // These variabels define the slider bar styles
1217
- // $range-slider-bar-width: 100%;
1218
- // $range-slider-bar-height: rem-calc(16);
1219
-
1220
- // $range-slider-bar-border-width: 1px;
1221
- // $range-slider-bar-border-style: solid;
1222
- // $range-slider-bar-border-color: #ddd;
1223
- // $range-slider-radius: $global-radius;
1224
- // $range-slider-round: $global-rounded;
1225
- // $range-slider-bar-bg-color: #fafafa;
1226
-
1227
- // Vertical bar styles
1228
- // $range-slider-vertical-bar-width: rem-calc(16);
1229
- // $range-slider-vertical-bar-height: rem-calc(200);
1230
-
1231
- // These variabels define the slider handle styles
1232
- // $range-slider-handle-width: rem-calc(32);
1233
- // $range-slider-handle-height: rem-calc(22);
1234
- // $range-slider-handle-position-top: rem-calc(-5);
1235
- // $range-slider-handle-bg-color: $primary-color;
1236
- // $range-slider-handle-border-width: 1px;
1237
- // $range-slider-handle-border-style: solid;
1238
- // $range-slider-handle-border-color: none;
1239
- // $range-slider-handle-radius: $global-radius;
1240
- // $range-slider-handle-round: $global-rounded;
1241
- // $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
1242
- // $range-slider-handle-cursor: pointer;
1243
-
1244
- $text-direction: ltr;
1245
- $include-html-classes: true;
1246
- $fieldset-border-color: #eee;
1247
- $fieldset-padding: emCalc(20px) emCalc(30px) emCalc(10px);
1248
- $alert-close-color: #fff;
1249
- $alert-close-position: emCalc(12px);
1250
- $section-function-factor: 5%;
1251
- $section-title-bg: #f5f5f5;
1252
- $section-border-color: #dfdfdf;
1253
- $topbar-margin-bottom: 0;
1254
- $topbar-breakpoint: emCalc(768px); // Change to 9999px for always mobile layout
1255
- $topbar-bg: $headerbg;
1256
- $topbar-dropdown-toggle-alpha: 0.4;
1257
-
1258
- @import 'foundation';