| | @@ -2013,34 +2013,34 @@ |
| 2013 | 2013 | /* .attach* = styles for file attachments */ |
| 2014 | 2014 | section.attachlist {} |
| 2015 | 2015 | details.attachlist > summary { |
| 2016 | 2016 | cursor: pointer; |
| 2017 | 2017 | } |
| 2018 | | -.attach-widget { |
| 2018 | +.Attacher { |
| 2019 | 2019 | margin-bottom: 1em; |
| 2020 | 2020 | display: flex; |
| 2021 | 2021 | flex-direction: column; |
| 2022 | 2022 | gap: 0.75em; |
| 2023 | 2023 | } |
| 2024 | | -.attach-widget .attach-row { |
| 2024 | +.Attacher .attach-row { |
| 2025 | 2025 | display: flex; |
| 2026 | 2026 | flex-direction: column; |
| 2027 | 2027 | gap: 0.5em; |
| 2028 | 2028 | padding: 0.75em; |
| 2029 | 2029 | border: 1px dashed #ccc; |
| 2030 | 2030 | border-radius: 0.25em; |
| 2031 | 2031 | background-color: #fafafa; |
| 2032 | 2032 | } |
| 2033 | | -.attach-widget .error { |
| 2033 | +.Attacher .error { |
| 2034 | 2034 | padding: 0.5em; |
| 2035 | 2035 | background-color: #d32f2f; |
| 2036 | 2036 | color: #fff; |
| 2037 | 2037 | } |
| 2038 | | -body.fossil-dark-style .attach-widget .attach-row { |
| 2038 | +body.fossil-dark-style .Attacher .attach-row { |
| 2039 | 2039 | background-color: initial; |
| 2040 | 2040 | } |
| 2041 | | -.attach-widget .attach-dropzone { |
| 2041 | +.Attacher .attach-dropzone { |
| 2042 | 2042 | padding: 1em; |
| 2043 | 2043 | text-align: center; |
| 2044 | 2044 | background: #ffffff; |
| 2045 | 2045 | border: 1px solid #ddd; |
| 2046 | 2046 | cursor: pointer; |
| | @@ -2048,57 +2048,57 @@ |
| 2048 | 2048 | transition: background-color 0.15s ease-in-out; |
| 2049 | 2049 | display: flex; |
| 2050 | 2050 | flex-direction: row; |
| 2051 | 2051 | flex-wrap: nowrap; |
| 2052 | 2052 | } |
| 2053 | | -body.fossil-dark-style .attach-widget .attach-dropzone{ |
| 2053 | +body.fossil-dark-style .Attacher .attach-dropzone{ |
| 2054 | 2054 | background: initial; |
| 2055 | 2055 | } |
| 2056 | | -.attach-widget .attach-dropzone.populated { |
| 2056 | +.Attacher .attach-dropzone.populated { |
| 2057 | 2057 | background-color: #f1f8e9; |
| 2058 | 2058 | border-color: #8bc34a; |
| 2059 | 2059 | border-style: solid; |
| 2060 | 2060 | text-align: left; |
| 2061 | 2061 | } |
| 2062 | | -body.fossil-dark-style .attach-widget .attach-dropzone.populated{ |
| 2062 | +body.fossil-dark-style .Attacher .attach-dropzone.populated{ |
| 2063 | 2063 | background-color: initial; |
| 2064 | 2064 | } |
| 2065 | | -.attach-widget .attach-dropzone.dragover { |
| 2065 | +.Attacher .attach-dropzone.dragover { |
| 2066 | 2066 | background-color: #e1f5fe; |
| 2067 | 2067 | color: black; |
| 2068 | 2068 | border-color: #03a9f4; |
| 2069 | 2069 | } |
| 2070 | | -body.fossil-dark-style .attach-widget .attach-dropzone.dragover{ |
| 2070 | +body.fossil-dark-style .Attacher .attach-dropzone.dragover{ |
| 2071 | 2071 | border-color: #03a9f4; |
| 2072 | 2072 | } |
| 2073 | | -body.fossil-dark-style .attach-widget .attach-dropzone.dragover{ |
| 2073 | +body.fossil-dark-style .Attacher .attach-dropzone.dragover{ |
| 2074 | 2074 | background-color: #e1f5fe; |
| 2075 | 2075 | border-color: #03a9f4; |
| 2076 | 2076 | } |
| 2077 | | -.attach-widget .thumbnail { |
| 2077 | +.Attacher .thumbnail { |
| 2078 | 2078 | max-width: 10em; |
| 2079 | 2079 | max-height: 10em; |
| 2080 | 2080 | margin: 0 1em; |
| 2081 | 2081 | } |
| 2082 | | -.attach-widget .attach-row-info{ |
| 2082 | +.Attacher .attach-row-info{ |
| 2083 | 2083 | font-family: monospace; |
| 2084 | 2084 | flex-grow: 1; |
| 2085 | 2085 | display: flex; |
| 2086 | 2086 | flex-direction: column; |
| 2087 | 2087 | } |
| 2088 | | -.attach-widget .attach-filename {} |
| 2089 | | -.attach-widget .attach-size {/*size and mimetype*/} |
| 2090 | | -.attach-widget .attach-desc { |
| 2088 | +.Attacher .attach-filename {} |
| 2089 | +.Attacher .attach-size {/*size and mimetype*/} |
| 2090 | +.Attacher .attach-desc { |
| 2091 | 2091 | max-width: initial; |
| 2092 | 2092 | width: 100%; |
| 2093 | 2093 | box-sizing: border-box; |
| 2094 | 2094 | min-height: 4em; |
| 2095 | 2095 | padding: 0.5em; |
| 2096 | 2096 | font-family: inherit; |
| 2097 | 2097 | resize: vertical; |
| 2098 | 2098 | } |
| 2099 | | -.attach-widget .attach-row-remove { |
| 2099 | +.Attacher .attach-row-remove { |
| 2100 | 2100 | align-self: center; |
| 2101 | 2101 | padding: 0.25em 0.75em; |
| 2102 | 2102 | margin-left: 1em; |
| 2103 | 2103 | background-color: #d32f2f; |
| 2104 | 2104 | color: #fff; |
| | @@ -2105,19 +2105,19 @@ |
| 2105 | 2105 | border: none; |
| 2106 | 2106 | border-radius: 0.25em; |
| 2107 | 2107 | cursor: pointer; |
| 2108 | 2108 | font-weight: bold; |
| 2109 | 2109 | } |
| 2110 | | -.attach-widget .attach-row-remove:hover { |
| 2110 | +.Attacher .attach-row-remove:hover { |
| 2111 | 2111 | background-color: #b71c1c; |
| 2112 | 2112 | } |
| 2113 | | -.attach-widget .attach-controls { |
| 2113 | +.Attacher .attach-controls { |
| 2114 | 2114 | display: flex; |
| 2115 | 2115 | flex-direction: row; |
| 2116 | 2116 | gap: 1em; |
| 2117 | 2117 | } |
| 2118 | | -.attach-widget .attach-controls .attach-add-button { |
| 2118 | +.Attacher .attach-controls .attach-add-button { |
| 2119 | 2119 | padding: 0.5em 1em; |
| 2120 | 2120 | cursor: pointer; |
| 2121 | 2121 | flex-grow: 2; |
| 2122 | 2122 | } |
| 2123 | 2123 | |
| 2124 | 2124 | |