am-commons 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 268af333dd438e25cfd7375228ecf9db4561d81a
4
- data.tar.gz: d30db08317f4d413ba9ca56ec2c7ab4c1efea03d
3
+ metadata.gz: b71f50c9ef3282106270c576cf40808bc50dd5e4
4
+ data.tar.gz: 31f0eb87cd9fab3794ef1cfff69417d1656a7a20
5
5
  SHA512:
6
- metadata.gz: 45d0459b17e5d70a23ae76a462f9420f833fb98fd3093e3b24d1f45ce520a04a3006022c1f970d74f7367282dc734c5ee0612ddb3d6bd312d1b031a497c49a29
7
- data.tar.gz: 2d5d998d502fac777447d3d1ce9c7edd9ddb229cf489dc0f058b636c220bc1c3e0d511edac162f4755a30cf29ae3cdddbf22d72a675990223199077f8d5f0faa
6
+ metadata.gz: 70bbece59efefd704152773cef9ac7f71e49a3347b2e84b045eaca64a9369c175c384b4e7602dd5b0157d2967f1f94cababc67e5f9eddcdb96a167a414d5263c
7
+ data.tar.gz: daa280853c9da476394e4002d411ff55d0f157a43c30ebd72f7dd9c23cef5fefb5da5b65079ab82166ec69d62caaaa3c16655fe336086569b068477f8f5e0001
@@ -1,3 +1,3 @@
1
1
  module AmCommons
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "am-commons",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  }
@@ -21,6 +21,10 @@
21
21
  // 16 Pagination
22
22
  // 17 Restrictions
23
23
  // 18 Filters
24
+ // 19 Autocomplete
25
+ // 20 Datepicker
26
+ // 21 Slider
27
+ // 22 BX-Slider (Deprecated)
24
28
 
25
29
  @import "am-header";
26
30
  @import "am-main-menu";
@@ -626,85 +630,6 @@ ul{
626
630
 
627
631
  }
628
632
 
629
- //--------------Autocomplete -------------\\
630
-
631
- .ui-autocomplete{
632
- background: white;
633
- list-style-type:none;
634
- margin: 0;
635
- border: 1px solid $gray-lighter;
636
- box-sizing: border-box;
637
- li{
638
- line-height: 24px;
639
- margin: 0;
640
- padding: 4px 8px;
641
- &:hover{
642
- background:$cyan-light;
643
- cursor: pointer;
644
- }
645
- }
646
- }
647
- .ui-autocomplete{
648
- .division{
649
- cursor: default;
650
- background-color: $gray-lighter;
651
- position: relative;
652
- font-size: 14px;
653
- &:hover{
654
- cursor: default;
655
- background-color: $gray-lighter;
656
- }
657
- &:before {
658
- content: "";
659
- width: 0;
660
- height: 0;
661
- border-top: 8px solid $gray-lighter;
662
- border-left: 8px solid transparent;
663
- border-right: 8px solid transparent;
664
- position: absolute;
665
- bottom: -4px;
666
- left: 8px;
667
- }
668
- }
669
- }
670
-
671
- .ui-datepicker .ui-datepicker-header {
672
- color: white;
673
- background: $blue;
674
- border: 1px solid $gray-light;
675
- }
676
- .ui-datepicker-calendar{
677
- border-bottom: 1px solid #AFAFAF;
678
- }
679
- .ui-datepicker td span, .ui-datepicker td a {
680
- text-align: center!important;
681
- }
682
-
683
- .ui-datepicker-next{
684
- color:white;
685
- font-weight: bold;
686
- text-align: center;
687
- cursor:pointer;
688
-
689
- &:after{
690
- content:">";
691
- }
692
- }
693
- .ui-datepicker-prev{
694
- color:white;
695
- font-weight: bold;
696
- text-align: center;
697
- cursor:pointer;
698
-
699
- &:after{
700
- content:"<";
701
- }
702
- }
703
- .ui-state-active{
704
- background: $cyan;
705
- color: white!important;
706
- }
707
-
708
633
  //--------------Cover-------------\\
709
634
 
710
635
  .cover{
@@ -821,6 +746,142 @@ ul{
821
746
  }
822
747
  }
823
748
  }
749
+ &__container {
750
+ // padding:16px 8px;
751
+ // background:$white;
752
+ // min-width:120px;
753
+ // border-width:0px 1px 1px 1px;
754
+ // border-style:solid;
755
+ // border-color:$gray-lightest;
756
+
757
+ & .label-age {
758
+ //background:$notification-light;
759
+ //padding:4px;
760
+ display:inline-block;
761
+ line-height:32px !important;
762
+ //margin-top:4px;
763
+ }
764
+
765
+ & .separator {
766
+ border-bottom:1px dashed $gray-lighter;
767
+ }
768
+
769
+ & .circle-button {
770
+ @include font-rem(normal, 24px, 24px);
771
+ cursor:pointer;
772
+
773
+ &--disabled {
774
+ cursor:auto;
775
+ color:$gray-lighter;
776
+ border-color:$gray-lighter;
777
+ }
778
+
779
+ &--sm {
780
+ @include font-rem(normal, 16px, 16px);
781
+ }
782
+
783
+ }
784
+
785
+ & .number-input {
786
+ @include font-rem(normal, 24px, 24px);
787
+ display:inline-block;
788
+ text-align:center;
789
+ min-width:24px;
790
+ vertical-align:top;
791
+
792
+ &--sm {
793
+ @include font-rem(normal, 18px, 18px);
794
+ }
795
+ }
796
+
797
+ & .highlight {
798
+ background:$warning;
799
+ }
800
+
801
+ & .text-option {
802
+
803
+ }
804
+
805
+ &__list {
806
+ list-style:none;
807
+ margin-bottom:0px !important;
808
+
809
+ &__item {
810
+ cursor:pointer;
811
+ margin-bottom:8px;
812
+
813
+ &:hover {
814
+ background:$gray-lighter;
815
+ font-weight:bold;
816
+ color:$gray-darker;
817
+ }
818
+ }
819
+ }
820
+
821
+ }
822
+ &__details__ctn {
823
+ position:relative;
824
+ }
825
+
826
+ &__details {
827
+ display:inline-block;
828
+ background:$white;
829
+ padding:0px;
830
+
831
+ &__container {
832
+ min-width:0;
833
+ }
834
+
835
+ &--persons {
836
+ margin-top:4px !important;
837
+ box-sizing:border-box;
838
+ min-width:272px;
839
+ position:absolute;
840
+ z-index:3;
841
+ box-shadow:0px 0px 3px rgba(0,0,0,0.75);
842
+ @include border-radius(4px);
843
+ border:4px solid $gray-lighter;
844
+
845
+ width:calc(100% - 16px);
846
+ top:68px;
847
+ left:8px;
848
+ margin-top:-4px !important;
849
+
850
+ & .host-options {
851
+
852
+ &__item {
853
+
854
+ vertical-align:top;
855
+ display:block;
856
+ @include font-rem(normal,12px,16px);
857
+ padding:8px;
858
+
859
+
860
+ &:hover {
861
+ background:#DEEFF9;
862
+ cursor:pointer;
863
+ }
864
+
865
+ }
866
+ }
867
+
868
+
869
+ & .host-detail {
870
+ border-top:1px dashed $gray-lighter;
871
+
872
+ &:nth-child(2) {
873
+ border-top-style:solid;
874
+ }
875
+
876
+ }
877
+
878
+ .select-age {
879
+ margin-bottom:0px !important;
880
+ }
881
+
882
+ }
883
+
884
+ }
824
885
  &--flight{
825
886
  //background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-paris-bg.png');
826
887
  background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-grecia-bg.jpg');
@@ -871,7 +932,38 @@ ul{
871
932
  }
872
933
  }
873
934
  }
935
+
936
+ // CAJA DE BUSQUEDA DE RESULTADOS
937
+ & {
938
+ margin-bottom:16px !important;
939
+ height:272px; // Hotels
940
+
941
+ & .search__ctn {
942
+ padding:0px !important;
943
+ background-image:none;
944
+ height:272px;
945
+
946
+ .searchbox {
947
+ padding:8px !important;
948
+ min-height:272px!important;
949
+ box-sizing:border-box;
950
+
951
+ & .label-child {
952
+ color:$gray-darker !important;
953
+ line-height: (16px / 16px) * 1rem !important;
954
+ font-size: (12px / 16px) * 1rem !important;
955
+ }
956
+
957
+ & input:focus {
958
+ border:2px solid $gray-lighter;
959
+ }
960
+
961
+ }
962
+ }
963
+ }
964
+
874
965
  }
966
+
875
967
  &--cruise{
876
968
  background-image: url('https://af3e5cfa538f2e5425ae-e2a9c8f39dfb2e0608050999cf0e668b.ssl.cf5.rackcdn.com/search__bg--11.jpg');
877
969
  .search__ctn{
@@ -1455,13 +1547,57 @@ ul{
1455
1547
  &__item {
1456
1548
  display:inline-block;
1457
1549
  margin-left:0px;
1458
- border-width:1px 1px 1px 0px;
1459
- border-style:solid;
1460
- border-color:$gray-lighter;
1461
1550
  @include font-rem(normal, 13px, 16px);
1462
-
1551
+
1552
+ border-top:1px solid $gray-lighter;
1553
+ border-bottom:1px solid $gray-lighter;
1554
+ border-right:1px solid $gray-lighter;
1555
+ background:$gray-lightest;
1556
+
1463
1557
  &:first-child {
1464
1558
  border-left:1px solid $gray-lighter;
1559
+ border-top-left-radius:4px;
1560
+ border-bottom-left-radius:4px;
1561
+ & .pagination__link {
1562
+ padding-left:16px;
1563
+ padding-right:16px;
1564
+ }
1565
+ border-right:1px dashed $gray-lighter;
1566
+ }
1567
+
1568
+ &:nth-last-child(2) {
1569
+ border-right:1px dashed $gray-lighter;
1570
+ }
1571
+
1572
+ &:last-child {
1573
+ border-top-right-radius:4px;
1574
+ border-bottom-right-radius:4px;
1575
+ & .pagination__link {
1576
+ padding-left:16px;
1577
+ padding-right:16px;
1578
+ }
1579
+ }
1580
+
1581
+ &--disabled {
1582
+ background:$white;
1583
+ color:$gray-light;
1584
+
1585
+ & .pagination__link {
1586
+ color:$gray-lighter;
1587
+ cursor:default;
1588
+
1589
+ &:hover {
1590
+
1591
+ .pagination__link {
1592
+ background:$gray-lightest;
1593
+ }
1594
+
1595
+ text-decoration:none;
1596
+ background:$white;
1597
+ }
1598
+
1599
+ }
1600
+
1465
1601
  }
1466
1602
 
1467
1603
  }
@@ -1475,25 +1611,13 @@ ul{
1475
1611
  }
1476
1612
  }
1477
1613
 
1478
- &__item--disabled {
1479
- background:$white;
1480
-
1481
- & .pagination__link {
1482
- color:$gray-lighter;
1483
- cursor:default;
1484
-
1485
- &:hover {
1486
- text-decoration:none;
1487
- background:$white;
1488
- }
1489
-
1490
- }
1491
-
1492
- }
1493
1614
 
1494
1615
  & .selected {
1495
- background:$gray;
1496
- color:$white;
1616
+ box-sizing:border-box;
1617
+ background:$white;
1618
+ border:4px solid $gray-lighter;
1619
+ color:$link;
1620
+ padding:4px;
1497
1621
  cursor:default;
1498
1622
 
1499
1623
  &:hover {
@@ -1558,210 +1682,698 @@ ul{
1558
1682
 
1559
1683
  }
1560
1684
 
1561
- }
1562
-
1563
- .filterv2 {
1685
+ .filterv2 {
1564
1686
 
1565
- position:relative;
1566
- margin-bottom:8px;
1567
-
1568
- &__loader {
1569
- z-index:99;
1570
- position:absolute;
1571
- top:0;
1572
- bottom:0;
1573
- left:0;
1574
- right:0;
1575
- background:$black;
1576
- background:rgba(255,255,255,.6);
1577
- text-align:center;
1687
+ position:relative;
1688
+ margin-bottom:8px;
1578
1689
 
1579
- &__content {
1690
+ &__loader {
1691
+ z-index:99;
1580
1692
  position:absolute;
1581
- top:50%;
1582
- left:50%;
1583
- @include translate(-50%, -50%);
1693
+ top:0;
1694
+ bottom:0;
1695
+ left:0;
1696
+ right:0;
1697
+ background:$black;
1698
+ background:rgba(255,255,255,.6);
1699
+ text-align:center;
1584
1700
 
1701
+ &__content {
1702
+ position:absolute;
1703
+ top:50%;
1704
+ left:50%;
1705
+ @include translate(-50%, -50%);
1706
+
1707
+ }
1708
+
1709
+ &__icon {
1710
+
1711
+
1712
+ }
1713
+
1714
+ &__text {
1715
+ display:block;
1716
+ color:white;
1717
+ font-weight:bold;
1718
+ }
1719
+
1720
+ &--active {
1721
+
1722
+ background:rgba(0,0,0,.6);
1723
+
1724
+ & .filter__loader__content {
1725
+ display:block;
1726
+ }
1727
+
1728
+ }
1729
+
1585
1730
  }
1586
1731
 
1587
- &__icon {
1588
-
1732
+ &__header {
1733
+ background:$gray-lighter;
1734
+ cursor:pointer;
1735
+ //margin-bottom:16px;
1736
+ @include font-rem(normal, 14px, 16px);
1737
+ display:block;
1738
+ padding:8px;
1739
+ @include border-top-radius(2px);
1740
+
1741
+ /*&:after {
1742
+ font-family:almundo;
1743
+ content:"\e61a";
1744
+ position:absolute;
1745
+ right:8px;
1746
+ }*/
1747
+
1748
+ &__icon {
1749
+ @include respond-to(ph) {
1750
+ @include rotate(180deg);
1751
+ }
1752
+ position:absolute;
1753
+ right:8px;
1754
+ }
1755
+
1756
+ &--collapse {
1757
+ @include border-bottom-radius(2px);
1758
+ }
1759
+
1760
+ }
1761
+
1762
+ &__content {
1763
+ @include respond-to(ph) {
1764
+ display:none;
1765
+ }
1766
+ }
1767
+
1768
+ &__label--inline {
1769
+ display:inline-block;
1589
1770
 
1590
1771
  }
1591
1772
 
1592
- &__text {
1593
- display:block;
1594
- color:white;
1595
- font-weight:bold;
1773
+ &__label {
1774
+ @include font-rem(normal, 14px, 16px);
1596
1775
  }
1597
1776
 
1598
- &--active {
1777
+ &__check {
1599
1778
 
1600
- background:rgba(0,0,0,.6);
1779
+ }
1601
1780
 
1602
- & .filter__loader__content {
1603
- display:block;
1781
+ & ul {
1782
+ list-style:none;
1783
+
1784
+ & li {
1785
+ margin-left:0px;
1786
+ line-height:16px;
1787
+ border-bottom:1px dashed $gray-lightest;
1788
+ padding:8px 0px;
1604
1789
  }
1605
1790
 
1606
1791
  }
1607
1792
 
1608
- }
1793
+ &__list-double {
1794
+
1795
+ //display:table;
1796
+ //display:block;
1797
+ //width:100%;
1798
+ //border-collapse:collapse;
1799
+
1800
+ & * {
1801
+ cursor:pointer;
1802
+ }
1609
1803
 
1610
- &__header {
1611
- background:$gray-lighter;
1612
- cursor:pointer;
1613
- //margin-bottom:16px;
1614
- @include font-rem(normal, 14px, 16px);
1615
- display:block;
1616
- padding:8px;
1617
- @include border-top-radius(2px);
1804
+ &__item {
1618
1805
 
1619
- /*&:after {
1620
- font-family:almundo;
1621
- content:"\e61a";
1622
- position:absolute;
1623
- right:8px;
1624
- }*/
1806
+ //display:table-row;
1807
+ border-bottom:1px dashed $gray-lighter;
1808
+ padding:8px 0px;
1625
1809
 
1626
- &__icon {
1627
- @include respond-to(ph) {
1628
- @include rotate(180deg);
1810
+ &-input {
1811
+ margin-top:4px;
1812
+ margin-right:4px;
1813
+ }
1814
+
1815
+ &-left {
1816
+ position:relative;
1817
+ //width:70%;
1818
+ //display:table-cell;
1819
+ /*border-bottom:1px solid $gray-lighter;*/
1820
+ }
1821
+
1822
+ &-text {
1823
+ display:inline-block;
1824
+ vertical-align:middle;
1825
+ width:70%;
1826
+ }
1827
+
1828
+ &-right {
1829
+ //width:30%;
1830
+ //display:table-cell;
1831
+ position:absolute;
1832
+ right:0px;
1833
+ top:4px;
1834
+ min-width:16px;
1835
+ text-align:center;
1836
+ //float:right;
1837
+ //@include font-rem(normal, 10px, 16px);
1838
+ //padding:8px 0px;
1839
+
1840
+ //background:$gray-lightest;
1841
+ //padding:4px;
1842
+
1843
+ &.selected {
1844
+
1845
+ background:$gray-lighter;
1846
+
1847
+ }
1848
+ /*border-bottom:1px solid $gray-lighter;*/
1849
+
1850
+ //& span {
1851
+ // background:$gray-lightest;
1852
+ // padding:4px;
1853
+
1854
+ // &.selected {
1855
+
1856
+ // background:$gray-lighter;
1857
+
1858
+ // }
1859
+ //}
1860
+
1861
+ }
1862
+
1863
+ &:last-child{
1864
+ border-bottom: 0;
1865
+ }
1629
1866
  }
1630
- position:absolute;
1631
- right:8px;
1867
+ &__title{
1868
+ border: 0px;
1869
+ padding:8px 0px;
1870
+ padding-bottom: 0px;
1871
+ color:$black;
1872
+ }
1873
+
1632
1874
  }
1633
1875
 
1634
- &--collapse {
1876
+ & .filter-container {
1877
+ padding:8px 16px;
1878
+ border:1px solid $gray-lighter;
1879
+ border-bottom-width:4px;
1635
1880
  @include border-bottom-radius(2px);
1636
1881
  }
1637
1882
 
1638
- }
1883
+ & .filter-airline-all {
1884
+ width:40px;
1885
+ text-align:center;
1886
+ line-height:24px;
1887
+ }
1639
1888
 
1640
- &__content {
1641
- @include respond-to(ph) {
1642
- display:none;
1889
+ .filters__container__buttons {
1890
+ text-align:left !important;
1891
+ border-top:none !important;
1892
+ padding-top:0px !important;
1643
1893
  }
1644
- }
1645
1894
 
1646
- &__label--inline {
1647
- display:inline-block;
1648
-
1649
1895
  }
1650
1896
 
1651
- &__label {
1652
- @include font-rem(normal, 14px, 16px);
1897
+ }
1898
+
1899
+ //------------Autocomplete-----------\\
1900
+
1901
+ .autocomplete{
1902
+
1903
+ &__list {
1904
+ position:absolute;
1905
+ background: white;
1906
+ list-style-type:none;
1907
+ margin: 0;
1908
+ border: 1px solid $gray-lighter;
1909
+ box-sizing: border-box;
1910
+ z-index:10;
1911
+ position:absolute !important;
1912
+ @include background-clip(padding-box);
1913
+ padding:8px 0px;
1914
+ box-shadow:0px 0px 3px rgba(0,0,0,0.75);
1915
+ @include border-radius(4px);
1916
+ border:4px solid $gray-lighter;
1917
+ @include box-sizing(border-box);
1918
+ width:calc(100% - 48px);
1919
+
1920
+
1921
+ li {
1922
+ line-height: 24px;
1923
+ margin: 0;
1924
+ padding: 4px 8px;
1925
+ font-weight:bold;
1926
+
1927
+ &:hover{
1928
+ background:$cyan-light;
1929
+ cursor: pointer;
1930
+ }
1931
+
1932
+ & mark {
1933
+ font-weight:normal !important;
1934
+ }
1935
+ }
1653
1936
  }
1937
+ }
1654
1938
 
1655
- &__check {
1939
+ // VIEJO AUTOCOMPLETE JQUERY
1940
+
1941
+ // .ui-autocomplete{
1942
+ // background: white;
1943
+ // list-style-type:none;
1944
+ // margin: 0;
1945
+ // border: 1px solid $gray-lighter;
1946
+ // box-sizing: border-box;
1947
+ // li{
1948
+ // line-height: 24px;
1949
+ // margin: 0;
1950
+ // padding: 4px 8px;
1951
+ // &:hover{
1952
+ // background:$cyan-light;
1953
+ // cursor: pointer;
1954
+ // }
1955
+ // }
1956
+ // }
1957
+ // .ui-autocomplete{
1958
+ // .division{
1959
+ // cursor: default;
1960
+ // background-color: $gray-lighter;
1961
+ // position: relative;
1962
+ // font-size: 14px;
1963
+ // &:hover{
1964
+ // cursor: default;
1965
+ // background-color: $gray-lighter;
1966
+ // }
1967
+ // &:before {
1968
+ // content: "";
1969
+ // width: 0;
1970
+ // height: 0;
1971
+ // border-top: 8px solid $gray-lighter;
1972
+ // border-left: 8px solid transparent;
1973
+ // border-right: 8px solid transparent;
1974
+ // position: absolute;
1975
+ // bottom: -4px;
1976
+ // left: 8px;
1977
+ // }
1978
+ // }
1979
+ // }
1980
+
1981
+ // .ui-autocomplete {
1982
+ // position:absolute !important;
1983
+ // margin-top:8px !important;
1984
+ // z-index:10;
1985
+ // @include background-clip(padding-box);
1986
+ // padding:8px 0px;
1987
+ // box-shadow:0px 0px 3px rgba(0,0,0,0.75);
1988
+ // @include border-radius(4px);
1989
+ // border:4px solid $gray-lighter;
1990
+ // @include box-sizing(border-box);
1991
+
1992
+ // & .ui-menu-item {
1656
1993
 
1994
+ // vertical-align:top;
1995
+ // display:block;
1996
+ // @include font-rem(normal,12px,16px);
1997
+ // padding:8px 16px;
1998
+ // margin:0px;
1999
+ // letter-spacing:normal;
2000
+ // text-align:left;
2001
+ // font-weight:bold;
2002
+
2003
+ // & mark {
2004
+ // font-weight:normal !important;
2005
+ // background:$white;
2006
+ // }
2007
+
2008
+ // &:hover {
2009
+ // background:#DEEFF9;
2010
+ // color:$gray;
2011
+ // vertical-align:top;
2012
+ // display:block;
2013
+ // @include font-rem(bold,12px,16px);
2014
+ // padding:8px 16px;
2015
+ // margin:0px;
2016
+ // letter-spacing:normal;
2017
+ // text-align:left;
2018
+
2019
+ // & mark {
2020
+ // background:#DEEFF9;
2021
+ // }
2022
+
2023
+ // }
2024
+
2025
+ // & a {
2026
+ // color:$black;
2027
+ // height:16px;
2028
+ // vertical-align:top;
2029
+ // display:block;
2030
+ // @include font-rem(normal,12px,16px);
2031
+ // padding:0px;
2032
+ // margin:0px;
2033
+ // //margin-bottom:8px;
2034
+ // letter-spacing:normal;
2035
+ // text-align:left;
2036
+ // font-weight:bold;
2037
+
2038
+ // & mark {
2039
+ // font-weight:normal !important;
2040
+ // }
2041
+
2042
+ // &:hover {
2043
+ // vertical-align:top;
2044
+ // @include font-rem(bold,12px,16px);
2045
+ // padding:0px;
2046
+ // margin:0px;
2047
+ // //margin-bottom:8px;
2048
+ // text-decoration:none;
2049
+ // letter-spacing:normal;
2050
+ // text-align:left;
2051
+
2052
+ // & mark {
2053
+ // background:#DEEFF9;
2054
+ // font-weight:normal !important;
2055
+ // }
2056
+
2057
+ // }
2058
+ // }
2059
+
2060
+ // }
2061
+ // }
2062
+
2063
+ //------------Datepicker-----------\\
2064
+
2065
+ .ui-datepicker {
2066
+ display:none;
2067
+ margin-top:4px !important;
2068
+ padding:8px !important;
2069
+ background:$white;
2070
+ @include background-clip(padding-box);
2071
+ box-shadow:0px 0px 3px rgba(0,0,0,0.75);
2072
+ @include border-radius(4px);
2073
+ border:4px solid $gray-lighter;
2074
+ width:auto!important;
2075
+
2076
+ & .ui-datepicker-title {
2077
+ text-align:center;
1657
2078
  }
1658
2079
 
1659
- & ul {
1660
- list-style:none;
2080
+ & .ui-icon {
2081
+ display:none;
2082
+ }
1661
2083
 
1662
- & li {
1663
- margin-left:0px;
1664
- line-height:16px;
1665
- border-bottom:1px dashed $gray-lightest;
1666
- padding:8px 0px;
1667
- }
2084
+ & .ui-datepicker-group {
2085
+ float:left;
2086
+ background:$white;
1668
2087
 
1669
2088
  }
1670
2089
 
1671
- &__list-double {
1672
-
1673
- //display:table;
1674
- //display:block;
1675
- //width:100%;
1676
- //border-collapse:collapse;
2090
+ & .ui-datepicker-prev {
2091
+ position:absolute;
2092
+ font-family:almundo;
2093
+ @extend .icon-arrow-left;
2094
+ color:$gray;
2095
+ padding-left:4px;
2096
+ cursor:pointer;
1677
2097
 
1678
- & * {
1679
- cursor:pointer;
2098
+ &:after {
2099
+ content:"";
1680
2100
  }
1681
2101
 
1682
- &__item {
2102
+ }
1683
2103
 
1684
- //display:table-row;
1685
- border-bottom:1px dashed $gray-lighter;
1686
- padding:8px 0px;
2104
+ & .ui-datepicker-group-first {
2105
+ margin-right:16px;
2106
+ }
2107
+
2108
+ & .ui-datepicker-next {
2109
+ position:absolute;
2110
+ right:16px;
2111
+ font-family:almundo;
2112
+ @extend .icon-arrow-right;
2113
+ color:$gray;
2114
+ padding-right:4px;
2115
+ cursor:pointer;
1687
2116
 
1688
- &-input {
1689
- margin-top:4px;
1690
- margin-right:4px;
1691
- }
2117
+ &:after {
2118
+ content:"";
2119
+ }
1692
2120
 
1693
- &-left {
1694
- position:relative;
1695
- //width:70%;
1696
- //display:table-cell;
1697
- /*border-bottom:1px solid $gray-lighter;*/
1698
- }
2121
+ }
1699
2122
 
1700
- &-text {
1701
- display:inline-block;
1702
- vertical-align:middle;
1703
- width:70%;
1704
- }
2123
+ & .ui-datepicker-header {
2124
+ background:$white;
2125
+ border:none;
2126
+ }
1705
2127
 
1706
- &-right {
1707
- //width:30%;
1708
- //display:table-cell;
1709
- position:absolute;
1710
- right:0px;
1711
- top:4px;
1712
- min-width:16px;
1713
- text-align:center;
1714
- //float:right;
1715
- //@include font-rem(normal, 10px, 16px);
1716
- //padding:8px 0px;
1717
-
1718
- //background:$gray-lightest;
1719
- //padding:4px;
2128
+ & .ui-datepicker-month {
2129
+ @include font-rem(normal,14px,16px);
2130
+ font-weight:bold;
2131
+ color:$gray-darker;
2132
+ }
1720
2133
 
1721
- &.selected {
2134
+ & .ui-datepicker-year {
2135
+ @include font-rem(normal,12px,16px);
2136
+ color:$gray-darker;
2137
+ }
1722
2138
 
1723
- background:$gray-lighter;
2139
+ & .ui-datepicker-calendar {
2140
+ border:none;
2141
+ background:$white;
2142
+ margin:0px !important;
1724
2143
 
1725
- }
1726
- /*border-bottom:1px solid $gray-lighter;*/
2144
+ & thead tr th {
2145
+ @include font-rem(normal,12px,16px);
2146
+ font-weight:bold;
2147
+ border:none;
2148
+ }
1727
2149
 
1728
- //& span {
1729
- // background:$gray-lightest;
1730
- // padding:4px;
2150
+ & tr td {
2151
+ @include font-rem(normal,14px,32px);
2152
+ width:32px;
2153
+ border:none;
2154
+ padding:0px;
2155
+ text-align:center;
2156
+ }
1731
2157
 
1732
- // &.selected {
2158
+ & .ui-datepicker-today {
2159
+ font-weight:bold;
2160
+ }
1733
2161
 
1734
- // background:$gray-lighter;
2162
+ & .ui-state-default {
2163
+ color:$gray-darker;
2164
+ padding:0px;
2165
+ text-align:center;
2166
+ @include font-rem(null,16px,32px);
2167
+ width:32px;
2168
+ height:32px;
2169
+ }
2170
+
2171
+ & .ui-datepicker-unselectable {
2172
+ & .ui-state-default {
2173
+ color:$gray-lighter;
2174
+ }
2175
+
2176
+ }
1735
2177
 
1736
- // }
1737
- //}
2178
+ & .ui-datepicker-current-day {
2179
+ @include border-left-radius(50%);
2180
+ background:$notification !important;
2181
+ & .ui-state-default {
2182
+ color:$white;
2183
+ font-weight:bold;
2184
+ @include border-left-radius(50%);
2185
+ background:$notification;
2186
+ }
2187
+ }
1738
2188
 
2189
+ & .ui-datepicker-current-day-ow {
2190
+ @include border-radius(50%);
2191
+ background:white !important;
2192
+ & .ui-state-default {
2193
+ color:$white;
2194
+ font-weight:bold;
2195
+ @include border-radius(50%);
2196
+ background:$notification;
1739
2197
  }
2198
+ }
1740
2199
 
1741
- &:last-child{
1742
- border-bottom: 0;
2200
+ .ui-state-finish {
2201
+ @include border-left-radius(0%);
2202
+ @include border-right-radius(50%);
2203
+ background:$notification;
2204
+ & .ui-state-default {
2205
+ color:$white;
2206
+ font-weight:bold;
2207
+ @include border-left-radius(0%);
2208
+ @include border-right-radius(50%);
2209
+ background:$notification;
1743
2210
  }
1744
2211
  }
1745
- &__title{
1746
- border: 0px;
1747
- padding:8px 0px;
1748
- padding-bottom: 0px;
1749
- color:$black;
2212
+
2213
+ & .ui-state-range {
2214
+ background:$notification-light;
2215
+ & .ui-state-default {
2216
+ color:$white;
2217
+ }
1750
2218
  }
1751
2219
 
2220
+
1752
2221
  }
1753
2222
 
1754
- & .filter-container {
1755
- padding:8px 16px;
1756
- border:1px solid $gray-lighter;
1757
- border-bottom-width:4px;
1758
- @include border-bottom-radius(2px);
2223
+ }
2224
+
2225
+
2226
+ // VIEJO DATEPICKER
2227
+
2228
+ // .ui-datepicker .ui-datepicker-header {
2229
+ // color: white;
2230
+ // background: $blue;
2231
+ // border: 1px solid $gray-light;
2232
+ // }
2233
+ // .ui-datepicker-calendar{
2234
+ // border-bottom: 1px solid #AFAFAF;
2235
+ // }
2236
+ // .ui-datepicker td span, .ui-datepicker td a {
2237
+ // text-align: center!important;
2238
+ // }
2239
+
2240
+ // .ui-datepicker-next{
2241
+ // color:white;
2242
+ // font-weight: bold;
2243
+ // text-align: center;
2244
+ // cursor:pointer;
2245
+
2246
+ // &:after{
2247
+ // content:">";
2248
+ // }
2249
+ // }
2250
+ // .ui-datepicker-prev{
2251
+ // color:white;
2252
+ // font-weight: bold;
2253
+ // text-align: center;
2254
+ // cursor:pointer;
2255
+
2256
+ // &:after{
2257
+ // content:"<";
2258
+ // }
2259
+ // }
2260
+ // .ui-state-active{
2261
+ // background: $cyan;
2262
+ // color: white!important;
2263
+ // }
2264
+
2265
+ //------------Slider-----------\\
2266
+
2267
+ // Cambiar el nombre a uno mas generico en un futuro, tal vez...
2268
+ .slider-currency {
2269
+
2270
+ &.ui-slider {
2271
+ position:relative;
2272
+ box-sizing:border-box;
2273
+ background:$white;
2274
+ border:4px solid $gray-lighter;
2275
+ @include border-radius(2px);
2276
+ height:8px;
1759
2277
  }
1760
2278
 
1761
- & .filter-airline-all {
1762
- width:40px;
1763
- text-align:center;
1764
- line-height:24px;
2279
+ &.ui-slider .ui-slider-handle {
2280
+ box-sizing:border-box;
2281
+ background:$white;
2282
+ border:6px solid $gray;
2283
+ @include border-radius(50%);
2284
+ width:24px;
2285
+ height:24px;
2286
+ position:absolute;
2287
+ top:-11px;
2288
+ cursor:pointer;
2289
+ z-index: 1;
2290
+ &:hover {
2291
+ border-color:$orange;
2292
+ }
2293
+
2294
+ &:focus {
2295
+ outline:none;
2296
+ }
2297
+ }
2298
+
2299
+ &.ui-slider .ui-slider-range {
2300
+ //background:$orange-dark;
2301
+ //background-size:6px 1px !important;
2302
+ //background: repeating-linear-gradient(to right, rgba(255,121,0,1) 0px, rgba(255,121,0,1) 2px, rgba(204,204,204,1) 3px, rgba(204,204,204,1) 4px);
2303
+ background-color:$orange;
2304
+ height:2px;
2305
+ margin-top:-1px;
2306
+ color:$gray-lighter;
1765
2307
  }
1766
2308
 
1767
- }
2309
+ }
2310
+
2311
+ .slider-currency-input {
2312
+ border:none !important;
2313
+ background:transparent !important;
2314
+ font-weight:bold !important;
2315
+ padding:0px !important;
2316
+ }
2317
+
2318
+
2319
+ //------------BX-Slider-----------\\
2320
+
2321
+ // .bx-controls {
2322
+ // //position:absolute;
2323
+ // //bottom:0px;
2324
+ // }
2325
+
2326
+ // .bx-pager-item {
2327
+ // display:inline-block;
2328
+
2329
+ // &:last-child {
2330
+ // margin-right:0px;
2331
+ // }
2332
+
2333
+ // }
2334
+
2335
+ // .bx-pager-link {
2336
+ // display:inline-block;
2337
+ // border:1px solid $white;
2338
+ // text-indent:-9999px;
2339
+ // height:16px;
2340
+ // width:16px;
2341
+ // @include border-radius(50%);
2342
+ // margin-right:8px;
2343
+ // box-sizing:border-box;
2344
+
2345
+ // &.active {
2346
+ // background:$white;
2347
+ // }
2348
+ // }
2349
+
2350
+ // .bx-pager {
2351
+ // position:absolute;
2352
+ // bottom:0px;
2353
+ // width:100%;
2354
+ // text-align:center;
2355
+ // }
2356
+
2357
+ // .bx-prev {
2358
+ // position:absolute;
2359
+ // top:50%;
2360
+ // left:8px;
2361
+ // background:$white;
2362
+ // @include border-radius(50%);
2363
+ // height:24px;
2364
+ // width:24px;
2365
+ // text-align:center;
2366
+ // @include font-rem(normal,16px,24px);
2367
+ // }
2368
+
2369
+ // .bx-next {
2370
+ // position:absolute;
2371
+ // top:50%;
2372
+ // right:8px;
2373
+ // background:$white;
2374
+ // @include border-radius(50%);
2375
+ // height:24px;
2376
+ // width:24px;
2377
+ // text-align:center;
2378
+ // @include font-rem(normal,16px,24px);
2379
+ // }