rails-angular-material 0.8.3.1 → 0.8.3.2

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.
@@ -4,6 +4,7 @@
4
4
  * @license MIT
5
5
  * v0.8.3
6
6
  */
7
+ @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic);
7
8
  html, body {
8
9
  height: 100%;
9
10
  color: rgba(0, 0, 0, 0.87);
@@ -20,6 +21,14 @@ body {
20
21
  .inset {
21
22
  padding: 10px; }
22
23
 
24
+ button.md-no-style {
25
+ font-weight: normal;
26
+ background-color: inherit;
27
+ text-align: left;
28
+ border: none;
29
+ padding: 0px;
30
+ margin: 0px; }
31
+
23
32
  select, button, textarea, input {
24
33
  vertical-align: baseline; }
25
34
 
@@ -111,6 +120,17 @@ ul {
111
120
  .md-ripple.md-ripple-active, .md-ripple.md-ripple-full, .md-ripple.md-ripple-visible {
112
121
  opacity: 0.2; }
113
122
 
123
+ .md-padding {
124
+ padding: 8px; }
125
+
126
+ .md-margin {
127
+ margin: 8px; }
128
+
129
+ @media (min-width: 600px) {
130
+ .md-padding {
131
+ padding: 16px; }
132
+ }
133
+
114
134
  html {
115
135
  font-size: 62.5%;
116
136
  line-height: 1.4; }
@@ -2998,10 +3018,9 @@ md-backdrop {
2998
3018
  z-index: 50;
2999
3019
  background-color: rgba(0, 0, 0, 0);
3000
3020
  position: absolute;
3021
+ height: 100%;
3001
3022
  left: 0;
3002
- top: 0;
3003
- right: 0;
3004
- bottom: 0; }
3023
+ right: 0; }
3005
3024
  md-backdrop.md-select-backdrop {
3006
3025
  z-index: 81; }
3007
3026
  md-backdrop.md-dialog-backdrop {
@@ -3094,6 +3113,7 @@ md-bottom-sheet {
3094
3113
  md-bottom-sheet md-item:hover {
3095
3114
  cursor: pointer; }
3096
3115
  md-bottom-sheet.md-list md-item {
3116
+ padding: 0;
3097
3117
  -webkit-align-items: center;
3098
3118
  -ms-flex-align: center;
3099
3119
  align-items: center;
@@ -3224,6 +3244,7 @@ md-bottom-sheet {
3224
3244
  line-height: 3.6rem;
3225
3245
  background: transparent;
3226
3246
  white-space: nowrap;
3247
+ min-width: 8.8rem;
3227
3248
  text-align: center;
3228
3249
  text-transform: uppercase;
3229
3250
  font-weight: 500;
@@ -3248,11 +3269,15 @@ md-bottom-sheet {
3248
3269
  .md-button.md-icon {
3249
3270
  padding: 0;
3250
3271
  background: none; }
3251
- .md-button:not(.md-fab) {
3252
- min-width: 8.8rem; }
3272
+ .md-button.md-icon-button {
3273
+ margin: 0 0.6rem;
3274
+ height: 4.8rem;
3275
+ min-width: 0;
3276
+ width: 4.8rem; }
3253
3277
  .md-button.md-fab {
3254
3278
  z-index: 20;
3255
3279
  line-height: 5.6rem;
3280
+ min-width: 0;
3256
3281
  width: 5.6rem;
3257
3282
  height: 5.6rem;
3258
3283
  vertical-align: middle;
@@ -3449,35 +3474,39 @@ md-checkbox {
3449
3474
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26);
3450
3475
  display: block;
3451
3476
  font-family: RobotoDraft, Roboto, 'Helvetica Neue', sans-serif;
3452
- font-size: 13px;
3453
- padding: 8px;
3477
+ font-size: 1.3rem;
3478
+ padding: 0.8rem;
3454
3479
  vertical-align: middle; }
3455
3480
  .md-chips .md-chip {
3456
- border-radius: 11px;
3457
- box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26);
3481
+ border-radius: 1.1rem;
3458
3482
  display: inline-block;
3459
- height: 22px;
3460
- margin: 0 0 0 8px;
3461
- line-height: 22px;
3462
- padding: 0 8px 0 8px;
3463
- -webkit-transform: translate3d(0, 0, 0);
3464
- transform: translate3d(0, 0, 0); }
3483
+ height: 2.2rem;
3484
+ margin: 0 0 0 0.8rem;
3485
+ line-height: 2.2rem;
3486
+ padding: 0 0.8rem 0 0.8rem; }
3465
3487
  .md-chips .md-chip:first-child {
3466
3488
  margin: 0; }
3467
- .md-chips .md-chip.selected {
3489
+ .md-chips .md-chip.selected, .md-chips .md-chip:focus {
3490
+ outline: none;
3468
3491
  -webkit-transform: translate3d(0, -1px, 0);
3469
- transform: translate3d(0, -1px, 0); }
3492
+ transform: translate3d(0, -1px, 0);
3493
+ box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26); }
3470
3494
  .md-chips .md-chip .md-button {
3471
- padding: 2px; }
3495
+ padding: 0.2rem;
3496
+ line-height: 1.8rem;
3497
+ min-width: 0;
3498
+ margin: 0 0 0 0.5em; }
3499
+ .md-chips .md-chip .md-button md-icon {
3500
+ height: 1.6rem;
3501
+ width: 1.6rem; }
3472
3502
  .md-chips .md-chip-worker {
3473
3503
  display: inline-block;
3474
- line-height: 25px;
3475
- /* 3px are added to height of chip for...the shadow? */ }
3504
+ line-height: 2.2rem; }
3476
3505
  .md-chips .md-chip-worker:not(:first-child) {
3477
- margin: 0 0 0 8px; }
3506
+ margin: 0 0 0 0.8rem; }
3478
3507
  .md-chips .md-chip-input {
3479
3508
  background-color: transparent;
3480
- border-width: 0px; }
3509
+ border-width: 0; }
3481
3510
 
3482
3511
  md-content {
3483
3512
  display: block;
@@ -3782,55 +3811,130 @@ md-input-container {
3782
3811
  }
3783
3812
 
3784
3813
  md-list {
3814
+ display: block;
3785
3815
  padding: 8px 0px 8px 0px; }
3816
+ md-list .md-subheader {
3817
+ font-weight: 500;
3818
+ font-size: 0.875em; }
3819
+
3820
+ md-item.md-no-proxy, md-item .md-no-style {
3821
+ position: relative;
3822
+ padding: 0px 16px;
3823
+ -webkit-flex: 1;
3824
+ -ms-flex: 1;
3825
+ flex: 1; }
3826
+ md-item.md-no-proxy:focus, md-item .md-no-style:focus {
3827
+ outline: none; }
3828
+ md-item.md-with-secondary {
3829
+ padding-right: 16px; }
3830
+ md-item.md-clickable:hover {
3831
+ cursor: pointer; }
3832
+ md-item md-divider {
3833
+ position: absolute;
3834
+ bottom: 0px;
3835
+ left: 0px;
3836
+ width: 100%; }
3837
+ md-item md-divider[md-inset] {
3838
+ left: 96px;
3839
+ width: calc(100% - 96px);
3840
+ margin: 0; }
3786
3841
 
3787
- md-item-content {
3842
+ md-item, md-item .md-item-inner {
3788
3843
  display: -webkit-flex;
3789
3844
  display: -ms-flexbox;
3790
3845
  display: flex;
3846
+ -webkit-justify-content: flex-start;
3847
+ -ms-flex-pack: start;
3848
+ justify-content: flex-start;
3791
3849
  -webkit-align-items: center;
3792
3850
  -ms-flex-align: center;
3793
- align-items: center;
3794
- -webkit-flex-direction: row;
3795
- -ms-flex-direction: row;
3796
- flex-direction: row;
3797
- box-sizing: border-box;
3798
- position: relative;
3799
- padding: 0px 0px 0px 0px; }
3800
-
3801
- /**
3802
- * The left tile for a list item.
3803
- */
3804
- .md-tile-left {
3805
- min-width: 56px;
3806
- margin-right: -16px; }
3851
+ align-items: center; }
3852
+ md-item > div.md-primary > md-icon, md-item > div.md-secondary > md-icon, md-item > md-icon:first-child, md-item > md-icon.md-secondary, md-item .md-item-inner > div.md-primary > md-icon, md-item .md-item-inner > div.md-secondary > md-icon, md-item .md-item-inner > md-icon:first-child, md-item .md-item-inner > md-icon.md-secondary {
3853
+ width: 24px;
3854
+ margin-top: 12px;
3855
+ margin-bottom: 12px;
3856
+ box-sizing: content-box; }
3857
+ md-item > div.md-primary > md-icon:focus, md-item > div.md-secondary > md-icon:focus, md-item > md-icon:first-child:focus, md-item > md-icon.md-secondary:focus, md-item .md-item-inner > div.md-primary > md-icon:focus, md-item .md-item-inner > div.md-secondary > md-icon:focus, md-item .md-item-inner > md-icon:first-child:focus, md-item .md-item-inner > md-icon.md-secondary:focus {
3858
+ border-radius: 2px;
3859
+ outline: none;
3860
+ padding: 6px;
3861
+ margin-top: 6px;
3862
+ margin-bottom: 6px; }
3863
+ md-item > div.md-primary > md-checkbox, md-item > div.md-secondary > md-checkbox, md-item > md-checkbox:first-child, md-item md-checkbox.md-secondary, md-item .md-item-inner > div.md-primary > md-checkbox, md-item .md-item-inner > div.md-secondary > md-checkbox, md-item .md-item-inner > md-checkbox:first-child, md-item .md-item-inner md-checkbox.md-secondary {
3864
+ position: relative;
3865
+ top: -2px;
3866
+ margin-top: 14px;
3867
+ margin-bottom: 12px; }
3868
+ md-item > div.md-primary > md-checkbox .md-label, md-item > div.md-secondary > md-checkbox .md-label, md-item > md-checkbox:first-child .md-label, md-item md-checkbox.md-secondary .md-label, md-item .md-item-inner > div.md-primary > md-checkbox .md-label, md-item .md-item-inner > div.md-secondary > md-checkbox .md-label, md-item .md-item-inner > md-checkbox:first-child .md-label, md-item .md-item-inner md-checkbox.md-secondary .md-label {
3869
+ display: none; }
3870
+ md-item > div.md-primary > md-checkbox:not(md-checkbox:first-child):focus, md-item > div.md-secondary > md-checkbox:not(md-checkbox:first-child):focus, md-item > md-checkbox:first-child:not(md-checkbox:first-child):focus, md-item md-checkbox.md-secondary:not(md-checkbox:first-child):focus, md-item .md-item-inner > div.md-primary > md-checkbox:not(md-checkbox:first-child):focus, md-item .md-item-inner > div.md-secondary > md-checkbox:not(md-checkbox:first-child):focus, md-item .md-item-inner > md-checkbox:first-child:not(md-checkbox:first-child):focus, md-item .md-item-inner md-checkbox.md-secondary:not(md-checkbox:first-child):focus {
3871
+ padding: 6px;
3872
+ margin-right: -6px;
3873
+ margin-top: 8px;
3874
+ margin-bottom: 6px; }
3875
+ md-item > md-icon:first-child, md-item .md-item-inner > md-icon:first-child {
3876
+ margin-right: 32px; }
3877
+ md-item > md-checkbox:first-child, md-item .md-item-inner > md-checkbox:first-child {
3878
+ width: 24px;
3879
+ margin-left: 3px;
3880
+ margin-right: 29px; }
3881
+ md-item > .md-avatar:first-child, md-item .md-item-inner > .md-avatar:first-child {
3882
+ width: 40px;
3883
+ height: 40px;
3884
+ margin-top: 8px;
3885
+ margin-bottom: 8px;
3886
+ margin-right: 16px;
3887
+ border-radius: 50%;
3888
+ box-sizing: content-box; }
3889
+ md-item md-checkbox.md-secondary, md-item .md-item-inner md-checkbox.md-secondary {
3890
+ margin-right: 0px; }
3891
+ md-item md-switch.md-secondary, md-item .md-item-inner md-switch.md-secondary {
3892
+ margin: 0;
3893
+ position: relative;
3894
+ right: -9px; }
3895
+ md-item .md-secondary, md-item .md-item-inner .md-secondary {
3896
+ margin-left: 16px; }
3897
+ md-item > p, md-item > .md-item-inner > p, md-item .md-item-inner > p, md-item .md-item-inner > .md-item-inner > p {
3898
+ -webkit-flex: 1;
3899
+ -ms-flex: 1;
3900
+ flex: 1;
3901
+ margin: 0; }
3807
3902
 
3808
- /**
3809
- * The center content tile for a list item.
3810
- */
3811
- .md-tile-content {
3903
+ md-item.md-2-line, md-item.md-2-line > .md-no-style, md-item.md-3-line, md-item.md-3-line > .md-no-style {
3904
+ -webkit-align-items: flex-start;
3905
+ -ms-flex-align: start;
3906
+ align-items: flex-start; }
3907
+ md-item.md-2-line .md-item-text, md-item.md-2-line > .md-no-style .md-item-text, md-item.md-3-line .md-item-text, md-item.md-3-line > .md-no-style .md-item-text {
3908
+ -webkit-flex: 1;
3909
+ -ms-flex: 1;
3910
+ flex: 1;
3911
+ padding: 16px 0;
3912
+ text-overflow: ellipsis; }
3913
+ md-item.md-2-line .md-item-text h3, md-item.md-2-line > .md-no-style .md-item-text h3, md-item.md-3-line .md-item-text h3, md-item.md-3-line > .md-no-style .md-item-text h3 {
3914
+ margin: 0 0 6px 0;
3915
+ font-weight: 400;
3916
+ font-size: 1em;
3917
+ line-height: 0.75em; }
3918
+ md-item.md-2-line .md-item-text h4, md-item.md-2-line > .md-no-style .md-item-text h4, md-item.md-3-line .md-item-text h4, md-item.md-3-line > .md-no-style .md-item-text h4 {
3919
+ margin: 10px 0 5px 0;
3920
+ font-weight: 400;
3921
+ font-size: 0.875em;
3922
+ line-height: 0.75em; }
3923
+ md-item.md-2-line .md-item-text p, md-item.md-2-line > .md-no-style .md-item-text p, md-item.md-3-line .md-item-text p, md-item.md-3-line > .md-no-style .md-item-text p {
3924
+ margin: 0 0 0px 0;
3925
+ font-size: 0.75em;
3926
+ line-height: 1.6em; }
3927
+
3928
+ md-item.md-2-line > md-icon:first-child, md-item.md-2-line > .md-avatar:first-child, md-item.md-2-line > .md-no-style > md-icon:first-child, md-item.md-2-line > .md-no-style > .md-avatar:first-child {
3929
+ margin-top: 12px; }
3930
+ md-item.md-2-line .md-item-text, md-item.md-2-line > .md-no-style .md-item-text {
3812
3931
  -webkit-flex: 1;
3813
3932
  -ms-flex: 1;
3814
3933
  flex: 1;
3815
- padding: 16px;
3816
- text-overflow: ellipsis; }
3817
- .md-tile-content h3 {
3818
- margin: 0 0 3px 0;
3819
- font-weight: 400;
3820
- font-size: 1.1em; }
3821
- .md-tile-content h4 {
3822
- margin: 0 0 3px 0;
3823
- font-weight: 400;
3824
- font-size: 0.9em; }
3825
- .md-tile-content p {
3826
- margin: 0 0 3px 0;
3827
- font-size: 0.75em; }
3934
+ padding-top: 19px; }
3828
3935
 
3829
- /**
3830
- * The right tile for a list item.
3831
- */
3832
- .md-tile-right {
3833
- padding-right: 0px; }
3936
+ md-item.md-3-line > md-icon:first-child, md-item.md-3-line > .md-avatar:first-child, md-item.md-3-line > .md-no-style > md-icon:first-child, md-item.md-3-line > .md-no-style > .md-avatar:first-child {
3937
+ margin-top: 16px; }
3834
3938
 
3835
3939
  @-webkit-keyframes outer-rotate {
3836
3940
  100% {
@@ -5580,9 +5684,16 @@ md-radio-group {
5580
5684
  transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
5581
5685
  transition-duration: 250ms; }
5582
5686
 
5687
+ md-input-container > md-select {
5688
+ margin: 0;
5689
+ margin-top: 1.4em; }
5690
+
5583
5691
  md-select {
5584
5692
  display: inline-block;
5585
- margin-top: 1.4em; }
5693
+ margin-top: 1.5em;
5694
+ margin-bottom: 1.625em;
5695
+ margin-left: 2px;
5696
+ margin-right: 2px; }
5586
5697
  md-select:focus {
5587
5698
  outline: none; }
5588
5699
  md-select[disabled]:hover {
@@ -6175,7 +6286,8 @@ md-tabs {
6175
6286
  margin: 0;
6176
6287
  border-radius: 2px;
6177
6288
  overflow: hidden;
6178
- position: relative; }
6289
+ position: relative;
6290
+ transition: height 0.5s cubic-bezier(0.35, 0, 0.25, 1); }
6179
6291
  md-tabs:not(.md-no-tab-content) {
6180
6292
  min-height: 248px; }
6181
6293
  md-tabs[md-align-tabs="bottom"] {
@@ -6294,11 +6406,20 @@ md-tabs {
6294
6406
  display: block;
6295
6407
  transition: left 0.5s cubic-bezier(0.35, 0, 0.25, 1);
6296
6408
  position: relative;
6297
- width: 999999px; }
6409
+ width: 999999px;
6410
+ left: 0;
6411
+ -webkit-transform: translate3d(0, 0, 0);
6412
+ transform: translate3d(0, 0, 0); }
6298
6413
  md-tabs md-tabs-wrapper md-pagination-wrapper:after {
6299
6414
  content: '';
6300
6415
  display: table;
6301
6416
  clear: both; }
6417
+ md-tabs md-tabs-wrapper md-pagination-wrapper.md-center-tabs {
6418
+ width: initial;
6419
+ float: left;
6420
+ left: 50%;
6421
+ -webkit-transform: translate3d(-50%, 0, 0);
6422
+ transform: translate3d(-50%, 0, 0); }
6302
6423
  md-tabs md-tabs-wrapper.md-stretch-tabs md-pagination-wrapper {
6303
6424
  width: 100%;
6304
6425
  display: -webkit-flex;
@@ -6330,7 +6451,11 @@ md-tabs {
6330
6451
  -webkit-transform: translateX(0);
6331
6452
  transform: translateX(0);
6332
6453
  transition: -webkit-transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
6333
- transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1); }
6454
+ transition: transform 0.5s cubic-bezier(0.35, 0, 0.25, 1);
6455
+ overflow: auto; }
6456
+ md-tabs md-tabs-content-wrapper md-tab-content.md-no-scroll {
6457
+ bottom: auto;
6458
+ overflow: hidden; }
6334
6459
  md-tabs md-tabs-content-wrapper md-tab-content.ng-leave, md-tabs md-tabs-content-wrapper md-tab-content.md-no-transition {
6335
6460
  transition: none; }
6336
6461
  md-tabs md-tabs-content-wrapper md-tab-content.md-left {
@@ -6457,7 +6582,7 @@ md-toast {
6457
6582
  border-radius: 2px;
6458
6583
  font-size: 14px;
6459
6584
  cursor: default;
6460
- max-width: 879px;
6585
+ max-width: 100%;
6461
6586
  max-height: 40px;
6462
6587
  height: 24px;
6463
6588
  z-index: 90;
@@ -6502,6 +6627,8 @@ md-toast {
6502
6627
  cursor: pointer;
6503
6628
  text-transform: uppercase;
6504
6629
  float: right; }
6630
+ md-toast .md-action.md-button {
6631
+ min-width: 0; }
6505
6632
 
6506
6633
  @media (max-width: 600px) {
6507
6634
  md-toast {
@@ -6520,7 +6647,7 @@ md-toast {
6520
6647
  @media (min-width: 600px) {
6521
6648
  md-toast {
6522
6649
  min-width: 288px;
6523
- /*
6650
+ /*
6524
6651
  * When the toast doesn't take up the whole screen,
6525
6652
  * make it rotate when the user swipes it away
6526
6653
  */ }
@@ -6546,6 +6673,11 @@ md-toast {
6546
6673
  transform: translate3d(100%, 0, 0) rotateZ(15deg); }
6547
6674
  }
6548
6675
 
6676
+ @media (min-width: 1200px) {
6677
+ md-toast {
6678
+ max-width: 568px; }
6679
+ }
6680
+
6549
6681
  @media screen and (-ms-high-contrast: active) {
6550
6682
  md-toast {
6551
6683
  border: 1px solid #fff; }
@@ -6613,6 +6745,10 @@ md-toolbar {
6613
6745
  align-items: center; }
6614
6746
  .md-toolbar-tools .md-tools {
6615
6747
  margin-left: auto; }
6748
+ .md-toolbar-tools .md-button:first-of-type {
6749
+ margin-left: -0.8rem; }
6750
+ .md-toolbar-tools .md-button:last-of-type:not(:first-of-type) {
6751
+ margin-right: -0.8rem; }
6616
6752
  @media screen and (-ms-high-contrast: active) {
6617
6753
  .md-toolbar-tools {
6618
6754
  border-bottom: 1px solid #fff; } }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-angular-material
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3.1
4
+ version: 0.8.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Bobrov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-angularjs