summaryrefslogtreecommitdiff
path: root/source/bower_components/foundation/scss/foundation/components/_pricing-tables.scss
blob: 97b14c444c176169d87d7b5690ea5a215de6d09a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// Foundation by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

@import "global";

//
// @variables
//
$include-html-pricing-classes: $include-html-classes !default;

// We use this to control the border color
$price-table-border: solid 1px $gainsboro !default;

// We use this to control the bottom margin of the pricing table
$price-table-margin-bottom: rem-calc(20) !default;

// We use these to control the title styles
$price-title-bg: $oil !default;
$price-title-padding: rem-calc(15 20) !default;
$price-title-align: center !default;
$price-title-color: $smoke !default;
$price-title-weight: $font-weight-normal !default;
$price-title-size: rem-calc(16) !default;
$price-title-font-family: $body-font-family !default;

// We use these to control the price styles
$price-money-bg: $vapor !default;
$price-money-padding: rem-calc(15 20) !default;
$price-money-align: center !default;
$price-money-color: $oil !default;
$price-money-weight: $font-weight-normal !default;
$price-money-size: rem-calc(32) !default;
$price-money-font-family: $body-font-family !default;


// We use these to control the description styles
$price-bg: $white !default;
$price-desc-color: $monsoon !default;
$price-desc-padding: rem-calc(15) !default;
$price-desc-align: center !default;
$price-desc-font-size: rem-calc(12) !default;
$price-desc-weight: $font-weight-normal !default;
$price-desc-line-height: 1.4 !default;
$price-desc-bottom-border: dotted 1px $gainsboro !default;

// We use these to control the list item styles
$price-item-color: $oil !default;
$price-item-padding: rem-calc(15) !default;
$price-item-align: center !default;
$price-item-font-size: rem-calc(14) !default;
$price-item-weight: $font-weight-normal !default;
$price-item-bottom-border: dotted 1px $gainsboro !default;

// We use these to control the CTA area styles
$price-cta-bg: $white !default;
$price-cta-align: center !default;
$price-cta-padding: rem-calc(20 20 0) !default;

// @mixins
//
// We use this to create the container element for the pricing tables
@mixin pricing-table-container {
  border: $price-table-border;
  margin-#{$default-float}: 0;
  margin-bottom: $price-table-margin-bottom;

  & * {
    list-style: none;
    line-height: 1;
  }
}
// @mixins
//
// We use this mixin to create the pricing table title styles
@mixin pricing-table-title {
  background-color: $price-title-bg;
  padding: $price-title-padding;
  text-align: $price-title-align;
  color: $price-title-color;
  font-weight: $price-title-weight;
  font-size: $price-title-size;
  font-family: $price-title-font-family;
}

// @mixins
//
// We use this mixin to control the pricing table price styles
@mixin pricing-table-price {
  background-color: $price-money-bg;
  padding: $price-money-padding;
  text-align: $price-money-align;
  color: $price-money-color;
  font-weight: $price-money-weight;
  font-size: $price-money-size;
  font-family: $price-money-font-family;
}

// @mixins
//
// We use this mixin to create the description styles for the pricing table
@mixin pricing-table-description {
  background-color: $price-bg;
  padding: $price-desc-padding;
  text-align: $price-desc-align;
  color: $price-desc-color;
  font-size: $price-desc-font-size;
  font-weight: $price-desc-weight;
  line-height: $price-desc-line-height;
  border-bottom: $price-desc-bottom-border;
}

// @mixins
//
// We use this mixin to style the bullet items in the pricing table
@mixin pricing-table-bullet {
  background-color: $price-bg;
  padding: $price-item-padding;
  text-align: $price-item-align;
  color: $price-item-color;
  font-size: $price-item-font-size;
  font-weight: $price-item-weight;
  border-bottom: $price-item-bottom-border;
}

// @mixins
//
// We use this mixin to style the CTA area of the pricing tables
@mixin pricing-table-cta {
  background-color: $price-cta-bg;
  text-align: $price-cta-align;
  padding: $price-cta-padding;
}

@include exports("pricing-table") {
  @if $include-html-pricing-classes {

    /* Pricing Tables */
    .pricing-table {
      @include pricing-table-container;

      .title { @include pricing-table-title; }
      .price { @include pricing-table-price; }
      .description { @include pricing-table-description; }
      .bullet-item { @include pricing-table-bullet; }
      .cta-button { @include pricing-table-cta; }
    }

  }
}