iasd-bootstrap-sass 1.5.0 → 1.6.0

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.
@@ -39,6 +39,13 @@ $events-main-color: #b83636;
39
39
  $community-main-color: #269e9a;
40
40
  $blogs-main-color: #485359;
41
41
 
42
+ // Social Networks and External Services colors
43
+ // -------------------------
44
+
45
+ $apple-color: #a8b1b8;
46
+ $android-color: #a5c63b;
47
+ $windows-color: #01aef3;
48
+
42
49
  // Grays
43
50
  // -------------------------
44
51
 
@@ -84,9 +84,12 @@
84
84
  }
85
85
  }
86
86
  }
87
-
87
+ .iasd-widget-apps-btn {
88
+ text-transform: initial;
89
+ margin: 7px 0;
90
+ }
88
91
  .iasd-widget{
89
- margin-bottom: 50px;
92
+ margin-bottom: 50px;
90
93
  a{
91
94
  color: $text-color !important;
92
95
  &:hover, &:focus{
@@ -1297,6 +1300,18 @@ aside {
1297
1300
  /* ************** */
1298
1301
  /* Slider widgets */
1299
1302
  /* ************** */
1303
+ .highlights {
1304
+ .owl-carousel {
1305
+ &.header {
1306
+ .slider-item {
1307
+ a.iasd-app-card {
1308
+ border: #FFF !important;
1309
+ }
1310
+ }
1311
+ }
1312
+ }
1313
+ }
1314
+
1300
1315
 
1301
1316
  .iasd-widget-slider{
1302
1317
  &.highlights {
@@ -2479,6 +2494,459 @@ aside {
2479
2494
  margin-top: 35px;
2480
2495
  }
2481
2496
 
2497
+ /* ***************** */
2498
+ /* Apps Widget */
2499
+ /* ***************** */
2500
+
2501
+
2502
+ .iasd-widget-slider {
2503
+ .iasd-apps {
2504
+ .owl-wrapper-outer {
2505
+ background: none !important;
2506
+ }
2507
+ .owl-controls {
2508
+ .owl-buttons {
2509
+ & > div{
2510
+ @include opacity(1);
2511
+ position: relative;
2512
+ bottom: 0;
2513
+ background: none;
2514
+ padding: 0;
2515
+ margin: 20px 30px 0 30px;
2516
+ height: 17px;
2517
+ width: 10px;
2518
+ z-index: 10;
2519
+ &:after{
2520
+ background: rgba($gray-darker, 0.15);
2521
+ display: block;
2522
+ font-family: FontAwesome;
2523
+ font-size: 18px;
2524
+ height: 40px;
2525
+ line-height: 40px;
2526
+ position: absolute;
2527
+ text-align: center;
2528
+ }
2529
+ }
2530
+ .owl-prev {
2531
+ &:after {
2532
+ content: "";
2533
+ position: absolute;
2534
+ display: block;
2535
+ width: 10px;
2536
+ height: 17px;
2537
+ background: image-url( 'widgets/slider_apps_prev.png' ) no-repeat;
2538
+ }
2539
+ }
2540
+ .owl-next {
2541
+ &:after {
2542
+ content: "";
2543
+ position: absolute;
2544
+ display: block;
2545
+ width: 10px;
2546
+ height: 17px;
2547
+ background: image-url( 'widgets/slider_apps_next.png' ) no-repeat;
2548
+ }
2549
+ }
2550
+ }
2551
+ }
2552
+ }
2553
+ > figure {
2554
+ figcaption {
2555
+ background: $theme-main-color; //IE8 Fallback :(
2556
+ background: rgba($theme-main-color, .9);
2557
+ top: 10px !important;
2558
+ height: 20px !important;
2559
+ left: 0 !important;
2560
+ margin: 0;
2561
+ max-width: 90%;
2562
+ overflow: visible;
2563
+ padding: 0;
2564
+ position: absolute;
2565
+ span {
2566
+ @include text-overflow();
2567
+ color: $body-bg;
2568
+ display: inline-block;
2569
+ font-family: $alt-font-family-sans-serif;
2570
+ font-size: 10px;
2571
+ font-weight: 500;
2572
+ line-height: 12px;
2573
+ padding: 4px 5px;
2574
+ text-transform: uppercase;
2575
+ width: 100%;
2576
+ }
2577
+ &:after {
2578
+ border: {
2579
+ color: transparent transparent transparent $theme-main-color; //IE8 Fallback :(
2580
+ color: transparent transparent transparent rgba($theme-main-color, .9);
2581
+ style: solid;
2582
+ width: 10px 0 10px 7px;
2583
+ }
2584
+ content: '';
2585
+ height: 0px;
2586
+ position: absolute;
2587
+ right: -7px;
2588
+ top: 0;
2589
+ width: 0px;
2590
+ }
2591
+ }
2592
+ }
2593
+ }
2594
+
2595
+
2596
+ @media (max-width: $screen-xs) {
2597
+ .iasd-widget-slider {
2598
+ .slider-item {
2599
+ padding: 5px;
2600
+ }
2601
+ .iasd-apps {
2602
+ h1 {
2603
+ @include main-title;
2604
+ @include text-overflow();
2605
+ margin: 0 0 20px 0 !important;
2606
+ }
2607
+ .iasd-app-card {
2608
+ padding: 5px;
2609
+ width: 100%;
2610
+ h3 {
2611
+ &:hover, &:focus {
2612
+ border-bottom: 0;
2613
+ }
2614
+ }
2615
+ figure, h3, .iasd-app-dev {
2616
+ width: 100%;
2617
+ }
2618
+ ul {
2619
+ padding: 0 !important;
2620
+ }
2621
+ .iasd-app-card-inner {
2622
+ padding: 5px;
2623
+ }
2624
+ }
2625
+ }
2626
+ }
2627
+ }
2628
+
2629
+ // WIDGET DE DESTAQUES DOS APPS
2630
+
2631
+ .iasd-widget-slider {
2632
+ .iasd-apps-widget-highlights {
2633
+ .owl-carousel {
2634
+ .owl-wrapper-outer {
2635
+ background: none;
2636
+ > .iasd-app-card {
2637
+ border: none;
2638
+ }
2639
+ }
2640
+ }
2641
+ }
2642
+ }
2643
+
2644
+ .iasd-apps-widget-highlights {
2645
+ padding-top: 40px;
2646
+ .app-highlights-title {
2647
+ width: 20%;
2648
+ padding-right: 10px;
2649
+ float: left;
2650
+ h1 {
2651
+ width: auto;
2652
+ margin: 0;
2653
+ padding-top: 30px;
2654
+ border-top: solid 1px rgba(251, 246, 240, 0.5); // Alterado por WDR
2655
+ border-bottom: 0;
2656
+ box-shadow: none;
2657
+ font-size: 25px;
2658
+ font-weight: 300;
2659
+ font-family: $alt-font-family-sans-serif;
2660
+ text-transform: uppercase;
2661
+ color: $body-bg;
2662
+ }
2663
+ p {
2664
+ margin-bottom: 5px 0 25px 0;
2665
+ font-size: 15px !important;
2666
+ font-weight: 400 !important;
2667
+ color: $body-bg;
2668
+ }
2669
+ }
2670
+ .iasd-highlight-apps-carousel {
2671
+ float: right;
2672
+ width: 80%;
2673
+ margin-top: 0;
2674
+ border: none;
2675
+ .owl-wrapper-outer {
2676
+ background: none !important;
2677
+ a.iasd-app-card {
2678
+ border: transparent; //***WDR
2679
+ }
2680
+ }
2681
+ .owl-controls {
2682
+ .owl-buttons {
2683
+ > div {
2684
+ @include opacity(1);
2685
+ position: relative;
2686
+ background: none;
2687
+ padding: 0;
2688
+ margin: 20px 30px 0 30px;
2689
+ height: 17px;
2690
+ width: 10px;
2691
+ z-index: 10;
2692
+ &:after{
2693
+ background: none;
2694
+ display: block;
2695
+ font-family: FontAwesome;
2696
+ font-size: 18px;
2697
+ height: 40px;
2698
+ line-height: 40px;
2699
+ position: absolute;
2700
+ text-align: center;
2701
+ }
2702
+ }
2703
+ .owl-prev {
2704
+ &:after {
2705
+ content: "\f104"; //Alterado por WDR
2706
+ font-family: FontAwesome;
2707
+ font-size: 30px;
2708
+ color: white;
2709
+ top: 0px;
2710
+ position: absolute;
2711
+ display: block;
2712
+ width: 10px;
2713
+ height: 17px;
2714
+ }
2715
+ }
2716
+ .owl-next {
2717
+ &:after {
2718
+ content: "\f105";
2719
+ font-family: FontAwesome;
2720
+ font-size: 30px;
2721
+ color: white;
2722
+ top: 0px;
2723
+ position: absolute;
2724
+ display: block;
2725
+ width: 10px;
2726
+ height: 17px;
2727
+ }
2728
+ }
2729
+ }
2730
+ }
2731
+ }
2732
+
2733
+ }
2734
+
2735
+ a.see-all-apps {
2736
+ display: block;
2737
+ padding: 5px 8px;
2738
+ border: solid 1px $alt-text-color;
2739
+ border-radius: 3px;
2740
+ line-height: 11px;
2741
+ font-size: 11px;
2742
+ text-align: center;
2743
+ text-transform: none;
2744
+ font-family: Lato;
2745
+ font-weight: 400;
2746
+ background: $alt-link-color;
2747
+ color: $body-bg !important;
2748
+ &.see-all-apps-highlights {
2749
+ float: left ;
2750
+ background: none; // havia uma borda acima que foi eliminada para o outline do botão voltar a funcionar WDR
2751
+ }
2752
+ }
2753
+
2754
+ @media (max-width: $screen-md) {
2755
+ .iasd-apps-widget-highlights {
2756
+ .app-highlights-title {
2757
+ width: 25%;
2758
+ }
2759
+ .iasd-highlight-apps-carousel {
2760
+ width: 75%;
2761
+ }
2762
+ }
2763
+ }
2764
+
2765
+ @media (min-width: $screen-xs) and (max-width: $screen-xs-max) {
2766
+ .iasd-apps-widget-highlights {
2767
+ .block-grid-item {
2768
+ padding: 10px;
2769
+ }
2770
+ .slider-item {
2771
+ padding: 0 10px;
2772
+ }
2773
+ .iasd-app-card {
2774
+ width: auto;
2775
+ padding: 10px;
2776
+ figure, h3, span {
2777
+ width: 100%;
2778
+ }
2779
+ .iasd-app-card-inner {
2780
+ padding: 0 5px;
2781
+ }
2782
+ }
2783
+ .app-highlights-title {
2784
+ width: 100%;
2785
+ h1 {
2786
+ margin-bottom: 40px;
2787
+ }
2788
+ }
2789
+ .iasd-highlight-apps-carousel {
2790
+ width: 100%;
2791
+ }
2792
+ }
2793
+ a.see-all-apps {
2794
+ &.xs-landscape {
2795
+ &.hidden-xs {
2796
+ display: block !important;
2797
+ }
2798
+ &.visible-xs {
2799
+ display: none !important;
2800
+ }
2801
+ }
2802
+ &.see-all-apps-highlights {
2803
+ margin-bottom: 30px;
2804
+ &.xs-landscape {
2805
+ &.hidden-xs {
2806
+ display: block !important;
2807
+ }
2808
+ &.visible-xs {
2809
+ display: none !important;
2810
+ }
2811
+ }
2812
+ }
2813
+ }
2814
+ }
2815
+
2816
+ @media (max-width: $screen-xs) {
2817
+ .iasd-apps-widget-highlights {
2818
+ .block-grid-item, .slider-item {
2819
+ .iasd-app-card {
2820
+ width: auto;
2821
+ padding: 5px;
2822
+ figure, h3, span {
2823
+ width: 100%;
2824
+ }
2825
+ .iasd-app-card-inner {
2826
+ padding: 0 5px;
2827
+ }
2828
+ }
2829
+ }
2830
+ .block-grid-item {
2831
+ padding: 10px;
2832
+ }
2833
+ .slider-item {
2834
+ padding: 0 5px;
2835
+ }
2836
+ .app-highlights-title {
2837
+ width: 100%;
2838
+ h1 {
2839
+ margin-bottom: 40px;
2840
+ }
2841
+ p {
2842
+ display: none;
2843
+ }
2844
+ }
2845
+ .iasd-highlight-apps-carousel {
2846
+ width: 100%;
2847
+ }
2848
+ }
2849
+
2850
+ a.see-all-apps {
2851
+ &.see-all-apps-highlights {
2852
+ float: none;
2853
+ border: solid 1px $body-bg;
2854
+ background: none;
2855
+ }
2856
+ }
2857
+ }
2858
+
2859
+ // WIDGET SOBRE O AUTOR
2860
+
2861
+ .iasd-widget-about-author {
2862
+ .iasd-contact-info {
2863
+ margin-top: 30px;
2864
+ p {
2865
+ display: inline-block;
2866
+ margin-top: 15px !important;
2867
+ }
2868
+ .iasd-author-info {
2869
+ display: inline-block;
2870
+ + .iasd-author-info {
2871
+ margin-top: 30px;
2872
+ }
2873
+ }
2874
+ .contact-info-title {
2875
+ height: 80px
2876
+ }
2877
+ }
2878
+ }
2879
+
2880
+ .iasd-apps-portal {
2881
+ .iasd-widget{
2882
+ margin-bottom: 40px; // Alterado de 50px para 40px WD
2883
+ a{
2884
+ color: white;
2885
+ }
2886
+ }
2887
+ .slider-item {
2888
+ a.iasd-app-card {
2889
+ h3 {
2890
+ font-size: 14px !important;
2891
+ line-height: 17px !important;
2892
+ margin: 0 0 10px 0 !important; // Alterado de 10px por WDR
2893
+ font-weight: 900 !important;
2894
+ width: 140px;
2895
+ white-space: nowrap;
2896
+ overflow: hidden;
2897
+ text-overflow: ellipsis;
2898
+ color: $theme-main-color; // alterado WDR.
2899
+ }
2900
+ &:hover {
2901
+ border: solid 1px $border-base !important;
2902
+ }
2903
+ .iasd-tag {
2904
+ background: $theme-main-color; //IE8 Fallback :(
2905
+ background: rgba($theme-main-color, .9);
2906
+ height: 20px !important;
2907
+ left: 0 !important;
2908
+ margin: 0;
2909
+ max-width: 90%;
2910
+ overflow: visible;
2911
+ padding: 0;
2912
+ position: absolute;
2913
+ width: 70px;
2914
+ margin-top: 10px;
2915
+ z-index: 10 !important;
2916
+ span {
2917
+ @include text-overflow();
2918
+ color: $body-bg;
2919
+ display: inline-block;
2920
+ font-family: $alt-font-family-sans-serif;
2921
+ font-size: 10px;
2922
+ font-weight: 500;
2923
+ line-height: 12px;
2924
+ padding: 5px 5px;
2925
+ text-transform: uppercase;
2926
+ width: 100%;
2927
+ }
2928
+ &:after {
2929
+ border: {
2930
+ color: transparent transparent transparent $theme-main-color; //IE8 Fallback :(
2931
+ color: transparent transparent transparent rgba($theme-main-color, .9);
2932
+ style: solid;
2933
+ width: 10px 0 10px 7px;
2934
+ }
2935
+ content: '';
2936
+ height: 0px;
2937
+ position: absolute;
2938
+ right: -7px;
2939
+ top: 0;
2940
+ width: 0px;
2941
+ }
2942
+ }
2943
+ }
2944
+ }
2945
+ }
2946
+
2947
+
2948
+
2949
+
2482
2950
 
2483
2951
 
2484
2952
 
@@ -25,20 +25,20 @@
25
25
  @import "bootstrap/input-groups";
26
26
  @import "bootstrap/navs";
27
27
  @import "bootstrap/navbar";
28
- @import "bootstrap/breadcrumbs";
28
+ //@import "bootstrap/breadcrumbs";
29
29
  @import "bootstrap/pagination";
30
30
  @import "bootstrap/pager";
31
- @import "bootstrap/labels";
32
- @import "bootstrap/badges";
31
+ //@import "bootstrap/labels";
32
+ //@import "bootstrap/badges";
33
33
  @import "bootstrap/jumbotron";
34
34
  @import "bootstrap/thumbnails";
35
- @import "bootstrap/alerts";
36
- @import "bootstrap/progress-bars";
35
+ //@import "bootstrap/alerts";
36
+ //@import "bootstrap/progress-bars";
37
37
  @import "bootstrap/media";
38
38
  @import "bootstrap/list-group";
39
- @import "bootstrap/panels";
39
+ //@import "bootstrap/panels";
40
40
  @import "bootstrap/wells";
41
- @import "bootstrap/close";
41
+ //@import "bootstrap/close";
42
42
 
43
43
  // Components w/ JavaScript
44
44
  @import "bootstrap/modals";
@@ -60,6 +60,8 @@
60
60
  @import "iasd-base";
61
61
 
62
62
  // IASD Bootstrap Components
63
+ @import "iasd-block-grid";
64
+
63
65
  @import "iasd-global-nav";
64
66
  @import "iasd-main-nav";
65
67
  @import "iasd-dropdown-nav";
@@ -67,4 +69,6 @@
67
69
  @import "iasd-footer";
68
70
  @import "iasd-widgets";
69
71
  @import "iasd-plugins";
70
- @import "iasd-templates";
72
+ @import "iasd-templates";
73
+ // @import "iasd-templates-apps";
74
+ @import "iasd-special-components";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * IASD Bootstrap v1.5.0 (http://styleguide.adventistas.org)
2
+ * IASD Bootstrap v1.6.0 (http://styleguide.adventistas.org)
3
3
  * Copyright 2014-2015 Igreja Adventista do Sétimo Dia
4
4
  * Licensed under MIT (https://github.com/igrejaadventista/styleguide/blob/master/LICENSE)
5
5
  */
@@ -1900,6 +1900,9 @@ if (!window.matchMedia){ window.matchMedia = function(){ return { matches:false
1900
1900
  owlPlugin.initNewsstandCarouselSmall();
1901
1901
  owlPlugin.initNewsstandCarouselLarge();
1902
1902
  owlPlugin.initInstitutionalCarousel();
1903
+ owlPlugin.initAppCarousel();
1904
+ owlPlugin.initHighlightAppCarousel();
1905
+ owlPlugin.initAppScreenShotsCarousel();
1903
1906
  $('.iasd-images-gallery').IASDImageGallery();
1904
1907
 
1905
1908
  if(owlCarousels.length > 0) {
@@ -2099,6 +2102,78 @@ if (!window.matchMedia){ window.matchMedia = function(){ return { matches:false
2099
2102
  itemsMobile: [479,1]
2100
2103
  }).data('owlCarousel'));
2101
2104
  }
2105
+ },
2106
+
2107
+ initAppCarousel : function(){
2108
+ var element = $(".iasd-apps");
2109
+ if(element.length > 0) {
2110
+ owlCarousels.push(element.owlCarousel({
2111
+ navigation : true,
2112
+ items : 5,
2113
+ itemsDesktop : [1200,5],
2114
+ itemsDesktopSmall : [991,3],
2115
+ itemsTablet : [768,4],
2116
+ itemsTabletSmall : [627,3],
2117
+ itemsMobile: [479,2],
2118
+ slideSpeed : 500,
2119
+ pagination : false,
2120
+ paginationSpeed : 1000,
2121
+ autoPlay: false,
2122
+ navigationText: false,
2123
+ stopOnHover: true,
2124
+ mouseDrag: false,
2125
+ touchDrag: false,
2126
+ lazyLoad : true
2127
+ }).data('owlCarousel'));
2128
+ }
2129
+ },
2130
+
2131
+ initHighlightAppCarousel : function(){
2132
+ var element = $(".iasd-highlight-apps-carousel");
2133
+ if(element.length > 0) {
2134
+ owlCarousels.push(element.owlCarousel({
2135
+ navigation : true,
2136
+ items : 4,
2137
+ itemsDesktop : [1200,4],
2138
+ itemsDesktopSmall : [991,3],
2139
+ itemsTablet : [768,3],
2140
+ itemsTabletSmall : [627,3],
2141
+ itemsMobile: [479,2],
2142
+ slideSpeed : 500,
2143
+ pagination : false,
2144
+ paginationSpeed : 1000,
2145
+ autoPlay: false,
2146
+ navigationText: false,
2147
+ stopOnHover: true,
2148
+ mouseDrag: false,
2149
+ touchDrag: false,
2150
+ lazyLoad : true
2151
+ }).data('owlCarousel'));
2152
+ }
2153
+ },
2154
+
2155
+ initAppScreenShotsCarousel : function(){
2156
+ var element = $(".iasd-app-screen-shots");
2157
+ if(element.length > 0) {
2158
+ owlCarousels.push(element.owlCarousel({
2159
+ navigation : true,
2160
+ items : 4,
2161
+ itemsDesktop : [1200,4],
2162
+ itemsDesktopSmall : [991,4],
2163
+ itemsTablet : [768,3],
2164
+ itemsTabletSmall : [627,2],
2165
+ itemsMobile: [479,1],
2166
+ slideSpeed : 500,
2167
+ pagination : false,
2168
+ paginationSpeed : 1000,
2169
+ autoPlay: false,
2170
+ navigationText: false,
2171
+ stopOnHover: true,
2172
+ mouseDrag: false,
2173
+ touchDrag: false,
2174
+ lazyLoad : true
2175
+ }).data('owlCarousel'));
2176
+ }
2102
2177
  }
2103
2178
 
2104
2179
  };