diff --git a/issues/templates/issues/issue_detail.html b/issues/templates/issues/issue_detail.html index 1dcfa47..e3a9d41 100644 --- a/issues/templates/issues/issue_detail.html +++ b/issues/templates/issues/issue_detail.html @@ -31,6 +31,7 @@ {% endif %} + diff --git a/issues/templates/issues/issue_list.html b/issues/templates/issues/issue_list.html index 831f72c..7b615a2 100644 --- a/issues/templates/issues/issue_list.html +++ b/issues/templates/issues/issue_list.html @@ -73,6 +73,16 @@ https://flowbite.com/docs/forms/floating-label/ {# TODO "reopen" ... we don't do that currently, see notes in issue_detail #} {# only for resolved/muted items #} + + + diff --git a/theme/static/css/dist/styles.css b/theme/static/css/dist/styles.css index 5f33f00..595ace9 100644 --- a/theme/static/css/dist/styles.css +++ b/theme/static/css/dist/styles.css @@ -791,20 +791,12 @@ select { z-index: 10; } -.m-4 { - margin: 1rem; -} - .m-1 { margin: 0.25rem; } -.m-2 { - margin: 0.5rem; -} - -.m-3 { - margin: 0.75rem; +.m-4 { + margin: 1rem; } .mx-auto { @@ -994,6 +986,10 @@ select { white-space: pre; } +.rounded-full { + border-radius: 9999px; +} + .rounded-lg { border-radius: 0.5rem; } @@ -1002,8 +998,9 @@ select { border-radius: 0.375rem; } -.rounded-full { - border-radius: 9999px; +.rounded-e-md { + border-start-end-radius: 0.375rem; + border-end-end-radius: 0.375rem; } .rounded-s-md { @@ -1011,11 +1008,6 @@ select { border-end-start-radius: 0.375rem; } -.rounded-e-md { - border-start-end-radius: 0.375rem; - border-end-end-radius: 0.375rem; -} - .border { border-width: 1px; } @@ -1420,6 +1412,61 @@ select { /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } +/* Dropdown Button */ + +.dropbtn { + background-color: #04AA6D; + color: white; + padding: 16px; + font-size: 16px; + border: none; +} + +/* The container
- needed to position the dropdown content */ + +.dropdown { + position: relative; + display: inline-block; +} + +/* Dropdown Content (Hidden by Default) */ + +.dropdown-content { + display: none; + position: absolute; + background-color: #f1f1f1; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; +} + +/* Links inside the dropdown */ + +.dropdown-content a { + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; +} + +/* Change color of dropdown links on hover */ + +.dropdown-content a:hover { + background-color: #ddd; +} + +/* Show the dropdown menu on hover */ + +.dropdown:hover .dropdown-content { + display: block; +} + +/* Change the background color of the dropdown button when the dropdown content is shown */ + +.dropdown:hover .dropbtn { + background-color: #3e8e41; +} + .hover\:border-b-4:hover { border-bottom-width: 4px; } @@ -1434,6 +1481,11 @@ select { background-color: rgb(34 211 238 / var(--tw-bg-opacity)); } +.hover\:bg-slate-100:hover { + --tw-bg-opacity: 1; + background-color: rgb(241 245 249 / var(--tw-bg-opacity)); +} + .hover\:bg-slate-200:hover { --tw-bg-opacity: 1; background-color: rgb(226 232 240 / var(--tw-bg-opacity)); @@ -1444,16 +1496,6 @@ select { background-color: rgb(148 163 184 / var(--tw-bg-opacity)); } -.hover\:bg-slate-300:hover { - --tw-bg-opacity: 1; - background-color: rgb(203 213 225 / var(--tw-bg-opacity)); -} - -.hover\:bg-slate-100:hover { - --tw-bg-opacity: 1; - background-color: rgb(241 245 249 / var(--tw-bg-opacity)); -} - .focus\:border-blue-600:focus { --tw-border-opacity: 1; border-color: rgb(37 99 235 / var(--tw-border-opacity)); @@ -1590,4 +1632,4 @@ select { .xl\:w-1\/2 { width: 50%; } -} +} diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css index f3db16f..1e56820 100644 --- a/theme/static_src/src/styles.css +++ b/theme/static_src/src/styles.css @@ -73,3 +73,45 @@ font-weight: 700; src: url('../../fonts/ibm-plex-mono-v19-cyrillic_cyrillic-ext_latin_latin-ext_vietnamese-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } + + /* Dropdown Button */ +.dropbtn { + background-color: #04AA6D; + color: white; + padding: 16px; + font-size: 16px; + border: none; +} + +/* The container
- needed to position the dropdown content */ +.dropdown { + position: relative; + display: inline-block; +} + +/* Dropdown Content (Hidden by Default) */ +.dropdown-content { + display: none; + position: absolute; + background-color: #f1f1f1; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; +} + +/* Links inside the dropdown */ +.dropdown-content a { + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; +} + +/* Change color of dropdown links on hover */ +.dropdown-content a:hover {background-color: #ddd;} + +/* Show the dropdown menu on hover */ +.dropdown:hover .dropdown-content {display: block;} + +/* Change the background color of the dropdown button when the dropdown content is shown */ +.dropdown:hover .dropbtn {background-color: #3e8e41;}