- Timestamp:
- 2023-03-28T16:15:05+13:00 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/style/core.css
r37477 r37587 944 944 float: right; 945 945 top: 28px; 946 left: 1 28px;946 left: 140px; 947 947 padding: 5px; 948 948 } … … 1407 1407 1408 1408 #audioContainer { 1409 position: relative; 1409 1410 width: 100%; 1410 1411 overflow: hidden; … … 1425 1426 background-color: white; 1426 1427 position: relative; 1427 } 1428 1429 #toolbar { 1430 background-color: rgb(20, 30, 32); 1428 overflow-y: hidden; 1429 } 1430 1431 #audio-toolbar { 1432 background-color: rgb(16, 24, 26); 1431 1433 position: relative; 1432 1434 display: flex; … … 1440 1442 } 1441 1443 1442 # toolbar button {1444 #audio-toolbar button { 1443 1445 cursor: pointer; 1444 1446 height: 100%; … … 1449 1451 filter: invert(1); 1450 1452 cursor: pointer; 1451 transition: 0.1s ease;1453 /* transition: 0.1s ease; */ 1452 1454 } 1453 1455 … … 1470 1472 } 1471 1473 1472 .audio-scroll { 1473 scroll-behavior: smooth; 1474 #chapters img { 1475 height: 1rem !important; 1476 width: 1rem !important; 1477 padding: 0 !important; 1478 pointer-events: all !important; 1479 } 1480 1481 #chapters img.hide { 1482 opacity: 0; 1483 pointer-events: none !important; 1484 } 1485 1486 @supports (-moz-appearance:none) { /* bad results in chrome, safari not tested */ 1487 .audio-scroll { 1488 scroll-behavior: smooth; 1489 } 1490 } 1491 1492 .audio-scroll::-webkit-scrollbar { 1493 height: 6px; 1494 } 1495 1496 .audio-scroll::-webkit-scrollbar-track { 1497 background: rgba(0,0,0,0.1); 1498 } 1499 1500 .audio-scroll::-webkit-scrollbar-thumb { 1501 background: #BDBDBD; 1502 } 1503 1504 .audio-scroll::-webkit-scrollbar-thumb:hover { 1505 background: #6E6E6E; 1474 1506 } 1475 1507 … … 1478 1510 border-style: solid; 1479 1511 border-width: 1px 0 0 0; 1480 /* border-top-right-radius: 5px; */1481 1512 border-top-left-radius: 5px; 1482 1513 padding: 0.5rem; … … 1490 1521 1491 1522 .chapter:hover { 1492 background-color: rgb( 101, 116, 116);1523 background-color: rgb(81, 90, 90); 1493 1524 } 1494 1525 … … 1506 1537 } 1507 1538 1539 .speakerName { 1540 flex: 1; 1541 pointer-events: none; 1542 } 1543 1544 .speakerLocked { 1545 /* flex: 1; */ 1546 } 1547 1508 1548 .speakerTime { 1509 /* float: right; */ 1510 white-space: nowrap; 1511 } 1512 1513 .speakerName { 1514 /* white-space: normal; */ 1549 flex: 1; 1550 text-align: right; 1551 pointer-events: none; 1515 1552 } 1516 1553 … … 1539 1576 z-index: 10; 1540 1577 height: 8rem; 1578 width: 1.5rem; 1541 1579 margin-top: -8rem; 1542 padding-left: 1rem; 1580 padding-left: 1rem; 1543 1581 padding-right: 1rem; 1544 1582 margin-left: -1rem; 1545 box-shadow: 0 0 15px; 1583 /* border-radius: 50%; */ 1584 -webkit-appearance: slider-vertical; /* chrome */ 1585 writing-mode: bt-lr; /* IE */ 1586 box-shadow: 0 0 10px 2px #000; /* bad results on chrome (and probably safari) */ 1546 1587 } 1547 1588 … … 1556 1597 } 1557 1598 1558 /* Limit scope of the following to only canvases within a audioContainer div */ 1559 #audioContainer canvas { 1560 /* transition: width 0.5s ease; */ 1599 #audioContainer canvas { /* Limit scope of the following to only canvases within a audioContainer div */ 1561 1600 /* z-index: 4 !important; */ 1562 1601 pointer-events: none; … … 1576 1615 1577 1616 #wave-timeline { 1578 background-color: rgb(40, 54, 58);1617 background-color: var(--audio-bg-colour); 1579 1618 /* background-color: rgb(24, 36, 39); */ 1580 1619 } … … 1583 1622 color: white; 1584 1623 padding: 0.2rem; 1624 position: absolute; 1585 1625 } 1586 1626 … … 1625 1665 1626 1666 .word:hover { 1627 background-color: rgb( 101, 116, 116);1667 background-color: rgb(81, 90, 90); 1628 1668 } 1629 1669 … … 1644 1684 1645 1685 #tapeDetails tr:nth-of-type(odd) { 1646 background-color: darkseagreen; 1686 /* background-color: darkseagreen; */ 1687 background-color: #76bb58ab; 1647 1688 } 1648 1689 … … 1671 1712 color: white; 1672 1713 overflow-y: hidden; 1673 transition: height 0. 4s ease, padding 0.4s ease;1714 transition: height 0.2s ease, padding 0.2s ease; 1674 1715 box-sizing: border-box; /* ensures padding doesn't modify width */ 1675 1716 font-family: 'Courier New', monospace; … … 1693 1734 font-size: 15px; 1694 1735 font-family: 'Courier New', monospace; 1736 font-weight: normal; 1695 1737 } 1696 1738 … … 1711 1753 1712 1754 #edit-panel input[type='text'] { 1713 width: 50%;1755 /* width: 35%; */ 1714 1756 /* border: 1px solid white; */ 1715 1757 outline: none; … … 1719 1761 transition: 0.25s ease-in; 1720 1762 background-color: white; 1763 flex-grow: 1; /* size increases when div is enlarged */ 1721 1764 } 1722 1765 … … 1770 1813 #audio-dropdowns { 1771 1814 width: 100%; 1772 background-color: rgb(40, 54, 58);1815 background-color: var(--audio-bg-colour); 1773 1816 display: flex; 1774 1817 flex-direction: row; … … 1804 1847 -webkit-appearance: textfield; 1805 1848 appearance: textfield; 1849 } 1850 1851 .no-arrows::-webkit-inner-spin-button { 1852 display: none; 1806 1853 } 1807 1854 … … 1829 1876 transition: background-color 0.1s ease; 1830 1877 z-index: 1 !important; 1831 height: 70% !important; 1832 top: 15% !important; 1878 height: 60% !important; 1879 top: 20% !important; 1880 /* border: 1px solid #000; */ 1833 1881 /* transition: width 2s ease; */ 1882 } 1883 1884 /* .wavesurfer-region:hover { 1885 background-color: rgba(200, 200, 200, 0.4) !important; 1886 } */ 1887 1888 .region-padlock { 1889 position: absolute; 1890 right: 0; 1891 width: 1rem !important; 1892 height: 1rem; 1893 padding-top: 0.2rem; 1894 padding-right: 0.2rem; 1895 /* pointer-events: none; */ 1896 } 1897 1898 .region-menu { 1899 position: absolute; 1900 left: 0; 1901 width: 1rem !important; 1902 height: 1rem; 1903 padding: 0.2rem 0.1rem; 1834 1904 } 1835 1905 … … 1850 1920 } 1851 1921 1922 .region-bottom img { 1923 bottom: 0.2rem; /* padlock img shows bottom of region on secondary */ 1924 } 1925 1852 1926 #caret-container { 1853 1927 position: absolute; 1854 1928 /* background-color: #090; */ 1855 height: 1 28px; /* match waveform */1929 height: 140px; /* match waveform */ 1856 1930 width: 20px; /* match gs_content padding */ 1857 1931 flex-direction: column; 1858 justify-content: space-around; 1859 left: -4px; /* padding */ 1932 justify-content: space-evenly; 1933 left: 0; /* padding */ 1934 padding-top: 2rem; 1935 display: none; 1936 } 1937 1938 #caret-container img { 1860 1939 cursor: pointer; 1861 display: none;1862 }1863 1864 #caret-container img {1865 1940 filter: none; 1866 1941 opacity: 0.85; 1942 width: 1.5rem; 1867 1943 } 1868 1944 … … 1884 1960 background: rgb(20, 30, 32); 1885 1961 box-shadow: 1px 1px 15px -5px black; 1886 border-radius: 5px;1962 /* border-radius: 5px; */ 1887 1963 display: none; 1888 } 1889 1890 #context-menu.visible { 1891 display: block; 1892 transition: display 200ms ease-in-out; 1964 border: 1px solid #eee; 1893 1965 } 1894 1966 … … 1906 1978 } 1907 1979 1908 .context-menu-item.faded {1980 /* .context-menu-item.faded { 1909 1981 color: rgb(94, 94, 94); 1910 1982 } … … 1912 1984 .context-menu-item.faded:hover { 1913 1985 background-color: rgb(20, 30, 32); 1914 } 1915 1916 # dual-mode-menu-button {1986 } */ 1987 1988 #timeline-menu-button { 1917 1989 position: absolute; 1918 1990 right: 0; 1919 1991 padding: 0.2rem; 1920 width: 0.8rem !important;1992 width: 1rem !important; 1921 1993 z-index: 1; 1922 display: none; 1923 } 1924 1925 #dual-mode-menu-button.visible { 1926 display: block; 1927 } 1928 1929 #dual-mode-menu { 1994 /* display: none; */ 1995 transition: transform 0.2s ease-in-out; 1996 } 1997 1998 #timeline-menu { 1930 1999 position: absolute; 1931 2000 right: 1.5rem; 1932 width: 150px;2001 width: 200px; 1933 2002 background: rgb(20, 30, 32); 1934 2003 box-shadow: 1px 1px 15px -5px black; 1935 border-radius: 5px;1936 z-index: 1 0;2004 /* border-radius: 5px; */ 2005 z-index: 12; 1937 2006 display: none; 1938 } 1939 1940 #dual-mode-menu.visible { 1941 display: block; 1942 transition: display 200ms ease-in-out; 1943 } 1944 1945 .dual-mode-menu-item { 1946 padding: 8px 10px; 2007 margin: 2.2rem 0; 2008 border: 1px solid #eee; 2009 } 2010 2011 #timeline-menu input { 2012 pointer-events: none; 2013 } 2014 2015 #timeline-menu hr { 2016 height: 1px; 2017 border: 0; 2018 background: #333; 2019 margin-top: 0; 2020 } 2021 2022 .timeline-menu-item { 2023 padding: 0.4rem 0.8rem; 1947 2024 font-size: 14px; 1948 2025 user-select: none; … … 1950 2027 cursor: pointer; 1951 2028 border-radius: inherit; 1952 } 1953 1954 .dual-mode-menu-item:hover { 2029 display: flex; 2030 flex-wrap: nowrap; 2031 justify-content: space-between; 2032 } 2033 2034 .timeline-menu-item:hover { 1955 2035 background: #343434; 1956 2036 } 1957 2037 1958 #prim-set-label { 1959 position: absolute; 1960 top: 0px; 1961 left: 0.2rem; 1962 color: #eee; 1963 font-size: 12px; 1964 } 1965 1966 #sec-set-label { 1967 position: absolute; 1968 bottom: 0px; 1969 left: 0.2rem; 1970 color: #eee; 1971 font-size: 12px; 2038 .timeline-menu-subtext { 2039 padding: 0.1rem 0.4rem; 2040 font-size: 14px; 2041 color: #999; 2042 font-weight: bold; 2043 pointer-events: none; 1972 2044 } 1973 2045 … … 2009 2081 font-size: 14px; 2010 2082 color: white; 2011 transition: background-color 0. 3s ease, height 0.3s ease;2083 transition: background-color 0.2s ease, height 0.2s ease; 2012 2084 user-select: none; 2013 2085 resize: horizontal; 2014 overflow: auto;2086 overflow: auto; 2015 2087 } 2016 2088 … … 2021 2093 } 2022 2094 2095 #new-canvas { 2096 position: absolute; 2097 background-color: var(--audio-bg-colour); 2098 background-size: cover; 2099 top: 0px; 2100 left: 0px; 2101 overflow-y: scroll; 2102 } 2103 2104 #waveform-spinner { 2105 position: absolute; 2106 inset: 0; /* top, bottom, left, right shorthand */ 2107 margin: auto; /* center horizontally and vertically */ 2108 border: 5px solid white; 2109 border-top: 5px solid var(--audio-accent-colour); 2110 border-radius: 50%; 2111 background-color: var(--audio-bg-colour); 2112 width: 3rem; 2113 height: 3rem; 2114 animation: spin 1.3s ease-in-out infinite; 2115 z-index: 10; 2116 transition: 0.5s ease-in-out; 2117 } 2118 2119 @keyframes spin { 2120 0% { transform: rotate(0deg); } 2121 100% { transform: rotate(720deg); } 2122 } 2123 2124 #waveform-blocker { 2125 position: absolute; 2126 width: 100%; 2127 height: 100%; 2128 background-color: var(--audio-bg-colour); 2129 z-index: 9; 2130 } 2131 2132 .track-set-label { 2133 position: absolute; 2134 max-width: 150px; 2135 left: 0.2rem; 2136 color: #eee; 2137 font-size: 14px; 2138 user-select: none; 2139 } 2140 2141 #track-set-label-bottom { 2142 bottom: 0px; 2143 } 2144 2145 .track-arrow { 2146 position: relative; 2147 width: 1.5em !important; 2148 transform: rotate(90deg); 2149 vertical-align: text-bottom; 2150 z-index: 20; 2151 /* transition: transform 0.2s ease-in-out; */ 2152 } 2153 2154 #version-select-menu { 2155 position: absolute; 2156 display: none; 2157 z-index: 21; 2158 background: rgb(20, 30, 32); 2159 box-shadow: 1px 1px 15px -5px black; 2160 /* border-radius: 5px; */ 2161 border: 1px solid #eee; 2162 overflow-y: auto; 2163 margin: 2px; 2164 } 2165 2166 #version-select-menu.visible { 2167 display: inline; 2168 } 2169 2170 .version-select-menu-item { 2171 padding: 8px 10px; 2172 font-size: 14px; 2173 user-select: none; 2174 color: #eee; 2175 cursor: pointer; 2176 border-radius: inherit; 2177 } 2178 2179 .version-select-menu-item:hover { 2180 background: #343434; 2181 } 2182 2183 #save-popup { 2184 display: none; 2185 position: absolute; 2186 inset: 0; 2187 margin: auto; 2188 width: 25vw; 2189 height: 9vh; 2190 background: rgb(20, 30, 32); 2191 border: 1px solid #ffffff70; 2192 /* border-radius: 5px; */ 2193 box-shadow: 1px 1px 15px -5px black; 2194 z-index: 1000; 2195 padding: 0.5rem 0.5rem 2rem 0.5rem; 2196 color: #eee; 2197 font-weight: bold; 2198 } 2199 2200 #commit-message { 2201 width: 22vw; 2202 resize: none; 2203 display: block; 2204 margin-left: auto; 2205 margin-right: auto; 2206 margin-top: 0.5rem; 2207 margin-bottom: 0.1rem; 2208 } 2209 2210 #save-popup button { 2211 width: 11vw; 2212 margin: 0.2rem; 2213 } 2214 2215 #save-popup-bg { 2216 display: none; 2217 position: absolute; 2218 width: 100%; 2219 height: 100%; 2220 top: 0; 2221 left: 0; 2222 backdrop-filter: blur(1px); 2223 background-color: rgba(20, 34, 38, 0.1); 2224 z-index: 999; 2225 user-select: none; 2226 } 2227 2228 .visible { 2229 display: block !important; 2230 } 2231 2023 2232 #favouritesFullViewLink { 2024 2233 color: black; 2025 2234 } 2026 2235 2236 :root { /* css vars */ 2237 --audio-accent-colour: #66d640; 2238 /* --audio-bg-colour: rgb(40, 54, 58); */ 2239 --audio-bg-colour: rgb(29, 43, 47); 2240 }
Note:
See TracChangeset
for help on using the changeset viewer.