pure-css-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/lib/pure-css-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/pure-nr.css +258 -162
- data/vendor/assets/stylesheets/pure.css +324 -196
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
Pure v0.
|
2
|
+
Pure v0.2.0
|
3
3
|
Copyright 2013 Yahoo! Inc. All rights reserved.
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/yui/pure/blob/master/LICENSE.md
|
@@ -550,20 +550,17 @@ table {
|
|
550
550
|
-webkit-user-drag: none;
|
551
551
|
-webkit-user-select: none;
|
552
552
|
-moz-user-select: none;
|
553
|
+
-ms-user-select: none;
|
553
554
|
user-select: none;
|
554
555
|
}
|
555
556
|
|
556
|
-
|
557
557
|
/* Firefox: Get rid of the inner focus border */
|
558
|
-
.pure-button::-moz-focus-inner{
|
558
|
+
.pure-button::-moz-focus-inner {
|
559
559
|
padding: 0;
|
560
560
|
border: 0;
|
561
561
|
}
|
562
562
|
|
563
|
-
|
564
|
-
outline: none;
|
565
|
-
}
|
566
|
-
|
563
|
+
/*csslint unqualified-attributes:false, outline-none:false*/
|
567
564
|
|
568
565
|
.pure-button {
|
569
566
|
font-size: 100%;
|
@@ -577,8 +574,6 @@ a:focus {
|
|
577
574
|
border: none rgba(0, 0, 0, 0); /*IE9 + everything else*/
|
578
575
|
background-color: #E6E6E6;
|
579
576
|
text-decoration: none;
|
580
|
-
-webkit-border-radius: 2px;
|
581
|
-
-moz-border-radius: 2px;
|
582
577
|
border-radius: 2px;
|
583
578
|
-webkit-font-smoothing: antialiased;
|
584
579
|
/* Transitions */
|
@@ -589,30 +584,29 @@ a:focus {
|
|
589
584
|
transition: 0.1s linear box-shadow;
|
590
585
|
}
|
591
586
|
|
592
|
-
|
593
587
|
.pure-button-hover,
|
594
|
-
.pure-button:hover
|
595
|
-
|
596
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#
|
597
|
-
|
598
|
-
background-image: -webkit-gradient(
|
599
|
-
background-image: -
|
600
|
-
background-image: -
|
601
|
-
background-image: -
|
602
|
-
background-image:
|
603
|
-
|
588
|
+
.pure-button:hover,
|
589
|
+
.pure-button:focus {
|
590
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
|
591
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
|
592
|
+
background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
593
|
+
background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
|
594
|
+
background-image: -ms-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
595
|
+
background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
596
|
+
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
597
|
+
}
|
598
|
+
.pure-button:focus {
|
599
|
+
outline: 0;
|
604
600
|
}
|
605
|
-
|
606
601
|
.pure-button-active,
|
607
602
|
.pure-button:active {
|
608
|
-
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
609
|
-
-moz-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
610
603
|
box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
611
604
|
}
|
612
605
|
|
613
606
|
.pure-button[disabled],
|
614
607
|
.pure-button-disabled,
|
615
608
|
.pure-button-disabled:hover,
|
609
|
+
.pure-button-disabled:focus,
|
616
610
|
.pure-button-disabled:active {
|
617
611
|
border: none;
|
618
612
|
background-image: none;
|
@@ -626,7 +620,7 @@ a:focus {
|
|
626
620
|
}
|
627
621
|
|
628
622
|
.pure-button-hidden {
|
629
|
-
display:none;
|
623
|
+
display: none;
|
630
624
|
}
|
631
625
|
|
632
626
|
/* Firefox: Get rid of the inner focus border */
|
@@ -635,8 +629,6 @@ a:focus {
|
|
635
629
|
border: 0;
|
636
630
|
}
|
637
631
|
|
638
|
-
|
639
|
-
/* Sam */
|
640
632
|
.pure-button-primary,
|
641
633
|
.pure-button-selected,
|
642
634
|
a.pure-button-primary,
|
@@ -645,10 +637,6 @@ a.pure-button-selected {
|
|
645
637
|
color: #fff;
|
646
638
|
}
|
647
639
|
|
648
|
-
.pure-button:-moz-focusring {
|
649
|
-
outline-color: rgba(0, 0, 0, 0.85);
|
650
|
-
}
|
651
|
-
|
652
640
|
/* This page has Normalize.css form-specific style rules applied to a .pure-form context */
|
653
641
|
|
654
642
|
/* ==========
|
@@ -799,172 +787,249 @@ a.pure-button-selected {
|
|
799
787
|
vertical-align: top; /* 2 */
|
800
788
|
}
|
801
789
|
|
802
|
-
.pure-form input,
|
803
|
-
.pure-form
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
790
|
+
.pure-form input[type="text"],
|
791
|
+
.pure-form input[type="password"],
|
792
|
+
.pure-form input[type="email"],
|
793
|
+
.pure-form input[type="url"],
|
794
|
+
.pure-form input[type="date"],
|
795
|
+
.pure-form input[type="month"],
|
796
|
+
.pure-form input[type="time"],
|
797
|
+
.pure-form input[type="datetime"],
|
798
|
+
.pure-form input[type="datetime-local"],
|
799
|
+
.pure-form input[type="week"],
|
800
|
+
.pure-form input[type="number"],
|
801
|
+
.pure-form input[type="search"],
|
802
|
+
.pure-form input[type="tel"],
|
803
|
+
.pure-form input[type="color"],
|
804
|
+
.pure-form select,
|
805
|
+
.pure-form textarea {
|
806
|
+
padding: 0.5em 0.6em;
|
807
|
+
display: inline-block;
|
808
|
+
border: 1px solid #ccc;
|
809
|
+
font-size: 0.8em;
|
810
|
+
box-shadow: inset 0 1px 3px #ddd;
|
811
|
+
border-radius: 4px;
|
812
|
+
-webkit-transition: 0.3s linear border;
|
813
|
+
-moz-transition: 0.3s linear border;
|
814
|
+
-ms-transition: 0.3s linear border;
|
815
|
+
-o-transition: 0.3s linear border;
|
816
|
+
transition: 0.3s linear border;
|
817
|
+
-webkit-box-sizing: border-box;
|
818
|
+
-moz-box-sizing: border-box;
|
819
|
+
box-sizing: border-box;
|
820
|
+
-webkit-font-smoothing: antialiased;
|
821
|
+
}
|
822
|
+
|
823
|
+
.pure-form input[type="text"]:focus,
|
824
|
+
.pure-form input[type="password"]:focus,
|
825
|
+
.pure-form input[type="email"]:focus,
|
826
|
+
.pure-form input[type="url"]:focus,
|
827
|
+
.pure-form input[type="date"]:focus,
|
828
|
+
.pure-form input[type="month"]:focus,
|
829
|
+
.pure-form input[type="time"]:focus,
|
830
|
+
.pure-form input[type="datetime"]:focus,
|
831
|
+
.pure-form input[type="datetime-local"]:focus,
|
832
|
+
.pure-form input[type="week"]:focus,
|
833
|
+
.pure-form input[type="number"]:focus,
|
834
|
+
.pure-form input[type="search"]:focus,
|
835
|
+
.pure-form input[type="tel"]:focus,
|
836
|
+
.pure-form input[type="color"]:focus,
|
837
|
+
.pure-form select:focus,
|
838
|
+
.pure-form textarea:focus {
|
839
|
+
outline: 0;
|
840
|
+
outline: thin dotted \9; /* IE6-9 */
|
841
|
+
border-color: #129FEA;
|
842
|
+
}
|
843
|
+
|
844
|
+
.pure-form input[type="file"]:focus,
|
845
|
+
.pure-form input[type="radio"]:focus,
|
846
|
+
.pure-form input[type="checkbox"]:focus {
|
847
|
+
outline: thin dotted #333;
|
848
|
+
outline: 1px auto #129FEA;
|
826
849
|
}
|
827
850
|
.pure-form .pure-checkbox,
|
828
851
|
.pure-form .pure-radio {
|
829
|
-
|
830
|
-
|
852
|
+
margin: 0.5em 0;
|
853
|
+
display: block;
|
831
854
|
}
|
832
|
-
.pure-form input[disabled],
|
855
|
+
.pure-form input[type="text"][disabled],
|
856
|
+
.pure-form input[type="password"][disabled],
|
857
|
+
.pure-form input[type="email"][disabled],
|
858
|
+
.pure-form input[type="url"][disabled],
|
859
|
+
.pure-form input[type="date"][disabled],
|
860
|
+
.pure-form input[type="month"][disabled],
|
861
|
+
.pure-form input[type="time"][disabled],
|
862
|
+
.pure-form input[type="datetime"][disabled],
|
863
|
+
.pure-form input[type="datetime-local"][disabled],
|
864
|
+
.pure-form input[type="week"][disabled],
|
865
|
+
.pure-form input[type="number"][disabled],
|
866
|
+
.pure-form input[type="search"][disabled],
|
867
|
+
.pure-form input[type="tel"][disabled],
|
868
|
+
.pure-form input[type="color"][disabled],
|
833
869
|
.pure-form select[disabled],
|
834
870
|
.pure-form textarea[disabled],
|
835
871
|
.pure-form input[readonly],
|
836
872
|
.pure-form select[readonly],
|
837
873
|
.pure-form textarea[readonly] {
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
874
|
+
cursor: not-allowed;
|
875
|
+
background-color: #eaeded;
|
876
|
+
color: #cad2d3;
|
877
|
+
border-color: transparent;
|
842
878
|
}
|
843
879
|
.pure-form input:focus:invalid,
|
844
880
|
.pure-form textarea:focus:invalid,
|
845
881
|
.pure-form select:focus:invalid {
|
846
|
-
|
847
|
-
|
882
|
+
color: #b94a48;
|
883
|
+
border: 1px solid #ee5f5b;
|
848
884
|
}
|
849
885
|
.pure-form input:focus:invalid:focus,
|
850
886
|
.pure-form textarea:focus:invalid:focus,
|
851
887
|
.pure-form select:focus:invalid:focus {
|
852
|
-
|
888
|
+
border-color: #e9322d;
|
889
|
+
}
|
890
|
+
.pure-form input[type="file"]:focus:invalid:focus,
|
891
|
+
.pure-form input[type="radio"]:focus:invalid:focus,
|
892
|
+
.pure-form input[type="checkbox"]:focus:invalid:focus {
|
893
|
+
outline-color: #e9322d;
|
853
894
|
}
|
854
895
|
.pure-form select {
|
855
|
-
|
856
|
-
|
896
|
+
border: 1px solid #ccc;
|
897
|
+
background-color: white;
|
857
898
|
}
|
858
899
|
.pure-form select[multiple] {
|
859
|
-
|
900
|
+
height: auto;
|
860
901
|
}
|
861
902
|
.pure-form label {
|
862
|
-
|
863
|
-
|
864
|
-
|
903
|
+
margin: 0.5em 0 0.2em;
|
904
|
+
color: #999;
|
905
|
+
font-size: 90%;
|
865
906
|
}
|
866
907
|
.pure-form fieldset {
|
867
|
-
|
868
|
-
|
869
|
-
|
908
|
+
margin: 0;
|
909
|
+
padding: 0.35em 0 0.75em;
|
910
|
+
border: 0;
|
870
911
|
}
|
871
912
|
.pure-form legend {
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
}
|
880
|
-
|
881
|
-
.pure-form
|
882
|
-
.pure-form
|
883
|
-
.pure-form
|
884
|
-
|
913
|
+
display: block;
|
914
|
+
width: 100%;
|
915
|
+
padding: 0.3em 0;
|
916
|
+
margin-bottom: 0.3em;
|
917
|
+
font-size: 125%;
|
918
|
+
color: #333;
|
919
|
+
border-bottom: 1px solid #e5e5e5;
|
920
|
+
}
|
921
|
+
|
922
|
+
.pure-form-stacked input[type="text"],
|
923
|
+
.pure-form-stacked input[type="password"],
|
924
|
+
.pure-form-stacked input[type="email"],
|
925
|
+
.pure-form-stacked input[type="url"],
|
926
|
+
.pure-form-stacked input[type="date"],
|
927
|
+
.pure-form-stacked input[type="month"],
|
928
|
+
.pure-form-stacked input[type="time"],
|
929
|
+
.pure-form-stacked input[type="datetime"],
|
930
|
+
.pure-form-stacked input[type="datetime-local"],
|
931
|
+
.pure-form-stacked input[type="week"],
|
932
|
+
.pure-form-stacked input[type="number"],
|
933
|
+
.pure-form-stacked input[type="search"],
|
934
|
+
.pure-form-stacked input[type="tel"],
|
935
|
+
.pure-form-stacked input[type="color"],
|
936
|
+
.pure-form-stacked select,
|
937
|
+
.pure-form-stacked label {
|
938
|
+
display: block;
|
885
939
|
}
|
886
940
|
|
887
941
|
.pure-form-aligned input,
|
888
942
|
.pure-form-aligned textarea,
|
889
943
|
.pure-form-aligned select,
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
944
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
945
|
+
.pure-form-aligned .pure-help-inline,
|
946
|
+
.pure-form-message-inline {
|
947
|
+
display: inline-block;
|
948
|
+
*display: inline;
|
949
|
+
*zoom: 1;
|
950
|
+
vertical-align: middle;
|
895
951
|
}
|
896
952
|
|
897
|
-
/*
|
953
|
+
/* Aligned Forms */
|
898
954
|
.pure-form-aligned .pure-control-group {
|
899
|
-
|
955
|
+
margin-bottom: 0.5em;
|
900
956
|
}
|
901
957
|
.pure-form-aligned .pure-control-group label {
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
958
|
+
text-align: right;
|
959
|
+
display: inline-block;
|
960
|
+
vertical-align: middle;
|
961
|
+
width: 10em;
|
962
|
+
margin: 0 1em 0 0;
|
907
963
|
}
|
908
964
|
.pure-form-aligned .pure-controls {
|
909
|
-
|
965
|
+
margin: 1.5em 0 0 10em;
|
910
966
|
}
|
911
967
|
|
912
968
|
/* Rounded Inputs */
|
913
969
|
.pure-form .pure-input-rounded {
|
914
|
-
|
915
|
-
|
970
|
+
border-radius: 20px;
|
971
|
+
padding-left: 1em;
|
916
972
|
}
|
917
973
|
|
918
974
|
/* Grouped Inputs */
|
919
975
|
.pure-form .pure-group fieldset {
|
920
|
-
|
976
|
+
margin-bottom: 10px;
|
921
977
|
}
|
922
978
|
.pure-form .pure-group input {
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
979
|
+
display: block;
|
980
|
+
padding: 10px;
|
981
|
+
margin: 0;
|
982
|
+
border-radius: 0;
|
983
|
+
position: relative;
|
984
|
+
top: -1px;
|
929
985
|
}
|
930
986
|
.pure-form .pure-group input:focus {
|
931
|
-
|
987
|
+
z-index: 2;
|
932
988
|
}
|
933
989
|
.pure-form .pure-group input:first-child {
|
934
|
-
|
935
|
-
|
990
|
+
top: 1px;
|
991
|
+
border-radius: 4px 4px 0 0;
|
936
992
|
}
|
937
993
|
.pure-form .pure-group input:last-child {
|
938
|
-
|
939
|
-
|
994
|
+
top: -2px;
|
995
|
+
border-radius: 0 0 4px 4px;
|
940
996
|
}
|
941
997
|
.pure-form .pure-group button {
|
942
|
-
|
998
|
+
margin: 0.35em 0;
|
943
999
|
}
|
944
1000
|
|
945
1001
|
.pure-form .pure-input-1 {
|
946
|
-
|
1002
|
+
width: 100%;
|
947
1003
|
}
|
948
1004
|
.pure-form .pure-input-2-3 {
|
949
|
-
|
1005
|
+
width: 66%;
|
950
1006
|
}
|
951
1007
|
.pure-form .pure-input-1-2 {
|
952
|
-
|
1008
|
+
width: 50%;
|
953
1009
|
}
|
954
1010
|
.pure-form .pure-input-1-3 {
|
955
|
-
|
1011
|
+
width: 33%;
|
956
1012
|
}
|
957
1013
|
.pure-form .pure-input-1-4 {
|
958
|
-
|
1014
|
+
width: 25%;
|
959
1015
|
}
|
960
1016
|
|
961
1017
|
/* Inline help for forms */
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
1018
|
+
/* NOTE: pure-help-inline is deprecated. Use .pure-form-message-inline instead. */
|
1019
|
+
.pure-form .pure-help-inline,
|
1020
|
+
.pure-form-message-inline {
|
1021
|
+
display: inline-block;
|
1022
|
+
padding-left: 0.3em;
|
1023
|
+
color: #666;
|
1024
|
+
vertical-align: middle;
|
1025
|
+
font-size: 90%;
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
/* Block help for forms */
|
1029
|
+
.pure-form-message {
|
1030
|
+
display: block;
|
1031
|
+
color: #666;
|
1032
|
+
font-size: 90%;
|
968
1033
|
}
|
969
1034
|
|
970
1035
|
.pure-g {
|
@@ -985,7 +1050,8 @@ a.pure-button-selected {
|
|
985
1050
|
|
986
1051
|
.pure-u {
|
987
1052
|
display: inline-block;
|
988
|
-
|
1053
|
+
*display: inline; /* IE < 8: fake inline-block */
|
1054
|
+
zoom: 1;
|
989
1055
|
letter-spacing: normal;
|
990
1056
|
word-spacing: normal;
|
991
1057
|
vertical-align: top;
|
@@ -1021,7 +1087,8 @@ a.pure-button-selected {
|
|
1021
1087
|
.pure-u-19-24,
|
1022
1088
|
.pure-u-23-24 {
|
1023
1089
|
display: inline-block;
|
1024
|
-
|
1090
|
+
*display: inline; /* IE < 8: fake inline-block */
|
1091
|
+
zoom: 1;
|
1025
1092
|
letter-spacing: normal;
|
1026
1093
|
word-spacing: normal;
|
1027
1094
|
vertical-align: top;
|
@@ -1140,6 +1207,9 @@ a.pure-button-selected {
|
|
1140
1207
|
width: 95.8333%;
|
1141
1208
|
}
|
1142
1209
|
|
1210
|
+
/*csslint adjoining-classes:false, outline-none:false*/
|
1211
|
+
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
1212
|
+
|
1143
1213
|
.pure-menu ul {
|
1144
1214
|
position: absolute;
|
1145
1215
|
visibility: hidden;
|
@@ -1168,9 +1238,14 @@ a.pure-button-selected {
|
|
1168
1238
|
visibility: visible;
|
1169
1239
|
}
|
1170
1240
|
|
1241
|
+
.pure-menu-open > ul:focus {
|
1242
|
+
outline: 0;
|
1243
|
+
}
|
1244
|
+
|
1171
1245
|
.pure-menu li { position: relative; }
|
1172
1246
|
|
1173
|
-
.pure-menu a,
|
1247
|
+
.pure-menu a,
|
1248
|
+
.pure-menu .pure-menu-heading {
|
1174
1249
|
display: block;
|
1175
1250
|
color: inherit;
|
1176
1251
|
line-height: 1.5em;
|
@@ -1181,16 +1256,17 @@ a.pure-button-selected {
|
|
1181
1256
|
|
1182
1257
|
.pure-menu.pure-menu-horizontal > .pure-menu-heading {
|
1183
1258
|
display: inline-block;
|
1184
|
-
margin: 0;
|
1185
|
-
zoom: 1;
|
1186
1259
|
*display: inline;
|
1260
|
+
zoom: 1;
|
1261
|
+
margin: 0;
|
1187
1262
|
vertical-align: middle;
|
1188
1263
|
}
|
1189
1264
|
.pure-menu.pure-menu-horizontal > ul {
|
1190
1265
|
display: inline-block;
|
1191
|
-
zoom: 1;
|
1192
1266
|
*display: inline;
|
1267
|
+
zoom: 1;
|
1193
1268
|
vertical-align: middle;
|
1269
|
+
height: 2.4em;
|
1194
1270
|
}
|
1195
1271
|
|
1196
1272
|
.pure-menu li a { padding: 5px 20px; }
|
@@ -1198,13 +1274,14 @@ a.pure-button-selected {
|
|
1198
1274
|
.pure-menu-can-have-children > .pure-menu-label:after {
|
1199
1275
|
content: '\25B8';
|
1200
1276
|
float: right;
|
1201
|
-
|
1277
|
+
/* These specific fonts have the Unicode char we need. */
|
1278
|
+
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif;
|
1202
1279
|
margin-right: -20px;
|
1203
1280
|
margin-top: -1px;
|
1204
1281
|
}
|
1205
1282
|
|
1206
1283
|
.pure-menu-can-have-children > .pure-menu-label {
|
1207
|
-
padding-right:30px;
|
1284
|
+
padding-right: 30px;
|
1208
1285
|
}
|
1209
1286
|
|
1210
1287
|
.pure-menu-separator {
|
@@ -1216,13 +1293,15 @@ a.pure-button-selected {
|
|
1216
1293
|
overflow: hidden;
|
1217
1294
|
}
|
1218
1295
|
|
1219
|
-
.pure-menu-hidden {
|
1296
|
+
.pure-menu-hidden {
|
1297
|
+
display: none;
|
1298
|
+
}
|
1220
1299
|
|
1221
1300
|
/* FIXED MENU */
|
1222
1301
|
.pure-menu-fixed {
|
1223
1302
|
position: fixed;
|
1224
|
-
top:0;
|
1225
|
-
left:0;
|
1303
|
+
top: 0;
|
1304
|
+
left: 0;
|
1226
1305
|
width: 100%;
|
1227
1306
|
}
|
1228
1307
|
|
@@ -1232,12 +1311,12 @@ a.pure-button-selected {
|
|
1232
1311
|
/* Initial menus should be inline-block so that they are horizontal */
|
1233
1312
|
.pure-menu-horizontal li {
|
1234
1313
|
display: inline-block;
|
1235
|
-
zoom: 1;
|
1236
1314
|
*display: inline;
|
1315
|
+
zoom: 1;
|
1237
1316
|
vertical-align: middle;
|
1238
1317
|
}
|
1239
1318
|
|
1240
|
-
/* Submenus should still be display:block; */
|
1319
|
+
/* Submenus should still be display: block; */
|
1241
1320
|
.pure-menu-horizontal li li {
|
1242
1321
|
display: block;
|
1243
1322
|
}
|
@@ -1248,25 +1327,42 @@ a.pure-button-selected {
|
|
1248
1327
|
}
|
1249
1328
|
/*Add extra padding to elements that have the arrow so that the hover looks nice */
|
1250
1329
|
.pure-menu-horizontal > .pure-menu-children > .pure-menu-can-have-children > .pure-menu-label {
|
1251
|
-
padding-right:30px;
|
1330
|
+
padding-right: 30px;
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
/* Adjusting separator for vertical menus */
|
1334
|
+
.pure-menu-horizontal li.pure-menu-separator {
|
1335
|
+
height: 50%;
|
1336
|
+
width: 1px;
|
1337
|
+
margin: 0 7px;
|
1338
|
+
}
|
1339
|
+
|
1340
|
+
/* Submenus should be horizontal separator again */
|
1341
|
+
.pure-menu-horizontal li li.pure-menu-separator {
|
1342
|
+
height: 1px;
|
1343
|
+
width: auto;
|
1344
|
+
margin: 7px 2px;
|
1252
1345
|
}
|
1253
1346
|
|
1254
1347
|
|
1348
|
+
/*csslint adjoining-classes:false*/
|
1349
|
+
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
1350
|
+
|
1255
1351
|
/* MAIN MENU STYLING */
|
1256
1352
|
|
1257
1353
|
.pure-menu.pure-menu-open,
|
1258
1354
|
.pure-menu.pure-menu-horizontal li .pure-menu-children {
|
1259
|
-
background: #
|
1355
|
+
background: #fff; /* Old browsers */
|
1260
1356
|
border: 1px solid #b7b7b7;
|
1261
1357
|
}
|
1262
1358
|
|
1263
1359
|
/* remove borders for horizontal menus */
|
1264
|
-
.pure-menu.pure-menu-horizontal,
|
1360
|
+
.pure-menu.pure-menu-horizontal,
|
1361
|
+
.pure-menu.pure-menu-horizontal .pure-menu-heading {
|
1265
1362
|
border: none;
|
1266
1363
|
}
|
1267
1364
|
|
1268
1365
|
|
1269
|
-
|
1270
1366
|
/* LINK STYLES */
|
1271
1367
|
|
1272
1368
|
.pure-menu a {
|
@@ -1285,15 +1381,20 @@ a.pure-button-selected {
|
|
1285
1381
|
color: #fff;
|
1286
1382
|
}
|
1287
1383
|
|
1384
|
+
/* Focus style for a dropdown menu-item when the parent has been opened */
|
1385
|
+
.pure-menu .pure-menu-open {
|
1386
|
+
background: #dedede;
|
1387
|
+
}
|
1288
1388
|
|
1289
1389
|
|
1290
|
-
|
1291
|
-
.pure-menu li a:
|
1390
|
+
.pure-menu li a:hover,
|
1391
|
+
.pure-menu li a:focus {
|
1292
1392
|
background: #eee;
|
1293
1393
|
}
|
1294
1394
|
|
1295
1395
|
/* DISABLED STATES */
|
1296
|
-
.pure-menu li.pure-menu-disabled a:hover
|
1396
|
+
.pure-menu li.pure-menu-disabled a:hover,
|
1397
|
+
.pure-menu li.pure-menu-disabled a:focus {
|
1297
1398
|
background: #fff;
|
1298
1399
|
color: #bfbfbf;
|
1299
1400
|
}
|
@@ -1313,8 +1414,8 @@ a.pure-button-selected {
|
|
1313
1414
|
.pure-menu .pure-menu-heading {
|
1314
1415
|
color: #565d64;
|
1315
1416
|
text-transform: uppercase;
|
1316
|
-
font-size:90%;
|
1317
|
-
margin-top:0.5em;
|
1417
|
+
font-size: 90%;
|
1418
|
+
margin-top: 0.5em;
|
1318
1419
|
border-bottom-width: 1px;
|
1319
1420
|
border-bottom-style: solid;
|
1320
1421
|
border-bottom-color: #dfdfdf;
|
@@ -1331,6 +1432,9 @@ a.pure-button-selected {
|
|
1331
1432
|
border-bottom: 1px solid #b7b7b7;
|
1332
1433
|
}
|
1333
1434
|
|
1435
|
+
/*csslint box-model:false*/
|
1436
|
+
/*TODO: Remove this lint rule override after a refactor of this code.*/
|
1437
|
+
|
1334
1438
|
.pure-paginator {
|
1335
1439
|
list-style: none;
|
1336
1440
|
margin: 0;
|
@@ -1339,8 +1443,7 @@ a.pure-button-selected {
|
|
1339
1443
|
.pure-paginator li {
|
1340
1444
|
display: inline-block;
|
1341
1445
|
*display: inline;
|
1342
|
-
|
1343
|
-
*zoom: 1;
|
1446
|
+
zoom: 1;
|
1344
1447
|
margin: 0 -0.35em 0 0;
|
1345
1448
|
}
|
1346
1449
|
.pure-paginator .pure-button {
|
@@ -1352,9 +1455,10 @@ a.pure-button-selected {
|
|
1352
1455
|
.pure-paginator .pure-button:focus {
|
1353
1456
|
outline-style: none;
|
1354
1457
|
}
|
1355
|
-
.pure-paginator .prev,
|
1458
|
+
.pure-paginator .prev,
|
1459
|
+
.pure-paginator .next {
|
1356
1460
|
color: #C0C1C3;
|
1357
|
-
text-shadow:
|
1461
|
+
text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
|
1358
1462
|
}
|
1359
1463
|
.pure-paginator .prev {
|
1360
1464
|
border-radius: 2px 0 0 2px;
|
@@ -1363,14 +1467,6 @@ a.pure-button-selected {
|
|
1363
1467
|
border-radius: 0 2px 2px 0;
|
1364
1468
|
}
|
1365
1469
|
|
1366
|
-
/*
|
1367
|
-
* CSS TABLES
|
1368
|
-
* ==========
|
1369
|
-
* Simple CSS for HTML Tables
|
1370
|
-
* Author: tilomitra
|
1371
|
-
*/
|
1372
|
-
|
1373
|
-
/* foundational CSS */
|
1374
1470
|
.pure-table {
|
1375
1471
|
/* Remove spacing between table cells (from Normalize.css) */
|
1376
1472
|
border-collapse: collapse;
|
@@ -1411,7 +1507,7 @@ a.pure-button-selected {
|
|
1411
1507
|
/*
|
1412
1508
|
striping:
|
1413
1509
|
even - #fff (white)
|
1414
|
-
odd - #
|
1510
|
+
odd - #f2f2f2 (light gray)
|
1415
1511
|
*/
|
1416
1512
|
.pure-table td {
|
1417
1513
|
background-color: transparent;
|
@@ -1427,7 +1523,7 @@ striping:
|
|
1427
1523
|
|
1428
1524
|
/* BORDERED TABLES */
|
1429
1525
|
.pure-table-bordered td {
|
1430
|
-
border-bottom:1px solid #cbcbcb;
|
1526
|
+
border-bottom: 1px solid #cbcbcb;
|
1431
1527
|
}
|
1432
1528
|
.pure-table-bordered tbody > tr:last-child td,
|
1433
1529
|
.pure-table-horizontal tbody > tr:last-child td {
|
@@ -1440,7 +1536,7 @@ striping:
|
|
1440
1536
|
.pure-table-horizontal td,
|
1441
1537
|
.pure-table-horizontal th {
|
1442
1538
|
border-width: 0 0 1px 0;
|
1443
|
-
border-bottom:1px solid #cbcbcb;
|
1539
|
+
border-bottom: 1px solid #cbcbcb;
|
1444
1540
|
}
|
1445
1541
|
.pure-table-horizontal tbody > tr:last-child td {
|
1446
1542
|
border-bottom-width: 0;
|