ama_css 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  @import "neat-helpers";
2
2
  //$visual-grid:true;
3
- $mobile: new-breakpoint(max-width 768px 6);
3
+ $mobile: new-breakpoint(max-width 767px 6);
4
+ $tablet: new-breakpoint(min-width 768px max-width 860px 12);
4
5
  $smalldesk: new-breakpoint(max-width 1099px 12);
5
6
  $landscape: new-breakpoint(orientation landscape);
6
7
  // Change the grid settings
@@ -9,11 +9,11 @@ $base-vertical-margin: .5em 0 1em;
9
9
  $base-vertical-padding: .5em 0 1em;
10
10
  $base-padding: 20px;
11
11
  $base-margin: 20px;
12
- $base-border-thickness: 1px;
13
12
  $col-width: 60px;
14
13
  $col-margin: $base-margin;
15
- $box-radius-small: 2px;
14
+ $box-radius-small: 3px;
16
15
  $box-radius-big: 5px;
16
+ $box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
17
17
  $gridcols: 12;
18
18
  $margin-vertical: 0 $base-margin;
19
19
 
@@ -21,7 +21,7 @@ $margin-vertical: 0 $base-margin;
21
21
  // THEME
22
22
  // --------------------------------------------------
23
23
  $color-ama-red: #BB0B0E;
24
- $color-ama-blue: #0F3C62;
24
+ $color-ama-blue: #00205b;
25
25
  $color-primary: $color-ama-blue; /*blue*/
26
26
  $color-secondary-a: $color-ama-red; /*red*/
27
27
  $color-secondary-b: #A3B219; /*olive*/
@@ -48,6 +48,9 @@ $color-alert-bg: lighten($color-text-alert,50);
48
48
  $color-text-callout: $color-medium;
49
49
  $color-text-highlight: invert($color-primary);
50
50
 
51
+ $base-border-thickness: 1px;
52
+ $border: $base-border-thickness $color-light solid;
53
+
51
54
  $text-small:.84em;
52
55
 
53
56
  @mixin boxRadius($size){
@@ -8,11 +8,11 @@
8
8
 
9
9
  @font-face {
10
10
  font-family: "SSSymbolicons";
11
- src: url('/webfonts/ss-symbolicons-block.eot');
12
- src: url('/webfonts/ss-symbolicons-block.eot?#iefix') format('embedded-opentype'),
13
- url('/webfonts/ss-symbolicons-block.woff') format('woff'),
14
- url('/webfonts/ss-symbolicons-block.ttf') format('truetype'),
15
- url('/webfonts/ss-symbolicons-block.svg#SSSymboliconsBlock') format('svg');
11
+ src: font-url('ss-symbolicons-block.eot');
12
+ src: font-url('ss-symbolicons-block.eot?#iefix') format('embedded-opentype'),
13
+ font-url('ss-symbolicons-block.woff') format('woff'),
14
+ font-url('ss-symbolicons-block.ttf') format('truetype'),
15
+ font-url('ss-symbolicons-block.svg#SSSymboliconsBlock') format('svg');
16
16
  font-weight: normal;
17
17
  font-style: normal;
18
18
  }
@@ -125,6 +125,12 @@
125
125
  %margin-all{
126
126
  margin:$base-margin;
127
127
  }
128
+
129
+ .vertical-padding{
130
+ padding-top: $base-padding;
131
+ padding-bottom: $base-padding;
132
+ }
133
+
128
134
  .omega{
129
135
  /*last col*/
130
136
  @include omega;
@@ -63,7 +63,7 @@ label.collection_radio_buttons, label.inline {
63
63
  }
64
64
 
65
65
  /* buttons */
66
- button, .button{
66
+ button, .button, .button-pill{
67
67
  @extend %boxRadius-small;
68
68
  border: 0;
69
69
  padding: $base-padding/2;
@@ -76,7 +76,8 @@ button, .button{
76
76
  }
77
77
  }
78
78
 
79
- .button:active, .button:focus{
79
+ button:active, .button:active, .button-pill:active,
80
+ button:focus, .button:focus, .button-pill:focus{
80
81
  background:#333;
81
82
  color:$color-white;
82
83
  @include media($mobile) {
@@ -84,6 +85,15 @@ button, .button{
84
85
  }
85
86
  }
86
87
 
88
+ a.button, a.button-pill{
89
+ color:$color-white;
90
+ text-decoration: none;
91
+ }
92
+
93
+ .button-pill{
94
+ padding:$base-padding/5 $base-padding;
95
+ }
96
+
87
97
  .button-danger{
88
98
  @extend %bg-red;
89
99
  @include button-coloring($color-red);
@@ -110,8 +120,15 @@ button, .button{
110
120
  font-size:.9em;
111
121
  }
112
122
 
113
- .button a, .button li{
123
+ button a:link,
124
+ button a:active,
125
+ button a:visited,
126
+ .button a:link,
127
+ .button a:active,
128
+ .button a:visited,
129
+ .button li{
114
130
  color: $color-white;
131
+ text-decoration: none;
115
132
  }
116
133
 
117
134
  /* inputs/form elements */
@@ -27,7 +27,7 @@
27
27
  @extend .box;
28
28
  }
29
29
  .widget.outline{
30
- border: $color-border $base-border-thickness solid;
30
+ border: $border;
31
31
  padding:0;
32
32
  overflow:hidden;
33
33
  h4{
@@ -88,8 +88,8 @@
88
88
  display:none;
89
89
  }
90
90
  .resetpw{
91
- display:inline-block;
92
- padding-bottom:$base-padding/2;
91
+ display:inline-block;
92
+ padding-bottom:$base-padding/2;
93
93
  }
94
94
  .login-hybrid .control span{
95
95
  margin-right: 30px;
@@ -117,8 +117,13 @@
117
117
  }
118
118
  .applogo{
119
119
  @include clearfix();
120
- a{ text-decoration:none;}
121
- h2{ font-size:1.2em; margin:$base-margin/2 0;}
120
+ a{
121
+ text-decoration:none;
122
+ }
123
+ h2{
124
+ font-size:1.2em;
125
+ margin:$base-margin/2 0;
126
+ }
122
127
  }
123
128
  .waiting{
124
129
  margin:$base-margin 0;
@@ -344,10 +349,43 @@ p.notice_notification:before { @include notification-icon('\263B'); }
344
349
 
345
350
  /* Member info */
346
351
  ul.member-info {
347
- margin-left:0;
348
352
  li {
349
353
  list-style:none;
350
354
  margin:0;
355
+ }
356
+ &.right{
357
+ text-align:right;
358
+ }
359
+ }
360
+
361
+ .reward_dollars, .ebills {
362
+ margin: 7px;
363
+ }
364
+ /*Member info card in gatekeeper*/
365
+ .card{
366
+ @include boxRadius(small);
367
+ width:30%;
368
+ border:$border;
369
+ margin:0 auto $base-margin*1.5;
370
+ padding-top:$base-padding/2;
371
+ box-shadow: $box-shadow;
372
+ li{
351
373
  padding:0;
352
374
  }
375
+ .action-footer{
376
+ background-color: $color-superlight;
377
+ border-top: $border;
378
+ margin-top:$base-margin/2;
379
+ a{
380
+ padding: $base-padding/2 $base-padding;
381
+ display: inline-block;
382
+ &:first-child{
383
+ border-right: $border;
384
+ }
385
+ }
386
+ }
387
+ }
388
+ .app-logged-in {
389
+ font-size: .75em;
390
+ line-height: 0;
353
391
  }
@@ -1,3 +1,3 @@
1
1
  module AmaCss
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darko Dosenovic
8
+ - Michael van den Beuken
9
+ - Ruben Estevez
10
+ - Jordan Babe
11
+ - Mathieu Gilbert
12
+ - Ryan Jones
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
- date: 2014-01-10 00:00:00.000000000 Z
16
+ date: 2014-08-21 00:00:00.000000000 Z
12
17
  dependencies:
13
18
  - !ruby/object:Gem::Dependency
14
19
  name: bundler
@@ -70,6 +75,11 @@ description: "[\"This gem has been created to standardized use of css files for
70
75
  AMA applications.\"]"
71
76
  email:
72
77
  - darko.dosenovic@ama.ab.ca
78
+ - michael.beuken@gmail.com
79
+ - ruben.a.estevez@gmail.com
80
+ - jorbabe@gmail.com
81
+ - mathieu.gilbert@ama.ab.ca
82
+ - ryan.michael.jones@gmail.com
73
83
  executables: []
74
84
  extensions: []
75
85
  extra_rdoc_files: []
@@ -81,6 +91,10 @@ files:
81
91
  - README.md
82
92
  - Rakefile
83
93
  - ama_css.gemspec
94
+ - app/assets/fonts/ss-symbolicons-block.eot
95
+ - app/assets/fonts/ss-symbolicons-block.svg
96
+ - app/assets/fonts/ss-symbolicons-block.ttf
97
+ - app/assets/fonts/ss-symbolicons-block.woff
84
98
  - app/assets/images/foundation/ama_logo.png
85
99
  - app/assets/images/foundation/bkg-utility-bar.gif
86
100
  - app/assets/images/foundation/btn-search.gif
@@ -129,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
143
  version: '0'
130
144
  requirements: []
131
145
  rubyforge_project:
132
- rubygems_version: 2.2.0
146
+ rubygems_version: 2.4.1
133
147
  signing_key:
134
148
  specification_version: 4
135
149
  summary: "[\"CSS used by AMA apps\"]"