Plugin Directory

Changeset 1323880


Ignore:
Timestamp:
01/08/2016 10:22:43 AM (10 years ago)
Author:
kopatheme
Message:

Updated new version

Location:
kopatheme
Files:
34 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • kopatheme/trunk/assets/css/widget.css

    r1208795 r1323880  
    66    margin-top: 6px;   
    77}
     8
     9/* advanced fields */
     10.kf-row:before, .kf-row:after {
     11    display: table;
     12    content: " ";
     13}
     14.kf-row:after {
     15    clear: both;
     16}
     17.kf-row, .kf-row *, .kf-row:before, .kf-row:after {
     18    -webkit-box-sizing: border-box;
     19    -moz-box-sizing: border-box;
     20    box-sizing: border-box;
     21}
     22.kf-col-xs-1,
     23.kf-col-sm-1,
     24.kf-col-md-1,
     25.kf-col-lg-1,
     26.kf-col-xs-2,
     27.kf-col-sm-2,
     28.kf-col-md-2,
     29.kf-col-lg-2,
     30.kf-col-xs-3,
     31.kf-col-sm-3,
     32.kf-col-md-3,
     33.kf-col-lg-3,
     34.kf-col-xs-4,
     35.kf-col-sm-4,
     36.kf-col-md-4,
     37.kf-col-lg-4,
     38.kf-col-xs-5,
     39.kf-col-sm-5,
     40.kf-col-md-5,
     41.kf-col-lg-5,
     42.kf-col-xs-6,
     43.kf-col-sm-6,
     44.kf-col-md-6,
     45.kf-col-lg-6,
     46.kf-col-xs-7,
     47.kf-col-sm-7,
     48.kf-col-md-7,
     49.kf-col-lg-7,
     50.kf-col-xs-8,
     51.kf-col-sm-8,
     52.kf-col-md-8,
     53.kf-col-lg-8,
     54.kf-col-xs-9,
     55.kf-col-sm-9,
     56.kf-col-md-9,
     57.kf-col-lg-9,
     58.kf-col-xs-10,
     59.kf-col-sm-10,
     60.kf-col-md-10,
     61.kf-col-lg-10,
     62.kf-col-xs-11,
     63.kf-col-sm-11,
     64.kf-col-md-11,
     65.kf-col-lg-11,
     66.kf-col-xs-12,
     67.kf-col-sm-12,
     68.kf-col-md-12,
     69.kf-col-lg-12 {
     70    float: left !important;
     71    position: relative;
     72    min-height: 1px;
     73    padding-right: 15px;
     74    padding-left: 15px;
     75}
     76
     77.kf-col-xs-12 {
     78    width: 100%;
     79}
     80
     81.kf-col-xs-11 {
     82    width: 91.66666666666666%;
     83}
     84
     85.kf-col-xs-10 {
     86    width: 83.33333333333334%;
     87}
     88
     89.kf-col-xs-9 {
     90    width: 75%;
     91}
     92
     93.kf-col-xs-8 {
     94    width: 66.66666666666666%;
     95}
     96
     97.kf-col-xs-7 {
     98    width: 58.333333333333336%;
     99}
     100
     101.kf-col-xs-6 {
     102    width: 50%;
     103}
     104
     105.kf-col-xs-5 {
     106    width: 41.66666666666667%;
     107}
     108
     109.kf-col-xs-4 {
     110    width: 33.33333333333333%;
     111}
     112
     113.kf-col-xs-3 {
     114    width: 25%;
     115}
     116
     117.kf-col-xs-2 {
     118    width: 16.666666666666664%;
     119}
     120
     121.kf-col-xs-1 {
     122    width: 8.333333333333332%;
     123}
     124
     125.kf-col-xs-pull-12 {
     126    right: 100%;
     127}
     128
     129.kf-col-xs-pull-11 {
     130    right: 91.66666666666666%;
     131}
     132
     133.kf-col-xs-pull-10 {
     134    right: 83.33333333333334%;
     135}
     136
     137.kf-col-xs-pull-9 {
     138    right: 75%;
     139}
     140
     141.kf-col-xs-pull-8 {
     142    right: 66.66666666666666%;
     143}
     144
     145.kf-col-xs-pull-7 {
     146    right: 58.333333333333336%;
     147}
     148
     149.kf-col-xs-pull-6 {
     150    right: 50%;
     151}
     152
     153.kf-col-xs-pull-5 {
     154    right: 41.66666666666667%;
     155}
     156
     157.kf-col-xs-pull-4 {
     158    right: 33.33333333333333%;
     159}
     160
     161.kf-col-xs-pull-3 {
     162    right: 25%;
     163}
     164
     165.kf-col-xs-pull-2 {
     166    right: 16.666666666666664%;
     167}
     168
     169.kf-col-xs-pull-1 {
     170    right: 8.333333333333332%;
     171}
     172
     173.kf-col-xs-pull-0 {
     174    right: 0;
     175}
     176
     177.kf-col-xs-push-12 {
     178    left: 100%;
     179}
     180
     181.kf-col-xs-push-11 {
     182    left: 91.66666666666666%;
     183}
     184
     185.kf-col-xs-push-10 {
     186    left: 83.33333333333334%;
     187}
     188
     189.kf-col-xs-push-9 {
     190    left: 75%;
     191}
     192
     193.kf-col-xs-push-8 {
     194    left: 66.66666666666666%;
     195}
     196
     197.kf-col-xs-push-7 {
     198    left: 58.333333333333336%;
     199}
     200
     201.kf-col-xs-push-6 {
     202    left: 50%;
     203}
     204
     205.kf-col-xs-push-5 {
     206    left: 41.66666666666667%;
     207}
     208
     209.kf-col-xs-push-4 {
     210    left: 33.33333333333333%;
     211}
     212
     213.kf-col-xs-push-3 {
     214    left: 25%;
     215}
     216
     217.kf-col-xs-push-2 {
     218    left: 16.666666666666664%;
     219}
     220
     221.kf-col-xs-push-1 {
     222    left: 8.333333333333332%;
     223}
     224
     225.kf-col-xs-push-0 {
     226    left: 0;
     227}
     228
     229.kf-col-xs-offset-12 {
     230    margin-left: 100%;
     231}
     232
     233.kf-col-xs-offset-11 {
     234    margin-left: 91.66666666666666%;
     235}
     236
     237.kf-col-xs-offset-10 {
     238    margin-left: 83.33333333333334%;
     239}
     240
     241.kf-col-xs-offset-9 {
     242    margin-left: 75%;
     243}
     244
     245.kf-col-xs-offset-8 {
     246    margin-left: 66.66666666666666%;
     247}
     248
     249.kf-col-xs-offset-7 {
     250    margin-left: 58.333333333333336%;
     251}
     252
     253.kf-col-xs-offset-6 {
     254    margin-left: 50%;
     255}
     256
     257.kf-col-xs-offset-5 {
     258    margin-left: 41.66666666666667%;
     259}
     260
     261.kf-col-xs-offset-4 {
     262    margin-left: 33.33333333333333%;
     263}
     264
     265.kf-col-xs-offset-3 {
     266    margin-left: 25%;
     267}
     268
     269.kf-col-xs-offset-2 {
     270    margin-left: 16.666666666666664%;
     271}
     272
     273.kf-col-xs-offset-1 {
     274    margin-left: 8.333333333333332%;
     275}
     276
     277.kf-col-xs-offset-0 {
     278    margin-left: 0;
     279}
     280
     281@media (min-width: 768px) {
     282    .kf-col-sm-1,
     283    .kf-col-sm-2,
     284    .kf-col-sm-3,
     285    .kf-col-sm-4,
     286    .kf-col-sm-5,
     287    .kf-col-sm-6,
     288    .kf-col-sm-7,
     289    .kf-col-sm-8,
     290    .kf-col-sm-9,
     291    .kf-col-sm-10,
     292    .kf-col-sm-11,
     293    .kf-col-sm-12 {
     294        float: left;
     295    }
     296
     297    .kf-col-sm-12 {
     298        width: 100%;
     299    }
     300
     301    .kf-col-sm-11 {
     302        width: 91.66666666666666%;
     303    }
     304
     305    .kf-col-sm-10 {
     306        width: 83.33333333333334%;
     307    }
     308
     309    .kf-col-sm-9 {
     310        width: 75%;
     311    }
     312
     313    .kf-col-sm-8 {
     314        width: 66.66666666666666%;
     315    }
     316
     317    .kf-col-sm-7 {
     318        width: 58.333333333333336%;
     319    }
     320
     321    .kf-col-sm-6 {
     322        width: 50%;
     323    }
     324
     325    .kf-col-sm-5 {
     326        width: 41.66666666666667%;
     327    }
     328
     329    .kf-col-sm-4 {
     330        width: 33.33333333333333%;
     331    }
     332
     333    .kf-col-sm-3 {
     334        width: 25%;
     335    }
     336
     337    .kf-col-sm-2 {
     338        width: 16.666666666666664%;
     339    }
     340
     341    .kf-col-sm-1 {
     342        width: 8.333333333333332%;
     343    }
     344
     345    .kf-col-sm-pull-12 {
     346        right: 100%;
     347    }
     348
     349    .kf-col-sm-pull-11 {
     350        right: 91.66666666666666%;
     351    }
     352
     353    .kf-col-sm-pull-10 {
     354        right: 83.33333333333334%;
     355    }
     356
     357    .kf-col-sm-pull-9 {
     358        right: 75%;
     359    }
     360
     361    .kf-col-sm-pull-8 {
     362        right: 66.66666666666666%;
     363    }
     364
     365    .kf-col-sm-pull-7 {
     366        right: 58.333333333333336%;
     367    }
     368
     369    .kf-col-sm-pull-6 {
     370        right: 50%;
     371    }
     372
     373    .kf-col-sm-pull-5 {
     374        right: 41.66666666666667%;
     375    }
     376
     377    .kf-col-sm-pull-4 {
     378        right: 33.33333333333333%;
     379    }
     380
     381    .kf-col-sm-pull-3 {
     382        right: 25%;
     383    }
     384
     385    .kf-col-sm-pull-2 {
     386        right: 16.666666666666664%;
     387    }
     388
     389    .kf-col-sm-pull-1 {
     390        right: 8.333333333333332%;
     391    }
     392
     393    .kf-col-sm-pull-0 {
     394        right: 0;
     395    }
     396
     397    .kf-col-sm-push-12 {
     398        left: 100%;
     399    }
     400
     401    .kf-col-sm-push-11 {
     402        left: 91.66666666666666%;
     403    }
     404
     405    .kf-col-sm-push-10 {
     406        left: 83.33333333333334%;
     407    }
     408
     409    .kf-col-sm-push-9 {
     410        left: 75%;
     411    }
     412
     413    .kf-col-sm-push-8 {
     414        left: 66.66666666666666%;
     415    }
     416
     417    .kf-col-sm-push-7 {
     418        left: 58.333333333333336%;
     419    }
     420
     421    .kf-col-sm-push-6 {
     422        left: 50%;
     423    }
     424
     425    .kf-col-sm-push-5 {
     426        left: 41.66666666666667%;
     427    }
     428
     429    .kf-col-sm-push-4 {
     430        left: 33.33333333333333%;
     431    }
     432
     433    .kf-col-sm-push-3 {
     434        left: 25%;
     435    }
     436
     437    .kf-col-sm-push-2 {
     438        left: 16.666666666666664%;
     439    }
     440
     441    .kf-col-sm-push-1 {
     442        left: 8.333333333333332%;
     443    }
     444
     445    .kf-col-sm-push-0 {
     446        left: 0;
     447    }
     448
     449    .kf-col-sm-offset-12 {
     450        margin-left: 100%;
     451    }
     452
     453    .kf-col-sm-offset-11 {
     454        margin-left: 91.66666666666666%;
     455    }
     456
     457    .kf-col-sm-offset-10 {
     458        margin-left: 83.33333333333334%;
     459    }
     460
     461    .kf-col-sm-offset-9 {
     462        margin-left: 75%;
     463    }
     464
     465    .kf-col-sm-offset-8 {
     466        margin-left: 66.66666666666666%;
     467    }
     468
     469    .kf-col-sm-offset-7 {
     470        margin-left: 58.333333333333336%;
     471    }
     472
     473    .kf-col-sm-offset-6 {
     474        margin-left: 50%;
     475    }
     476
     477    .kf-col-sm-offset-5 {
     478        margin-left: 41.66666666666667%;
     479    }
     480
     481    .kf-col-sm-offset-4 {
     482        margin-left: 33.33333333333333%;
     483    }
     484
     485    .kf-col-sm-offset-3 {
     486        margin-left: 25%;
     487    }
     488
     489    .kf-col-sm-offset-2 {
     490        margin-left: 16.666666666666664%;
     491    }
     492
     493    .kf-col-sm-offset-1 {
     494        margin-left: 8.333333333333332%;
     495    }
     496
     497    .kf-col-sm-offset-0 {
     498        margin-left: 0;
     499    }
     500}
     501@media (min-width: 992px) {
     502    .kf-col-md-1,
     503    .kf-col-md-2,
     504    .kf-col-md-3,
     505    .kf-col-md-4,
     506    .kf-col-md-5,
     507    .kf-col-md-6,
     508    .kf-col-md-7,
     509    .kf-col-md-8,
     510    .kf-col-md-9,
     511    .kf-col-md-10,
     512    .kf-col-md-11,
     513    .kf-col-md-12 {
     514        float: left;
     515    }
     516
     517    .kf-col-md-12 {
     518        width: 100%;
     519    }
     520
     521    .kf-col-md-11 {
     522        width: 91.66666666666666%;
     523    }
     524
     525    .kf-col-md-10 {
     526        width: 83.33333333333334%;
     527    }
     528
     529    .kf-col-md-9 {
     530        width: 75%;
     531    }
     532
     533    .kf-col-md-8 {
     534        width: 66.66666666666666%;
     535    }
     536
     537    .kf-col-md-7 {
     538        width: 58.333333333333336%;
     539    }
     540
     541    .kf-col-md-6 {
     542        width: 50%;
     543    }
     544
     545    .kf-col-md-5 {
     546        width: 41.66666666666667%;
     547    }
     548
     549    .kf-col-md-4 {
     550        width: 33.33333333333333%;
     551    }
     552
     553    .kf-col-md-3 {
     554        width: 25%;
     555    }
     556
     557    .kf-col-md-2 {
     558        width: 16.666666666666664%;
     559    }
     560
     561    .kf-col-md-1 {
     562        width: 8.333333333333332%;
     563    }
     564
     565    .kf-col-md-pull-12 {
     566        right: 100%;
     567    }
     568
     569    .kf-col-md-pull-11 {
     570        right: 91.66666666666666%;
     571    }
     572
     573    .kf-col-md-pull-10 {
     574        right: 83.33333333333334%;
     575    }
     576
     577    .kf-col-md-pull-9 {
     578        right: 75%;
     579    }
     580
     581    .kf-col-md-pull-8 {
     582        right: 66.66666666666666%;
     583    }
     584
     585    .kf-col-md-pull-7 {
     586        right: 58.333333333333336%;
     587    }
     588
     589    .kf-col-md-pull-6 {
     590        right: 50%;
     591    }
     592
     593    .kf-col-md-pull-5 {
     594        right: 41.66666666666667%;
     595    }
     596
     597    .kf-col-md-pull-4 {
     598        right: 33.33333333333333%;
     599    }
     600
     601    .kf-col-md-pull-3 {
     602        right: 25%;
     603    }
     604
     605    .kf-col-md-pull-2 {
     606        right: 16.666666666666664%;
     607    }
     608
     609    .kf-col-md-pull-1 {
     610        right: 8.333333333333332%;
     611    }
     612
     613    .kf-col-md-pull-0 {
     614        right: 0;
     615    }
     616
     617    .kf-col-md-push-12 {
     618        left: 100%;
     619    }
     620
     621    .kf-col-md-push-11 {
     622        left: 91.66666666666666%;
     623    }
     624
     625    .kf-col-md-push-10 {
     626        left: 83.33333333333334%;
     627    }
     628
     629    .kf-col-md-push-9 {
     630        left: 75%;
     631    }
     632
     633    .kf-col-md-push-8 {
     634        left: 66.66666666666666%;
     635    }
     636
     637    .kf-col-md-push-7 {
     638        left: 58.333333333333336%;
     639    }
     640
     641    .kf-col-md-push-6 {
     642        left: 50%;
     643    }
     644
     645    .kf-col-md-push-5 {
     646        left: 41.66666666666667%;
     647    }
     648
     649    .kf-col-md-push-4 {
     650        left: 33.33333333333333%;
     651    }
     652
     653    .kf-col-md-push-3 {
     654        left: 25%;
     655    }
     656
     657    .kf-col-md-push-2 {
     658        left: 16.666666666666664%;
     659    }
     660
     661    .kf-col-md-push-1 {
     662        left: 8.333333333333332%;
     663    }
     664
     665    .kf-col-md-push-0 {
     666        left: 0;
     667    }
     668
     669    .kf-col-md-offset-12 {
     670        margin-left: 100%;
     671    }
     672
     673    .kf-col-md-offset-11 {
     674        margin-left: 91.66666666666666%;
     675    }
     676
     677    .kf-col-md-offset-10 {
     678        margin-left: 83.33333333333334%;
     679    }
     680
     681    .kf-col-md-offset-9 {
     682        margin-left: 75%;
     683    }
     684
     685    .kf-col-md-offset-8 {
     686        margin-left: 66.66666666666666%;
     687    }
     688
     689    .kf-col-md-offset-7 {
     690        margin-left: 58.333333333333336%;
     691    }
     692
     693    .kf-col-md-offset-6 {
     694        margin-left: 50%;
     695    }
     696
     697    .kf-col-md-offset-5 {
     698        margin-left: 41.66666666666667%;
     699    }
     700
     701    .kf-col-md-offset-4 {
     702        margin-left: 33.33333333333333%;
     703    }
     704
     705    .kf-col-md-offset-3 {
     706        margin-left: 25%;
     707    }
     708
     709    .kf-col-md-offset-2 {
     710        margin-left: 16.666666666666664%;
     711    }
     712
     713    .kf-col-md-offset-1 {
     714        margin-left: 8.333333333333332%;
     715    }
     716
     717    .kf-col-md-offset-0 {
     718        margin-left: 0;
     719    }
     720}
     721@media (min-width: 1200px) {
     722    .kf-col-lg-1,
     723    .kf-col-lg-2,
     724    .kf-col-lg-3,
     725    .kf-col-lg-4,
     726    .kf-col-lg-5,
     727    .kf-col-lg-6,
     728    .kf-col-lg-7,
     729    .kf-col-lg-8,
     730    .kf-col-lg-9,
     731    .kf-col-lg-10,
     732    .kf-col-lg-11,
     733    .kf-col-lg-12 {
     734        float: left;
     735    }
     736
     737    .kf-col-lg-12 {
     738        width: 100%;
     739    }
     740
     741    .kf-col-lg-11 {
     742        width: 91.66666666666666%;
     743    }
     744
     745    .kf-col-lg-10 {
     746        width: 83.33333333333334%;
     747    }
     748
     749    .kf-col-lg-9 {
     750        width: 75%;
     751    }
     752
     753    .kf-col-lg-8 {
     754        width: 66.66666666666666%;
     755    }
     756
     757    .kf-col-lg-7 {
     758        width: 58.333333333333336%;
     759    }
     760
     761    .kf-col-lg-6 {
     762        width: 50%;
     763    }
     764
     765    .kf-col-lg-5 {
     766        width: 41.66666666666667%;
     767    }
     768
     769    .kf-col-lg-4 {
     770        width: 33.33333333333333%;
     771    }
     772
     773    .kf-col-lg-3 {
     774        width: 25%;
     775    }
     776
     777    .kf-col-lg-2 {
     778        width: 16.666666666666664%;
     779    }
     780
     781    .kf-col-lg-1 {
     782        width: 8.333333333333332%;
     783    }
     784
     785    .kf-col-lg-pull-12 {
     786        right: 100%;
     787    }
     788
     789    .kf-col-lg-pull-11 {
     790        right: 91.66666666666666%;
     791    }
     792
     793    .kf-col-lg-pull-10 {
     794        right: 83.33333333333334%;
     795    }
     796
     797    .kf-col-lg-pull-9 {
     798        right: 75%;
     799    }
     800
     801    .kf-col-lg-pull-8 {
     802        right: 66.66666666666666%;
     803    }
     804
     805    .kf-col-lg-pull-7 {
     806        right: 58.333333333333336%;
     807    }
     808
     809    .kf-col-lg-pull-6 {
     810        right: 50%;
     811    }
     812
     813    .kf-col-lg-pull-5 {
     814        right: 41.66666666666667%;
     815    }
     816
     817    .kf-col-lg-pull-4 {
     818        right: 33.33333333333333%;
     819    }
     820
     821    .kf-col-lg-pull-3 {
     822        right: 25%;
     823    }
     824
     825    .kf-col-lg-pull-2 {
     826        right: 16.666666666666664%;
     827    }
     828
     829    .kf-col-lg-pull-1 {
     830        right: 8.333333333333332%;
     831    }
     832
     833    .kf-col-lg-pull-0 {
     834        right: 0;
     835    }
     836
     837    .kf-col-lg-push-12 {
     838        left: 100%;
     839    }
     840
     841    .kf-col-lg-push-11 {
     842        left: 91.66666666666666%;
     843    }
     844
     845    .kf-col-lg-push-10 {
     846        left: 83.33333333333334%;
     847    }
     848
     849    .kf-col-lg-push-9 {
     850        left: 75%;
     851    }
     852
     853    .kf-col-lg-push-8 {
     854        left: 66.66666666666666%;
     855    }
     856
     857    .kf-col-lg-push-7 {
     858        left: 58.333333333333336%;
     859    }
     860
     861    .kf-col-lg-push-6 {
     862        left: 50%;
     863    }
     864
     865    .kf-col-lg-push-5 {
     866        left: 41.66666666666667%;
     867    }
     868
     869    .kf-col-lg-push-4 {
     870        left: 33.33333333333333%;
     871    }
     872
     873    .kf-col-lg-push-3 {
     874        left: 25%;
     875    }
     876
     877    .kf-col-lg-push-2 {
     878        left: 16.666666666666664%;
     879    }
     880
     881    .kf-col-lg-push-1 {
     882        left: 8.333333333333332%;
     883    }
     884
     885    .kf-col-lg-push-0 {
     886        left: 0;
     887    }
     888
     889    .kf-col-lg-offset-12 {
     890        margin-left: 100%;
     891    }
     892
     893    .kf-col-lg-offset-11 {
     894        margin-left: 91.66666666666666%;
     895    }
     896
     897    .kf-col-lg-offset-10 {
     898        margin-left: 83.33333333333334%;
     899    }
     900
     901    .kf-col-lg-offset-9 {
     902        margin-left: 75%;
     903    }
     904
     905    .kf-col-lg-offset-8 {
     906        margin-left: 66.66666666666666%;
     907    }
     908
     909    .kf-col-lg-offset-7 {
     910        margin-left: 58.333333333333336%;
     911    }
     912
     913    .kf-col-lg-offset-6 {
     914        margin-left: 50%;
     915    }
     916
     917    .kf-col-lg-offset-5 {
     918        margin-left: 41.66666666666667%;
     919    }
     920
     921    .kf-col-lg-offset-4 {
     922        margin-left: 33.33333333333333%;
     923    }
     924
     925    .kf-col-lg-offset-3 {
     926        margin-left: 25%;
     927    }
     928
     929    .kf-col-lg-offset-2 {
     930        margin-left: 16.666666666666664%;
     931    }
     932
     933    .kf-col-lg-offset-1 {
     934        margin-left: 8.333333333333332%;
     935    }
     936
     937    .kf-col-lg-offset-0 {
     938        margin-left: 0;
     939    }
     940}
     941.upside-block {
     942    margin-top: 15px;
     943    margin-bottom: 0px;
     944}
     945.upside-block.upside-block-first {
     946    margin-top: 0px;
     947}
     948
     949.upside-hide {
     950    display: none;
     951}
     952
     953.upside-ligtbox-size-s {
     954    width: 400px;
     955}
     956
     957.kf-icon-picker-preview {
     958    margin-top: 12px;
     959    padding-left: 5px;
     960}
     961.upside-icon-picker-select {
     962    margin-bottom: 15px;
     963}
     964.kf-icon-picker-preview [class^="flaticon-"]::before, .kf-icon-picker-preview [class*=" flaticon-"]::before, .kf-icon-picker-preview [class^="flaticon-"]::after, .kf-icon-picker-preview [class*=" flaticon-"]::after,
     965.kf-icon-picker-preview i {
     966    font-size: 36px !important;
     967    color: #666;
     968}
     969.kf-list-of-icon {
     970    padding: 6px 12px;
     971}
     972.kf-list-of-icon .kf-row.kf-wrap {
     973    border-top: 1px solid #e5e5e5;
     974    border-left: 1px solid #e5e5e5;
     975}
     976.kf-list-of-icon span {
     977    height: 50px;
     978    line-height: 50px;
     979    text-align: center;
     980    border-right: 1px solid #e5e5e5;
     981    border-bottom: 1px solid #e5e5e5;
     982    cursor: pointer;
     983}
     984.kf-list-of-icon span i {
     985    font-size: 16px;
     986    color: #444;
     987}
     988.kf-list-of-icon span.upside-active, .kf-list-of-icon span:hover {
     989    background-color: #1e8cbe;
     990}
     991.kf-list-of-icon span.upside-active i, .kf-list-of-icon span:hover i {
     992    color: #FFF;
     993}
     994.kf-list-of-icon .kf-textbox {
     995    width: 100%;
     996    margin-bottom: 24px;
     997    height: 25px;
     998    line-height: 25px;
     999    padding: 0px 12px;
     1000}
     1001/* wrapper metabox */
     1002.kopa-metabox-wrap {
     1003    margin-top: 12px;
     1004    padding-top: 12px;
     1005    border-top: 1px solid #eee;
     1006}
     1007.kopa-metabox-wrap.kopa-metabox-wrap-first {
     1008    margin-top: 12px;
     1009    padding-top: 0px;
     1010    border-top: none;
     1011}
     1012.kopa-metabox-wrap .kopa-help {
     1013    font-size: 85%;
     1014    font-style: italic;
     1015}
  • kopatheme/trunk/includes/abstracts/abstract-kopa-widget.php

    r1231034 r1323880  
    115115        foreach ( $this->settings as $key => $setting ) {
    116116            $output = null;
    117 
    118117            if ( isset( $new_instance[ $key ] ) ) {
    119118                if ( is_array( $new_instance[ $key ] ) ) {
     
    130129                        $output = stripslashes( wp_filter_post_kses( addslashes($new_instance[ $key ]) ) ); // wp_filter_post_kses() expects slashed
    131130                    }
    132                 } else {
     131                } elseif ( 'datetime' === $setting['type'] ) {
     132                    $output = strtotime( $new_instance[ $key ] );
     133                }
     134                else {
    133135                    $output = sanitize_text_field( $new_instance[ $key ] );
    134136                }
     
    188190                'mimes'   => '',
    189191                'css'     => '',
     192                // datetime
     193                'format'    => 'Y/m/d H:i',
     194                'datepicker' => true,
     195                'timepicker' => true
    190196                )));
    191197
     
    299305                    </div>
    300306                    <?php
    301                     break;             
     307                    break;
     308
     309                case "datetime":
     310                    $date_value_time = '';
     311                    if ( isset($setting['format']) && ! empty($value) ) {
     312                        $date_value_time = date($setting['format'],$value);
     313                    }
     314                ?>
     315                    <p>
     316                        <label for="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"><?php echo esc_html( $setting['label'] ); ?></label>
     317                        <input
     318                            class="widefat kopa-framework-datetime"
     319                            type="text"
     320                            name="<?php echo esc_attr( $this->get_field_name( $key ) ); ?>"
     321                            id="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"
     322                            value="<?php echo esc_attr($date_value_time);?>"
     323                            data-timepicker="<?php echo esc_attr($setting['timepicker']); ?>"
     324                            data-datepicker="<?php echo esc_attr($setting['datepicker']); ?>"
     325                            data-format="<?php echo wp_kses_post($setting['format']); ?>"
     326                            autocomplete="off">
     327                        <?php echo wp_kses_post($setting['desc']); ?>
     328                    </p>
     329                    <?php break;
     330
     331                case 'gallery': ?>
     332                    <div class="kopa-framework-gallery-box">
     333                        <label for="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"><?php echo esc_html( $setting['label'] ); ?></label><br/>
     334                        <input
     335                            class="widefat kopa-framework-gallery"
     336                            type="text"
     337                            name="<?php echo esc_attr( $this->get_field_name( $key ) ); ?>"
     338                            id="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"
     339                            value="<?php echo esc_attr($value);?>"
     340                            autocomplete="off">
     341                        <?php echo wp_kses_post($setting['desc']); ?>
     342                        <a href="#" class="kopa-framework-gallery-config button button-secondary">
     343                            <?php echo esc_html__('Config', 'kopa-framework'); ?>
     344                        </a>
     345                    </div>
     346                    <?php break;
     347
     348                case 'icon': ?>
     349                    <p>
     350                        <label for="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"><?php echo esc_html( $setting['label'] ); ?></label>
     351                        <a class="kf-icon-picker" href="#"><?php echo esc_html__('Select icon', 'kopa-framework'); ?></a>
     352                        <input type="hidden"
     353                               name="<?php echo esc_attr( $this->get_field_name( $key ) ); ?>"
     354                               id="<?php echo esc_attr( $this->get_field_id( $key ) ); ?>"
     355                               value="<?php echo esc_attr($value);?>"
     356                               autocomplete="off"
     357                               class="widefat kf-icon-picker-value"/>
     358                        <span class="kf-icon-picker-preview"><i class="<?php echo esc_attr($value);?>"></i></span>
     359                    </p>
     360                    <?php break;
    302361            }
    303362
  • kopatheme/trunk/includes/admin/class-kopa-admin-assets.php

    r1208795 r1323880  
    5252        wp_register_style( 'kopa_widget', KF()->framework_url() . '/assets/css/widget.css', array(), KOPA_FRAMEWORK_VERSION );
    5353
     54        // Advanced field
     55        $advanced_field = apply_filters('kopa_admin_metabox_advanced_field', false);
     56        if ( $advanced_field ) {
     57            wp_register_style( 'kopa_datetimepicker', KF()->framework_url() . '/assets/css/jquery.datetimepicker.css', array(), KOPA_FRAMEWORK_VERSION );
     58            wp_register_style( 'kopa_font_flaticon', KF()->framework_url() . '/assets/css/flaticon.css', array(), KOPA_FRAMEWORK_VERSION );
     59
     60            wp_register_style('kopa_jquery_ui', KF()->framework_url() . "/assets/css/jquery-ui/jquery-ui.css", array(), NULL);
     61            wp_register_style('kopa_jquery_ui_structure', KF()->framework_url() . "/assets/css/jquery-ui/jquery-ui.structure.css", array(), NULL);
     62            wp_register_style('kopa_jquery_ui_theme', KF()->framework_url() . "/assets/css/jquery-ui/jquery-ui.theme.css", array(), NULL);
     63        }
     64
     65
    5466        if(in_array($hook, array('widgets.php', 'post.php', 'post-new.php'))){
    5567            wp_enqueue_style( 'kopa_widget' );
     68            if ( $advanced_field ) {
     69                wp_enqueue_style( 'kopa_datetimepicker' );
     70                wp_enqueue_style( 'kopa_font_awesome' );
     71                wp_enqueue_style( 'kopa_font_flaticon' );
     72                wp_enqueue_style( 'kopa_jquery_ui' );
     73                wp_enqueue_style( 'kopa_jquery_ui_structure' );
     74                wp_enqueue_style( 'kopa_jquery_ui_theme' );
     75                wp_enqueue_script('jquery-ui-core');
     76                wp_enqueue_script('jquery-ui-dialog');
     77                wp_enqueue_script('jquery-ui-position');
     78                wp_enqueue_script('jquery-ui-droppable');
     79                wp_enqueue_script('jquery-ui-draggable');
     80            }
    5681        }
    5782
     
    93118        wp_register_script( 'kopa_media_uploader', KF()->framework_url() . '/assets/js/media-uploader'.$suffix.'.js', array( 'jquery' ), KOPA_FRAMEWORK_VERSION );
    94119
     120        // script for advanced fields
     121        $advanced_field = apply_filters('kopa_admin_metabox_advanced_field', false);
     122        if ( $advanced_field ) {
     123            wp_register_script( 'kopa_datetimepicker', KF()->framework_url() . '/assets/js/jquery.datetimepicker'.$suffix.'.js', array( 'jquery' ), KOPA_FRAMEWORK_VERSION );
     124            wp_register_script( 'kopa_custom_advanced_fields', KF()->framework_url() . '/assets/js/custom-advanced-fields'.$suffix.'.js', array( 'jquery' ), KOPA_FRAMEWORK_VERSION );
     125            wp_register_script( 'kopa_custom_advanced_fields_gallery', KF()->framework_url() . '/assets/js/gallery'.$suffix.'.js', array( 'jquery' ), KOPA_FRAMEWORK_VERSION );
     126            wp_register_script( 'kopa_custom_advanced_fields_icon_picker', KF()->framework_url() . '/assets/js/icon_picker'.$suffix.'.js', array( 'jquery' ), KOPA_FRAMEWORK_VERSION );
     127        }
     128
    95129        // KopaFramework admin pages
    96130        if ( in_array( $screen->id, kopa_get_screen_ids() ) ) {
     131
    97132            wp_enqueue_script( 'kopa_admin' );
    98133            wp_localize_script( 'kopa_admin', 'kopa_google_fonts', kopa_google_font_property_list_array() );
     
    160195                ) );
    161196
    162 wp_enqueue_script( 'kopa_dynamic_layout' );
    163 }
     197            wp_enqueue_script( 'kopa_dynamic_layout' );
     198            }
    164199
    165200        // script for widget upload fields
     
    173208        wp_enqueue_media();
    174209    }
     210
     211    // advanced fields
     212    if ( $advanced_field ) {
     213        wp_enqueue_script( 'kopa_datetimepicker' );
     214        wp_enqueue_script( 'kopa_custom_advanced_fields' );
     215        wp_localize_script('kopa_custom_advanced_fields', 'kopa_advanced_field', array(
     216            'ajax_url' => admin_url('admin-ajax.php'),
     217            'i18n' => array(
     218                'icon_picker'    => esc_attr__('Icon Picker', 'kopa-framework'),
     219            )
     220        ));
     221    }
    175222} else {
    176223    wp_localize_script( 'kopa_media_uploader', 'kopa_upload_l10n', array(
     
    178225        'remove' => __( 'Remove', 'kopa-framework' ),
    179226        ) );
     227
     228    // advanced fields
     229    if ( $advanced_field ) {
     230        wp_enqueue_script( 'kopa_datetimepicker' );
     231        wp_enqueue_script( 'kopa_custom_advanced_fields' );
     232        wp_localize_script('kopa_custom_advanced_fields', 'kopa_advanced_field', array(
     233            'ajax_url' => admin_url('admin-ajax.php'),
     234            'i18n' => array(
     235                'icon_picker'    => esc_attr__('Icon Picker', 'kopa-framework'),
     236            )
     237        ));
     238
     239    }
    180240}
    181241
  • kopatheme/trunk/includes/admin/class-kopa-admin-meta-box.php

    r1208795 r1323880  
    198198            $option_value = get_post_meta( $post->ID, $value['id'] );
    199199
     200            $advanced_field = apply_filters('kopa_admin_metabox_advanced_field', false);
     201
    200202            if ( empty( $option_value ) ) {
    201203                $option_value = $value['default'];
     
    381383                break;
    382384
     385                case 'datetime':
     386                    if ( $advanced_field ) {
     387                        $date_value_time = '';
     388                        if ( isset($value['format']) && ! empty($option_value) ) {
     389                            $date_value_time = date($value['format'],$option_value);
     390                        }
     391                        if ( ! isset($value['timepicker']) || empty($value['timepicker']) ) {
     392                            $value['timepicker'] = "0";
     393                        }
     394                        if ( ! isset($value['datepicker']) || empty($value['datepicker']) ) {
     395                            $value['datepicker'] = "0";
     396                        }
     397
     398                        $output .= $option_wrap_start;
     399                        $output .= '<input
     400                        class="large-text kopa-framework-datetime"
     401                        type="'.esc_attr( $value['type'] ).'"
     402                        name="'.esc_attr( $value['id'] ).'"
     403                        id="'.esc_attr( $value['id'] ).'"
     404                        value="'. esc_attr( $date_value_time ).'"
     405                        data-timepicker="' . esc_attr($value['timepicker']) . '"
     406                        data-datepicker="' . esc_attr($value['datepicker']) . '"
     407                        data-format="' . wp_kses_post($value['format']) . '"
     408                        autocomplete="off">';
     409                        $output .= $option_wrap_end;
     410                    }
     411
     412                    break;
     413
     414                case 'gallery':
     415                    if ( $advanced_field ) {
     416                        $output .= $option_wrap_start;
     417                        $output .= '<div class="kopa-framework-gallery-box">';
     418                        $output .= '<input
     419                        class="medium-text kopa-framework-gallery"
     420                        type="text"
     421                        name="'.esc_attr( $value['id'] ).'"
     422                        id="'.esc_attr( $value['id'] ).'"
     423                        value="'.esc_attr( $option_value ).'"
     424                        autocomplete="off">';
     425
     426                        $output .= '
     427                            <a href="#" class="kopa-framework-gallery-config button button-secondary">
     428                                ' . esc_html__('Config', 'kopa-framework') . '
     429                            </a>
     430                        ';
     431                        $output .= '</div>';
     432                        $output .= $option_wrap_end;
     433                    }
     434                    break;
     435                case 'icon':
     436                    if ( $advanced_field ) {
     437                        $output .= $option_wrap_start;
     438                        $output .= '<div class="kf-row">';
     439                        $output .= '<div class="kf-col-xs-12">';
     440                        $output .= '<a class="kf-icon-picker" href="#">' . esc_html__('Select icon', 'kopa-framework') . '</a>';
     441                        $output .= '
     442                                <input type="hidden"
     443                                    name="'.esc_attr( $value['id'] ).'"
     444                                    id="'.esc_attr( $value['id'] ).'"
     445                                    value="'.esc_attr( $option_value ).'"
     446                                    autocomplete="off"
     447                                    class="large-text kf-icon-picker-value"/>
     448                            ';
     449
     450                        $output .= '<span class="kf-icon-picker-preview"><i class="'.esc_attr( $option_value ).'"></i></span>';
     451
     452                        $output .= '</div>';
     453                        $output .= '</div>';
     454                        $output .= $option_wrap_end;
     455                    }
     456                    break;
    383457                default:
    384458                    $output .= apply_filters( 'kopa_admin_meta_box_field_' . $value['type'], '', $option_wrap_start, $option_wrap_end, $value, $option_value);
  • kopatheme/trunk/includes/admin/class-kopa-admin.php

    r1208795 r1323880  
    4141        include_once( 'class-kopa-admin-custom-layouts.php' );
    4242        include_once( 'class-kopa-admin-meta-box.php' );
     43        include_once( 'class-kopa-admin-term-meta.php' );
    4344
    4445        // Classes we only need if the ajax is not-ajax
  • kopatheme/trunk/includes/admin/kopa-admin-functions.php

    r1208795 r1323880  
    4747    }
    4848}
     49
     50/**
     51 * Register meta data for term
     52 *
     53 * @uses Kopa_Admin_Term_Meta class
     54 * @param array $args term meta settings
     55 *
     56 * @since 1.0.11
     57 */
     58
     59if ( ! function_exists( 'kopa_register_term_meta' ) ) {
     60    function kopa_register_term_meta( $args = array() ) {
     61        if ( empty( $args ) ) {
     62            return;
     63        }
     64
     65        if ( function_exists('add_term_meta') ) {
     66            new Kopa_Admin_Term_Meta( $args );
     67        } else {
     68            return;
     69        }
     70    }
     71}
  • kopatheme/trunk/includes/class-kopa-ajax.php

    r989825 r1323880  
    114114        die();
    115115    }
     116
     117
    116118}
    117119
    118120new Kopa_Ajax();
     121
     122/* ajax - advanced fields */
     123
     124    add_action( 'wp_ajax_get_lighbox_icons', 'kopa_get_lighbox_icons' );
     125    add_action( 'wp_ajax_nopriv_get_lighbox_icons', 'kopa_get_lighbox_icons' );
     126    if ( ! function_exists('kopa_get_lighbox_icons') ) {
     127        function kopa_get_lighbox_icons(){
     128            $icons = kopa_get_all_icons();
     129            if($icons):
     130                ?>
     131            <div class="kf-list-of-icon">
     132                <div class="kf-row">
     133                    <input type="text"
     134                           value=""
     135                           class="kf-textbox"
     136                           placeholder="<?php echo esc_html__('Search...', 'upside'); ?>"
     137                           onkeyup="KF_Icon_Picker.filter_icons(event, jQuery(this));">
     138                </div>
     139                <div class="kf-row kf-wrap">
     140                    <?php foreach($icons as $key => $val): ?>
     141                    <span class="kf-icon-item kf-col-xs-2" onclick="KF_Icon_Picker.select_a_icon(event, jQuery(this));">
     142                        <i class="<?php echo esc_attr($key); ?>" data-title="<?php echo esc_attr($val); ?>"></i>
     143                    </span>
     144                    <?php endforeach;?>
     145                </div>
     146            </div>
     147            <?php
     148            endif;
     149            exit();
     150        }
     151    }
     152
     153    if ( ! function_exists('kopa_get_all_icons') ) {
     154        function kopa_get_all_icons() {
     155            $icons = array(
     156                ""                           =>"none",
     157                "fa fa-rub"                  =>"rub",
     158                "fa fa-ruble"                =>"ruble",
     159                "fa fa-rouble"               =>"rouble",
     160                "fa fa-pagelines"            =>"pagelines",
     161                "fa fa-stack-exchange"       =>"stack exchange",
     162                "fa fa-arrow-circle-o-right" =>"arrow circle o right",
     163                "fa fa-arrow-circle-o-left"  =>"arrow circle o left",
     164                "fa fa-caret-square-o-left"  =>"caret square o left",
     165                "fa fa-toggle-left"          =>"toggle left",
     166                "fa fa-dot-circle-o"         =>"dot circle o",
     167                "fa fa-wheelchair"           =>"wheelchair",
     168                "fa fa-vimeo-square"         =>"vimeo square",
     169                "fa fa-try"                  =>"try",
     170                "fa fa-turkish-lira"         =>"turkish lira",
     171                "fa fa-plus-square-o"        =>"plus square o",
     172                "fa fa-adjust"               =>"adjust",
     173                "fa fa-anchor"               =>"anchor",
     174                "fa fa-archive"              =>"archive",
     175                "fa fa-arrows"               =>"arrows",
     176                "fa fa-arrows-h"             =>"arrows h",
     177                "fa fa-arrows-v"             =>"arrows v",
     178                "fa fa-asterisk"             =>"asterisk",
     179                "fa fa-ban"                  =>"ban",
     180                "fa fa-bar-chart-o"          =>"bar chart o",
     181                "fa fa-barcode"              =>"barcode",
     182                "fa fa-bars"                 =>"bars",
     183                "fa fa-beer"                 =>"beer",
     184                "fa fa-bell"                 =>"bell",
     185                "fa fa-bell-o"               =>"bell o",
     186                "fa fa-bolt"                 =>"bolt",
     187                "fa fa-book"                 =>"book",
     188                "fa fa-bookmark"             =>"bookmark",
     189                "fa fa-bookmark-o"           =>"bookmark o",
     190                "fa fa-briefcase"            =>"briefcase",
     191                "fa fa-bug"                  =>"bug",
     192                "fa fa-building-o"           =>"building o",
     193                "fa fa-bullhorn"             =>"bullhorn",
     194                "fa fa-bullseye"             =>"bullseye",
     195                "fa fa-calendar"             =>"calendar",
     196                "fa fa-calendar-o"           =>"calendar o",
     197                "fa fa-camera"               =>"camera",
     198                "fa fa-camera-retro"         =>"camera retro",
     199                "fa fa-caret-square-o-down"  =>"caret square o down",
     200                "fa fa-caret-square-o-left"  =>"caret square o left",
     201                "fa fa-caret-square-o-right" =>"caret square o right",
     202                "fa fa-caret-square-o-up"    =>"caret square o up",
     203                "fa fa-certificate"          =>"certificate",
     204                "fa fa-check"                =>"check",
     205                "fa fa-check-circle"         =>"check circle",
     206                "fa fa-check-circle-o"       =>"check circle o",
     207                "fa fa-check-square"         =>"check square",
     208                "fa fa-check-square-o"       =>"check square o",
     209                "fa fa-circle"               =>"circle",
     210                "fa fa-circle-o"             =>"circle o",
     211                "fa fa-clock-o"              =>"clock o",
     212                "fa fa-cloud"                =>"cloud",
     213                "fa fa-cloud-download"       =>"cloud download",
     214                "fa fa-cloud-upload"         =>"cloud upload",
     215                "fa fa-code"                 =>"code",
     216                "fa fa-code-fork"            =>"code fork",
     217                "fa fa-coffee"               =>"coffee",
     218                "fa fa-cog"                  =>"cog",
     219                "fa fa-cogs"                 =>"cogs",
     220                "fa fa-comment"              =>"comment",
     221                "fa fa-comment-o"            =>"comment o",
     222                "fa fa-comments"             =>"comments",
     223                "fa fa-comments-o"           =>"comments o",
     224                "fa fa-compass"              =>"compass",
     225                "fa fa-credit-card"          =>"credit card",
     226                "fa fa-crop"                 =>"crop",
     227                "fa fa-crosshairs"           =>"crosshairs",
     228                "fa fa-cutlery"              =>"cutlery",
     229                "fa fa-dashboard"            =>"dashboard",
     230                "fa fa-desktop"              =>"desktop",
     231                "fa fa-dot-circle-o"         =>"dot circle o",
     232                "fa fa-download"             =>"download",
     233                "fa fa-edit"                 =>"edit",
     234                "fa fa-ellipsis-h"           =>"ellipsis h",
     235                "fa fa-ellipsis-v"           =>"ellipsis v",
     236                "fa fa-envelope"             =>"envelope",
     237                "fa fa-envelope-o"           =>"envelope o",
     238                "fa fa-eraser"               =>"eraser",
     239                "fa fa-exchange"             =>"exchange",
     240                "fa fa-exclamation"          =>"exclamation",
     241                "fa fa-exclamation-circle"   =>"exclamation circle",
     242                "fa fa-exclamation-triangle" =>"exclamation triangle",
     243                "fa fa-external-link"        =>"external link",
     244                "fa fa-external-link-square" =>"external link square",
     245                "fa fa-eye"                  =>"eye",
     246                "fa fa-eye-slash"            =>"eye slash",
     247                "fa fa-female"               =>"female",
     248                "fa fa-fighter-jet"          =>"fighter jet",
     249                "fa fa-film"                 =>"film",
     250                "fa fa-filter"               =>"filter",
     251                "fa fa-fire"                 =>"fire",
     252                "fa fa-fire-extinguisher"    =>"fire extinguisher",
     253                "fa fa-flag"                 =>"flag",
     254                "fa fa-flag-checkered"       =>"flag checkered",
     255                "fa fa-flag-o"               =>"flag o",
     256                "fa fa-flash"                =>"flash",
     257                "fa fa-flask"                =>"flask",
     258                "fa fa-folder"               =>"folder",
     259                "fa fa-folder-o"             =>"folder o",
     260                "fa fa-folder-open"          =>"folder open",
     261                "fa fa-folder-open-o"        =>"folder open o",
     262                "fa fa-frown-o"              =>"frown o",
     263                "fa fa-gamepad"              =>"gamepad",
     264                "fa fa-gavel"                =>"gavel",
     265                "fa fa-gear"                 =>"gear",
     266                "fa fa-gears"                =>"gears",
     267                "fa fa-gift"                 =>"gift",
     268                "fa fa-glass"                =>"glass",
     269                "fa fa-globe"                =>"globe",
     270                "fa fa-group"                =>"group",
     271                "fa fa-hdd-o"                =>"hdd o",
     272                "fa fa-headphones"           =>"headphones",
     273                "fa fa-heart"                =>"heart",
     274                "fa fa-heart-o"              =>"heart o",
     275                "fa fa-home"                 =>"home",
     276                "fa fa-inbox"                =>"inbox",
     277                "fa fa-info"                 =>"info",
     278                "fa fa-info-circle"          =>"info circle",
     279                "fa fa-key"                  =>"key",
     280                "fa fa-keyboard-o"           =>"keyboard o",
     281                "fa fa-laptop"               =>"laptop",
     282                "fa fa-leaf"                 =>"leaf",
     283                "fa fa-legal"                =>"legal",
     284                "fa fa-lemon-o"              =>"lemon o",
     285                "fa fa-level-down"           =>"level down",
     286                "fa fa-level-up"             =>"level up",
     287                "fa fa-lightbulb-o"          =>"lightbulb o",
     288                "fa fa-location-arrow"       =>"location arrow",
     289                "fa fa-lock"                 =>"lock",
     290                "fa fa-magic"                =>"magic",
     291                "fa fa-magnet"               =>"magnet",
     292                "fa fa-mail-forward"         =>"mail forward",
     293                "fa fa-mail-reply"           =>"mail reply",
     294                "fa fa-mail-reply-all"       =>"mail reply all",
     295                "fa fa-male"                 =>"male",
     296                "fa fa-map-marker"           =>"map marker",
     297                "fa fa-meh-o"                =>"meh o",
     298                "fa fa-microphone"           =>"microphone",
     299                "fa fa-microphone-slash"     =>"microphone slash",
     300                "fa fa-minus"                =>"minus",
     301                "fa fa-minus-circle"         =>"minus circle",
     302                "fa fa-minus-square"         =>"minus square",
     303                "fa fa-minus-square-o"       =>"minus square o",
     304                "fa fa-mobile"               =>"mobile",
     305                "fa fa-mobile-phone"         =>"mobile phone",
     306                "fa fa-money"                =>"money",
     307                "fa fa-moon-o"               =>"moon o",
     308                "fa fa-music"                =>"music",
     309                "fa fa-pencil"               =>"pencil",
     310                "fa fa-pencil-square"        =>"pencil square",
     311                "fa fa-pencil-square-o"      =>"pencil square o",
     312                "fa fa-phone"                =>"phone",
     313                "fa fa-phone-square"         =>"phone square",
     314                "fa fa-picture-o"            =>"picture o",
     315                "fa fa-plane"                =>"plane",
     316                "fa fa-plus"                 =>"plus",
     317                "fa fa-plus-circle"          =>"plus circle",
     318                "fa fa-plus-square"          =>"plus square",
     319                "fa fa-plus-square-o"        =>"plus square o",
     320                "fa fa-power-off"            =>"power off",
     321                "fa fa-print"                =>"print",
     322                "fa fa-puzzle-piece"         =>"puzzle piece",
     323                "fa fa-qrcode"               =>"qrcode",
     324                "fa fa-question"             =>"question",
     325                "fa fa-question-circle"      =>"question circle",
     326                "fa fa-quote-left"           =>"quote left",
     327                "fa fa-quote-right"          =>"quote right",
     328                "fa fa-random"               =>"random",
     329                "fa fa-refresh"              =>"refresh",
     330                "fa fa-reply"                =>"reply",
     331                "fa fa-reply-all"            =>"reply all",
     332                "fa fa-retweet"              =>"retweet",
     333                "fa fa-road"                 =>"road",
     334                "fa fa-rocket"               =>"rocket",
     335                "fa fa-rss"                  =>"rss",
     336                "fa fa-rss-square"           =>"rss square",
     337                "fa fa-search"               =>"search",
     338                "fa fa-search-minus"         =>"search minus",
     339                "fa fa-search-plus"          =>"search plus",
     340                "fa fa-share"                =>"share",
     341                "fa fa-share-square"         =>"share square",
     342                "fa fa-share-square-o"       =>"share square o",
     343                "fa fa-shield"               =>"shield",
     344                "fa fa-shopping-cart"        =>"shopping cart",
     345                "fa fa-sign-in"              =>"sign in",
     346                "fa fa-sign-out"             =>"sign out",
     347                "fa fa-signal"               =>"signal",
     348                "fa fa-sitemap"              =>"sitemap",
     349                "fa fa-smile-o"              =>"smile o",
     350                "fa fa-sort"                 =>"sort",
     351                "fa fa-sort-alpha-asc"       =>"sort alpha asc",
     352                "fa fa-sort-alpha-desc"      =>"sort alpha desc",
     353                "fa fa-sort-amount-asc"      =>"sort amount asc",
     354                "fa fa-sort-amount-desc"     =>"sort amount desc",
     355                "fa fa-sort-asc"             =>"sort asc",
     356                "fa fa-sort-desc"            =>"sort desc",
     357                "fa fa-sort-down"            =>"sort down",
     358                "fa fa-sort-numeric-asc"     =>"sort numeric asc",
     359                "fa fa-sort-numeric-desc"    =>"sort numeric desc",
     360                "fa fa-sort-up"              =>"sort up",
     361                "fa fa-spinner"              =>"spinner",
     362                "fa fa-square"               =>"square",
     363                "fa fa-square-o"             =>"square o",
     364                "fa fa-star"                 =>"star",
     365                "fa fa-star-half"            =>"star half",
     366                "fa fa-star-half-empty"      =>"star half empty",
     367                "fa fa-star-half-full"       =>"star half full",
     368                "fa fa-star-half-o"          =>"star half o",
     369                "fa fa-star-o"               =>"star o",
     370                "fa fa-subscript"            =>"subscript",
     371                "fa fa-suitcase"             =>"suitcase",
     372                "fa fa-sun-o"                =>"sun o",
     373                "fa fa-superscript"          =>"superscript",
     374                "fa fa-tablet"               =>"tablet",
     375                "fa fa-tachometer"           =>"tachometer",
     376                "fa fa-tag"                  =>"tag",
     377                "fa fa-tags"                 =>"tags",
     378                "fa fa-tasks"                =>"tasks",
     379                "fa fa-terminal"             =>"terminal",
     380                "fa fa-thumb-tack"           =>"thumb tack",
     381                "fa fa-thumbs-down"          =>"thumbs down",
     382                "fa fa-thumbs-o-down"        =>"thumbs o down",
     383                "fa fa-thumbs-o-up"          =>"thumbs o up",
     384                "fa fa-thumbs-up"            =>"thumbs up",
     385                "fa fa-ticket"               =>"ticket",
     386                "fa fa-times"                =>"times",
     387                "fa fa-times-circle"         =>"times circle",
     388                "fa fa-times-circle-o"       =>"times circle o",
     389                "fa fa-tint"                 =>"tint",
     390                "fa fa-toggle-down"          =>"toggle down",
     391                "fa fa-toggle-left"          =>"toggle left",
     392                "fa fa-toggle-right"         =>"toggle right",
     393                "fa fa-toggle-up"            =>"toggle up",
     394                "fa fa-trash-o"              =>"trash o",
     395                "fa fa-trophy"               =>"trophy",
     396                "fa fa-truck"                =>"truck",
     397                "fa fa-umbrella"             =>"umbrella",
     398                "fa fa-unlock"               =>"unlock",
     399                "fa fa-unlock-alt"           =>"unlock alt",
     400                "fa fa-unsorted"             =>"unsorted",
     401                "fa fa-upload"               =>"upload",
     402                "fa fa-user"                 =>"user",
     403                "fa fa-users"                =>"users",
     404                "fa fa-video-camera"         =>"video camera",
     405                "fa fa-volume-down"          =>"volume down",
     406                "fa fa-volume-off"           =>"volume off",
     407                "fa fa-volume-up"            =>"volume up",
     408                "fa fa-warning"              =>"warning",
     409                "fa fa-wheelchair"           =>"wheelchair",
     410                "fa fa-wrench"               =>"wrench",
     411                "fa fa-check-square"         =>"check square",
     412                "fa fa-check-square-o"       =>"check square o",
     413                "fa fa-circle"               =>"circle",
     414                "fa fa-circle-o"             =>"circle o",
     415                "fa fa-dot-circle-o"         =>"dot circle o",
     416                "fa fa-minus-square"         =>"minus square",
     417                "fa fa-minus-square-o"       =>"minus square o",
     418                "fa fa-plus-square"          =>"plus square",
     419                "fa fa-plus-square-o"        =>"plus square o",
     420                "fa fa-square"               =>"square",
     421                "fa fa-square-o"             =>"square o",
     422                "fa fa-bitcoin"              =>"bitcoin",
     423                "fa fa-btc"                  =>"btc",
     424                "fa fa-cny"                  =>"cny",
     425                "fa fa-dollar"               =>"dollar",
     426                "fa fa-eur"                  =>"eur",
     427                "fa fa-euro"                 =>"euro",
     428                "fa fa-gbp"                  =>"gbp",
     429                "fa fa-inr"                  =>"inr",
     430                "fa fa-jpy"                  =>"jpy",
     431                "fa fa-krw"                  =>"krw",
     432                "fa fa-money"                =>"money",
     433                "fa fa-rmb"                  =>"rmb",
     434                "fa fa-rouble"               =>"rouble",
     435                "fa fa-rub"                  =>"rub",
     436                "fa fa-ruble"                =>"ruble",
     437                "fa fa-rupee"                =>"rupee",
     438                "fa fa-try"                  =>"try",
     439                "fa fa-turkish-lira"         =>"turkish lira",
     440                "fa fa-usd"                  =>"usd",
     441                "fa fa-won"                  =>"won",
     442                "fa fa-yen"                  =>"yen",
     443                "fa fa-align-center"         =>"align center",
     444                "fa fa-align-justify"        =>"align justify",
     445                "fa fa-align-left"           =>"align left",
     446                "fa fa-align-right"          =>"align right",
     447                "fa fa-bold"                 =>"bold",
     448                "fa fa-chain"                =>"chain",
     449                "fa fa-chain-broken"         =>"chain broken",
     450                "fa fa-clipboard"            =>"clipboard",
     451                "fa fa-columns"              =>"columns",
     452                "fa fa-copy"                 =>"copy",
     453                "fa fa-cut"                  =>"cut",
     454                "fa fa-dedent"               =>"dedent",
     455                "fa fa-eraser"               =>"eraser",
     456                "fa fa-file"                 =>"file",
     457                "fa fa-file-o"               =>"file o",
     458                "fa fa-file-text"            =>"file text",
     459                "fa fa-file-text-o"          =>"file text o",
     460                "fa fa-files-o"              =>"files o",
     461                "fa fa-floppy-o"             =>"floppy o",
     462                "fa fa-font"                 =>"font",
     463                "fa fa-indent"               =>"indent",
     464                "fa fa-italic"               =>"italic",
     465                "fa fa-link"                 =>"link",
     466                "fa fa-list"                 =>"list",
     467                "fa fa-list-alt"             =>"list alt",
     468                "fa fa-list-ol"              =>"list ol",
     469                "fa fa-list-ul"              =>"list ul",
     470                "fa fa-outdent"              =>"outdent",
     471                "fa fa-paperclip"            =>"paperclip",
     472                "fa fa-paste"                =>"paste",
     473                "fa fa-repeat"               =>"repeat",
     474                "fa fa-rotate-left"          =>"rotate left",
     475                "fa fa-rotate-right"         =>"rotate right",
     476                "fa fa-save"                 =>"save",
     477                "fa fa-scissors"             =>"scissors",
     478                "fa fa-strikethrough"        =>"strikethrough",
     479                "fa fa-table"                =>"table",
     480                "fa fa-text-height"          =>"text height",
     481                "fa fa-text-width"           =>"text width",
     482                "fa fa-th"                   =>"th",
     483                "fa fa-th-large"             =>"th large",
     484                "fa fa-th-list"              =>"th list",
     485                "fa fa-underline"            =>"underline",
     486                "fa fa-undo"                 =>"undo",
     487                "fa fa-unlink"               =>"unlink",
     488                "fa fa-angle-double-down"    =>"angle double down",
     489                "fa fa-angle-double-left"    =>"angle double left",
     490                "fa fa-angle-double-right"   =>"angle double right",
     491                "fa fa-angle-double-up"      =>"angle double up",
     492                "fa fa-angle-down"           =>"angle down",
     493                "fa fa-angle-left"           =>"angle left",
     494                "fa fa-angle-right"          =>"angle right",
     495                "fa fa-angle-up"             =>"angle up",
     496                "fa fa-arrow-circle-down"    =>"arrow circle down",
     497                "fa fa-arrow-circle-left"    =>"arrow circle left",
     498                "fa fa-arrow-circle-o-down"  =>"arrow circle o down",
     499                "fa fa-arrow-circle-o-left"  =>"arrow circle o left",
     500                "fa fa-arrow-circle-o-right" =>"arrow circle o right",
     501                "fa fa-arrow-circle-o-up"    =>"arrow circle o up",
     502                "fa fa-arrow-circle-right"   =>"arrow circle right",
     503                "fa fa-arrow-circle-up"      =>"arrow circle up",
     504                "fa fa-arrow-down"           =>"arrow down",
     505                "fa fa-arrow-left"           =>"arrow left",
     506                "fa fa-arrow-right"          =>"arrow right",
     507                "fa fa-arrow-up"             =>"arrow up",
     508                "fa fa-arrows"               =>"arrows",
     509                "fa fa-arrows-alt"           =>"arrows alt",
     510                "fa fa-arrows-h"             =>"arrows h",
     511                "fa fa-arrows-v"             =>"arrows v",
     512                "fa fa-caret-down"           =>"caret down",
     513                "fa fa-caret-left"           =>"caret left",
     514                "fa fa-caret-right"          =>"caret right",
     515                "fa fa-caret-square-o-down"  =>"caret square o down",
     516                "fa fa-caret-square-o-left"  =>"caret square o left",
     517                "fa fa-caret-square-o-right" =>"caret square o right",
     518                "fa fa-caret-square-o-up"    =>"caret square o up",
     519                "fa fa-caret-up"             =>"caret up",
     520                "fa fa-chevron-circle-down"  =>"chevron circle down",
     521                "fa fa-chevron-circle-left"  =>"chevron circle left",
     522                "fa fa-chevron-circle-right" =>"chevron circle right",
     523                "fa fa-chevron-circle-up"    =>"chevron circle up",
     524                "fa fa-chevron-down"         =>"chevron down",
     525                "fa fa-chevron-left"         =>"chevron left",
     526                "fa fa-chevron-right"        =>"chevron right",
     527                "fa fa-chevron-up"           =>"chevron up",
     528                "fa fa-hand-o-down"          =>"hand o down",
     529                "fa fa-hand-o-left"          =>"hand o left",
     530                "fa fa-hand-o-right"         =>"hand o right",
     531                "fa fa-hand-o-up"            =>"hand o up",
     532                "fa fa-long-arrow-down"      =>"long arrow down",
     533                "fa fa-long-arrow-left"      =>"long arrow left",
     534                "fa fa-long-arrow-right"     =>"long arrow right",
     535                "fa fa-long-arrow-up"        =>"long arrow up",
     536                "fa fa-toggle-down"          =>"toggle down",
     537                "fa fa-toggle-left"          =>"toggle left",
     538                "fa fa-toggle-right"         =>"toggle right",
     539                "fa fa-toggle-up"            =>"toggle up",
     540                "fa fa-arrows-alt"           =>"arrows alt",
     541                "fa fa-backward"             =>"backward",
     542                "fa fa-compress"             =>"compress",
     543                "fa fa-eject"                =>"eject",
     544                "fa fa-expand"               =>"expand",
     545                "fa fa-fast-backward"        =>"fast backward",
     546                "fa fa-fast-forward"         =>"fast forward",
     547                "fa fa-forward"              =>"forward",
     548                "fa fa-pause"                =>"pause",
     549                "fa fa-play"                 =>"play",
     550                "fa fa-play-circle"          =>"play circle",
     551                "fa fa-play-circle-o"        =>"play circle o",
     552                "fa fa-step-backward"        =>"step backward",
     553                "fa fa-step-forward"         =>"step forward",
     554                "fa fa-stop"                 =>"stop",
     555                "fa fa-youtube-play"         =>"youtube play",
     556                "fa fa-adn"                  =>"adn",
     557                "fa fa-android"              =>"android",
     558                "fa fa-apple"                =>"apple",
     559                "fa fa-bitbucket"            =>"bitbucket",
     560                "fa fa-bitbucket-square"     =>"bitbucket square",
     561                "fa fa-bitcoin"              =>"bitcoin",
     562                "fa fa-btc"                  =>"btc",
     563                "fa fa-css3"                 =>"css3",
     564                "fa fa-dribbble"             =>"dribbble",
     565                "fa fa-dropbox"              =>"dropbox",
     566                "fa fa-facebook"             =>"facebook",
     567                "fa fa-facebook-square"      =>"facebook square",
     568                "fa fa-flickr"               =>"flickr",
     569                "fa fa-foursquare"           =>"foursquare",
     570                "fa fa-github"               =>"github",
     571                "fa fa-github-alt"           =>"github alt",
     572                "fa fa-github-square"        =>"github square",
     573                "fa fa-gittip"               =>"gittip",
     574                "fa fa-google-plus"          =>"google plus",
     575                "fa fa-google-plus-square"   =>"google plus square",
     576                "fa fa-html5"                =>"html5",
     577                "fa fa-instagram"            =>"instagram",
     578                "fa fa-linkedin"             =>"linkedin",
     579                "fa fa-linkedin-square"      =>"linkedin square",
     580                "fa fa-linux"                =>"linux",
     581                "fa fa-maxcdn"               =>"maxcdn",
     582                "fa fa-pagelines"            =>"pagelines",
     583                "fa fa-pinterest"            =>"pinterest",
     584                "fa fa-pinterest-square"     =>"pinterest square",
     585                "fa fa-renren"               =>"renren",
     586                "fa fa-skype"                =>"skype",
     587                "fa fa-stack-exchange"       =>"stack exchange",
     588                "fa fa-stack-overflow"       =>"stack overflow",
     589                "fa fa-trello"               =>"trello",
     590                "fa fa-tumblr"               =>"tumblr",
     591                "fa fa-tumblr-square"        =>"tumblr square",
     592                "fa fa-twitter"              =>"twitter",
     593                "fa fa-twitter-square"       =>"twitter square",
     594                "fa fa-vimeo-square"         =>"vimeo square",
     595                "fa fa-vk"                   =>"vk",
     596                "fa fa-weibo"                =>"weibo",
     597                "fa fa-windows"              =>"windows",
     598                "fa fa-xing"                 =>"xing",
     599                "fa fa-xing-square"          =>"xing square",
     600                "fa fa-youtube"              =>"youtube",
     601                "fa fa-youtube-play"         =>"youtube play",
     602                "fa fa-youtube-square"       =>"youtube square",
     603                "fa fa-ambulance"            =>"ambulance",
     604                "fa fa-h-square"             =>"h square",
     605                "fa fa-hospital-o"           =>"hospital o",
     606                "fa fa-medkit"               =>"medkit",
     607                "fa fa-plus-square"          =>"plus square",
     608                "fa fa-stethoscope"          =>"stethoscope",
     609                "fa fa-user-md"              =>"user md",
     610                "fa fa-wheelchair"           =>"wheelchair",
     611                "fa fa-bed"                  =>"bed",
     612                "fa fa-heartbeat"            =>"fa-heartbeat",
     613                "fa fa-child"                =>"child",
     614                "fa fa-angellist"            =>"fa-angellist",
     615                "fa fa-mortar-board"         =>"fa-mortar-board",
     616                "fa fa-steam"                => "fa-steam",
     617                'flaticon-barbell'           => 'barbell',
     618                'flaticon-basketball35'      => 'basketball35',
     619                'flaticon-biceps'            => 'biceps',
     620                'flaticon-canopy'            => 'canopy',
     621                'flaticon-championship8'     => 'championship8',
     622                'flaticon-climbing6'         => 'climbing6',
     623                'flaticon-drop19'            => 'drop19',
     624                'flaticon-dumbbell21'        => 'dumbbell21',
     625                'flaticon-finish'            => 'finish',
     626                'flaticon-fishing11'         => 'fishing11',
     627                'flaticon-floating1'         => 'floating1',
     628                'flaticon-guru1'             => 'guru1',
     629                'flaticon-guru'              => 'guru',
     630                'flaticon-jump7'             => 'jump7',
     631                'flaticon-jumping27'         => 'jumping27',
     632                'flaticon-leg5'              => 'leg5',
     633                'flaticon-man362'            => 'man362',
     634                'flaticon-mountain24'        => 'mountain24',
     635                'flaticon-padding'           => 'padding',
     636                'flaticon-ping3'             => 'ping3',
     637                'flaticon-regular2'          => 'regular2',
     638                'flaticon-rugby98'           => 'rugby98',
     639                'flaticon-runner5'           => 'runner5',
     640                'flaticon-running30'         => 'running30',
     641                'flaticon-skidiving'         => 'skidiving',
     642                'flaticon-skiing7'           => 'skiing7',
     643                'flaticon-skydiving2'        => 'skydiving2',
     644                'flaticon-soccer43'          => 'soccer43',
     645                'flaticon-soccer44'          => 'soccer44',
     646                'flaticon-sport11'           => 'sport11',
     647                'flaticon-sportive36'        => 'sportive36',
     648                'flaticon-stopwatch7'        => 'stopwatch7',
     649                'flaticon-swimming20'        => 'swimming20',
     650                'flaticon-tennis18'          => 'tennis18',
     651                'flaticon-time13'            => 'time13',
     652                'flaticon-trekking'          => 'trekking',
     653                'flaticon-trophy45'          => 'trophy45',
     654                'flaticon-walking17'         => 'walking17',
     655                'flaticon-weightlift'        => 'weightlift',
     656                'flaticon-yoga12'            => 'yoga12'
     657            );
     658
     659            return apply_filters('kopa_framework_get_list_of_icons', $icons);
     660        }
     661    }
     662
     663
     664
  • kopatheme/trunk/kopa-framework.php

    r1239547 r1323880  
    33 * Plugin Name: Kopa Framework
    44 * Description: A WordPress framework by Kopatheme.
    5  * Version: 1.0.10
     5 * Version: 1.0.11
    66 * Author: Kopa Theme
    77 * Author URI: http://kopatheme.com
     
    3535     * @var string framework version
    3636     */
    37     public $version = '1.0.10';
     37    public $version = '1.0.11';
    3838
    3939    /**
     
    158158         */
    159159        add_filter( 'kopa_enable_admin_help_tab', '__return_false' );
     160
     161        #metabox-custom-wrap
     162        $is_metabox_wrapper = apply_filters('kopa_admin_metabox_wrapper', true);
     163        if ( $is_metabox_wrapper ) {
     164            add_filter('kopa_admin_meta_box_wrap_start', array( $this, 'meta_box_wrap_start' ), 10, 3);
     165            add_filter('kopa_admin_meta_box_wrap_end', array( $this, 'meta_box_wrap_end' ), 10, 3);
     166        }
     167
     168        add_filter('kopa_sanitize_option_datetime', array($this, 'kopa_sanitize_option_datetime'), 10, 2);
    160169    }
    161170
     
    285294    }
    286295
     296    public function meta_box_wrap_start($wrap, $value, $loop_index){
     297        if(0 == $loop_index){
     298            $wrap = '<div class="kopa-metabox-wrap kopa-metabox-wrap-first kf-row">';
     299        }else{
     300            $wrap = '<div class="kopa-metabox-wrap kf-row">';
     301        }
     302
     303        if ( $value['title'] ) {
     304            $wrap .= '<div class="kf-col-xs-3">';
     305            $wrap .= esc_html($value['title']);
     306            $wrap .= '</div>';
     307            $wrap .= '<div class="kf-col-xs-9">';
     308        }else{
     309            $wrap .= '<div class="kf-col-xs-12">';
     310        }
     311
     312        return $wrap;
     313    }
     314
     315    public function meta_box_wrap_end($wrap, $value, $loop_index){
     316        $wrap = '';
     317
     318        if ( $value['desc'] ) {
     319            $wrap .= '<p class="kopa-help">'. $value['desc'] . '</p>';
     320        }
     321
     322        $wrap .= '</div>';
     323        $wrap .= '</div>';
     324
     325        return $wrap;
     326    }
     327
     328    public function kopa_sanitize_option_datetime( $option_value, $value ) {
     329        $option_value = strtotime($option_value);
     330        return $option_value;
     331    }
     332
    287333    /**
    288334     * Live update when add new layouts (also their sidebars)
  • kopatheme/trunk/readme.txt

    r1239547 r1323880  
    55Requires at least: 3.8
    66Tested up to: 4.3
    7 Stable tag: 1.0.10
     7Stable tag: 1.0.11
    88License: GPLv2 or later
    99
     
    2121
    2222== Changelog ==
     23
     24= 1.0.11 =
     25* Add: some advanced fields ( gallery, datetime, icon ) to framework.
     26* Add: filter to enable using advanced fields.
     27* Add: some basic fields for taxonomy metabox: text, select, multiselect, checkbox.
     28
    2329= 1.0.10 =
    2430* Updated: show theme options by default
Note: See TracChangeset for help on using the changeset viewer.