| | @@ -860,98 +860,10 @@ |
| 860 | 860 | // } |
| 861 | 861 | // #setup_skinedit_css_defaults > tbody > tr > td:nth-of-type(2) > div { |
| 862 | 862 | // max-width: 30em; |
| 863 | 863 | // overflow: auto; |
| 864 | 864 | // } |
| 865 | | - |
| 866 | | -////////////////////////////////// |
| 867 | | -// Styles for fossil.tabs.js: |
| 868 | | -.tab-container { |
| 869 | | - width: 100%; |
| 870 | | - display: flex; |
| 871 | | - flex-direction: column; |
| 872 | | - align-items: stretch; |
| 873 | | -} |
| 874 | | -.tab-container > #fossil-status-bar { |
| 875 | | - margin-top: 0; |
| 876 | | -} |
| 877 | | -.tab-container > .tabs { |
| 878 | | - padding: 0.25em; |
| 879 | | - margin: 0; |
| 880 | | - display: flex; |
| 881 | | - flex-direction: column; |
| 882 | | - border-width: 1px; |
| 883 | | - border-style: outset; |
| 884 | | - border-color: inherit; |
| 885 | | -} |
| 886 | | -.tab-container > .tabs > .tab-panel { |
| 887 | | - align-self: stretch; |
| 888 | | - flex: 10 1 auto; |
| 889 | | - display: block; |
| 890 | | -} |
| 891 | | -.tab-container > .tab-bar { |
| 892 | | - display: flex; |
| 893 | | - flex-direction: row; |
| 894 | | - flex: 1 10 auto; |
| 895 | | - align-self: stretch; |
| 896 | | - flex-wrap: wrap; |
| 897 | | -} |
| 898 | | -.tab-container > .tab-bar > .tab-button { |
| 899 | | - display: inline-block; |
| 900 | | - border-radius: 0.5em 0.5em 0 0; |
| 901 | | - margin: 0 0.1em; |
| 902 | | - padding: 0.25em 0.75em; |
| 903 | | - align-self: baseline; |
| 904 | | - border-color: inherit; |
| 905 | | - border-width: 1px; |
| 906 | | - border-bottom: none; |
| 907 | | - border-top-style: inset; |
| 908 | | - border-left-style: inset; |
| 909 | | - border-right-style: inset; |
| 910 | | - cursor: pointer; |
| 911 | | - opacity: 0.6; |
| 912 | | -} |
| 913 | | -.tab-container > .tab-bar > .tab-button.selected { |
| 914 | | - text-decoration: underline; |
| 915 | | - opacity: 1.0; |
| 916 | | - border-top-style: outset; |
| 917 | | - border-left-style: outset; |
| 918 | | - border-right-style: outset; |
| 919 | | -} |
| 920 | | - |
| 921 | | -//////////////////////////////////////////////////////////////////// |
| 922 | | -// Styles developed for /fileedit but which have wider |
| 923 | | -// applicability: |
| 924 | | -.flex-container { |
| 925 | | - display: flex; |
| 926 | | -} |
| 927 | | -.flex-container.flex-row { |
| 928 | | - flex-direction: row; |
| 929 | | - flex-wrap: wrap; |
| 930 | | - justify-content: center; |
| 931 | | - align-items: center; |
| 932 | | -} |
| 933 | | -.flex-container .flex-grow { |
| 934 | | - flex-grow: 10; |
| 935 | | - flex-shrink: 0; |
| 936 | | -} |
| 937 | | -.flex-container .flex-shrink { |
| 938 | | - flex-grow: 0; |
| 939 | | - flex-shrink: 10; |
| 940 | | -} |
| 941 | | -#fossil-status-bar { |
| 942 | | - display: block; |
| 943 | | - font-family: monospace; |
| 944 | | - border-width: 1px; |
| 945 | | - border-style: inset; |
| 946 | | - border-color: inherit; |
| 947 | | - min-height: 1.5em; |
| 948 | | - font-size: 1.2em; |
| 949 | | - padding: 0.2em; |
| 950 | | - margin: 0.25em 0; |
| 951 | | - flex: 0 0 auto; |
| 952 | | -} |
| 953 | 865 | .error { |
| 954 | 866 | color: darkred; |
| 955 | 867 | background: yellow; |
| 956 | 868 | } |
| 957 | 869 | .warning { |
| | @@ -961,227 +873,7 @@ |
| 961 | 873 | } |
| 962 | 874 | .hidden { |
| 963 | 875 | position: absolute; |
| 964 | 876 | opacity: 0; |
| 965 | 877 | pointer-events: none; |
| 966 | | -} |
| 967 | | -.flex-container.flex-row.stretch { |
| 968 | | - flex-wrap: wrap; |
| 969 | | - align-items: baseline; |
| 970 | | - justify-content: stretch; |
| 971 | | - margin: 0; |
| 972 | | -} |
| 973 | | -.flex-container.flex-column { |
| 974 | | - flex-direction: column; |
| 975 | | - flex-wrap: wrap; |
| 976 | | - justify-content: center; |
| 977 | | - align-items: center; |
| 978 | | -} |
| 979 | | -.flex-container.flex-column.stretch { |
| 980 | | - align-items: stretch; |
| 981 | | - margin: 0; |
| 982 | | -} |
| 983 | | -.flex-container.child-gap-small > * { |
| 984 | | - margin: 0.25em; |
| 985 | | -} |
| 986 | | -.font-size-100 { |
| 987 | | - font-size: 100%; |
| 988 | | -} |
| 989 | | -.font-size-125 { |
| 990 | | - font-size: 125%; |
| 991 | | -} |
| 992 | | -.font-size-150 { |
| 993 | | - font-size: 150%; |
| 994 | | -} |
| 995 | | -.font-size-175 { |
| 996 | | - font-size: 175%; |
| 997 | | -} |
| 998 | | -.font-size-200 { |
| 999 | | - font-size: 200%; |
| 1000 | | -} |
| 1001 | | - |
| 1002 | | -////////////////////////////////////////////////////////////////// |
| 1003 | | -// .input-with-label is intended to be a wrapper element which |
| 1004 | | -// contains a SPAN label and an INPUT control. |
| 1005 | | -.input-with-label { |
| 1006 | | - border: 1px inset #808080; |
| 1007 | | - border-radius: 0.5em; |
| 1008 | | - padding: 0.25em 0.4em; |
| 1009 | | - margin: 0 0.5em; |
| 1010 | | - display: inline-block; |
| 1011 | | - cursor: default; |
| 1012 | | -} |
| 1013 | | -.input-with-label > * { |
| 1014 | | - vertical-align: middle; |
| 1015 | | -} |
| 1016 | | -.input-with-label > input { |
| 1017 | | - margin: 0; |
| 1018 | | -} |
| 1019 | | -.input-with-label > button { |
| 1020 | | - margin: 0; |
| 1021 | | -} |
| 1022 | | -.input-with-label > select { |
| 1023 | | - margin: 0; |
| 1024 | | -} |
| 1025 | | -.input-with-label > input[type=text] { |
| 1026 | | - margin: 0; |
| 1027 | | -} |
| 1028 | | -.input-with-label > textarea { |
| 1029 | | - margin: 0; |
| 1030 | | -} |
| 1031 | | -.input-with-label > input[type=checkbox] { |
| 1032 | | - vertical-align: sub; |
| 1033 | | -} |
| 1034 | | -.input-with-label > input[type=radio] { |
| 1035 | | - vertical-align: sub; |
| 1036 | | -} |
| 1037 | | -.input-with-label > label { |
| 1038 | | - font-weight: initial; |
| 1039 | | - margin: 0 0.25em 0 0.25em; |
| 1040 | | - vertical-align: middle; |
| 1041 | | -} |
| 1042 | | - |
| 1043 | | -//////////////////////////////////////////////////////////// |
| 1044 | | -// Styles for /fileedit: |
| 1045 | | -// body.fileedit => /fileedit page |
| 1046 | | -body.fileedit .error { |
| 1047 | | - padding: 0.25em; |
| 1048 | | -} |
| 1049 | | -body.fileedit .warning { |
| 1050 | | - padding: 0.25em; |
| 1051 | | -} |
| 1052 | | -body.fileedit textarea { |
| 1053 | | - font-family: monospace; |
| 1054 | | - width: 100%; |
| 1055 | | - flex: 10 1 auto; |
| 1056 | | - height: initial; |
| 1057 | | -} |
| 1058 | | -body.fileedit fieldset { |
| 1059 | | - margin: 0.5em 0 0.5em 0; |
| 1060 | | - padding: 0.25em 0; |
| 1061 | | - border-radius: 0.5em; |
| 1062 | | - border-color: inherit; |
| 1063 | | - border-width: 1px; |
| 1064 | | - font-size: 90%; |
| 1065 | | - overflow: auto; |
| 1066 | | -} |
| 1067 | | -body.fileedit fieldset > legend { |
| 1068 | | - margin: 0 0 0 1em; |
| 1069 | | - padding: 0 0.5em 0 0.5em; |
| 1070 | | -} |
| 1071 | | -body.fileedit fieldset > div { |
| 1072 | | - margin: 0 0.25em 0 0.25em; |
| 1073 | | - padding: 0; |
| 1074 | | - overflow: auto; |
| 1075 | | -} |
| 1076 | | -body.fileedit fieldset > div > .input-with-label { |
| 1077 | | - margin: 0.25em 0.5em; |
| 1078 | | -} |
| 1079 | | -body.fileedit fieldset > div > button { |
| 1080 | | - margin: 0.25em 0.5em; |
| 1081 | | -} |
| 1082 | | -body.fileedit .fileedit-hint { |
| 1083 | | - font-size: 80%; |
| 1084 | | - opacity: 0.75; |
| 1085 | | -} |
| 1086 | | -body.fileedit .fileedit-error-report { |
| 1087 | | - background: yellow; |
| 1088 | | - color: darkred; |
| 1089 | | - margin: 1em 0; |
| 1090 | | - padding: 0.5em; |
| 1091 | | - border-radius: 0.5em; |
| 1092 | | -} |
| 1093 | | -body.fileedit code.fileedit-manifest { |
| 1094 | | - display: block; |
| 1095 | | - height: 16em; |
| 1096 | | - overflow: auto; |
| 1097 | | - white-space: pre; |
| 1098 | | -} |
| 1099 | | -body.fileedit div.fileedit-preview { |
| 1100 | | - margin: 0; |
| 1101 | | - padding: 0; |
| 1102 | | -} |
| 1103 | | -body.fileedit #fileedit-tab-diff-wrapper { |
| 1104 | | - margin: 0; |
| 1105 | | - padding: 0; |
| 1106 | | - overflow: auto; |
| 1107 | | -} |
| 1108 | | -body.fileedit #fileedit-tab-preview-wrapper { |
| 1109 | | - overflow: auto; |
| 1110 | | -} |
| 1111 | | -body.fileedit .fileedit-options.commit-message > div { |
| 1112 | | - display: flex; |
| 1113 | | - flex-direction: column; |
| 1114 | | - justify-content: stretch; |
| 1115 | | - font-family: monospace; |
| 1116 | | -} |
| 1117 | | -body.fileedit .fileedit-options.commit-message > div > * { |
| 1118 | | - margin: 0.25em; |
| 1119 | | -} |
| 1120 | | -body.fileedit #fileedit-commit-button-wrapper { |
| 1121 | | - margin: 0.25em; |
| 1122 | | -} |
| 1123 | | -body.fileedit .tab-container > .tabs > .tab-panel > .fileedit-options { |
| 1124 | | - margin-top: 0; |
| 1125 | | - border: none; |
| 1126 | | - border-radius: 0; |
| 1127 | | - border-bottom-width: 1px; |
| 1128 | | - border-bottom-style: dotted; |
| 1129 | | -} |
| 1130 | | -body.fileedit .tab-container > .tabs > .tab-panel > .fileedit-options > button { |
| 1131 | | - vertical-align: middle; |
| 1132 | | - margin: 0.5em; |
| 1133 | | -} |
| 1134 | | -body.fileedit .tab-container > .tabs > .tab-panel > .fileedit-options > input { |
| 1135 | | - vertical-align: middle; |
| 1136 | | - margin: 0.5em; |
| 1137 | | -} |
| 1138 | | -body.fileedit .tab-container > .tabs > .tab-panel > .fileedit-options > .input-with-label { |
| 1139 | | - vertical-align: middle; |
| 1140 | | - margin: 0.5em; |
| 1141 | | -} |
| 1142 | | -body.fileedit .fileedit-options > div > * { |
| 1143 | | - margin: 0.25em; |
| 1144 | | -} |
| 1145 | | -body.fileedit .fileedit-options.flex-container.flex-row { |
| 1146 | | - align-items: first baseline; |
| 1147 | | -} |
| 1148 | | -body.fileedit #fileedit-file-selector { |
| 1149 | | - display: flex; |
| 1150 | | - flex-direction: column; |
| 1151 | | - align-content: flex-start; |
| 1152 | | - border-color: inherit; |
| 1153 | | - border-width: 1px; |
| 1154 | | - border-style: inset; |
| 1155 | | - border-radius: 0.5em; |
| 1156 | | - padding: 0 0.25em; |
| 1157 | | - margin: 0; |
| 1158 | | - min-height: 12em; |
| 1159 | | -} |
| 1160 | | -body.fileedit #fileedit-file-selector select { |
| 1161 | | - margin: 0 0 0.5em 0; |
| 1162 | | - height: initial; |
| 1163 | | - font-family: monospace; |
| 1164 | | -} |
| 1165 | | -body.fileedit select:focus { |
| 1166 | | - border: none; |
| 1167 | | -} |
| 1168 | | -body.fileedit option:focus { |
| 1169 | | - border: none; |
| 1170 | | -} |
| 1171 | | -body.fileedit #fileedit-file-selector > div { |
| 1172 | | - padding: 0; |
| 1173 | | - margin: 0; |
| 1174 | | -} |
| 1175 | | -body.fileedit #fileedit-file-selector > div > * { |
| 1176 | | - margin: 0.25em 0.5em 0.25em 0; |
| 1177 | | -} |
| 1178 | | -body.fileedit #fileedit-stash-selector { |
| 1179 | | - border-bottom-width: 1px; |
| 1180 | | - border-bottom-style: dotted; |
| 1181 | | - margin: 0.25em; |
| 1182 | | -} |
| 1183 | | -body.fileedit #fileedit-stash-selector select { |
| 1184 | | - margin: 0; |
| 1185 | | - height: initial; |
| 1186 | | - font-family: monospace; |
| 878 | + display: none; |
| 1187 | 879 | } |
| 1188 | 880 | |