mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-21 17:24:10 +00:00
switch to fomantic-ui (#9374)
This commit is contained in:
parent
601b0cf4c1
commit
590d56dbb3
68 changed files with 105598 additions and 3541 deletions
|
@ -3252,7 +3252,10 @@ function initTopicbar() {
|
|||
|
||||
const last = viewDiv.children('a').last();
|
||||
for (let i = 0; i < topicArray.length; i++) {
|
||||
$(`<a class="ui repo-topic small label topic" href="${suburl}/explore/repos?q=${topicArray[i]}&topic=1">${topicArray[i]}</a>`).insertBefore(last);
|
||||
const link = $('<a class="ui repo-topic small label topic"></a>');
|
||||
link.attr('href', `${suburl}/explore/repos?q=${encodeURIComponent(topicArray[i])}&topic=1`);
|
||||
link.text(topicArray[i]);
|
||||
link.insertBefore(last);
|
||||
}
|
||||
}
|
||||
editDiv.css('display', 'none');
|
||||
|
@ -3298,7 +3301,7 @@ function initTopicbar() {
|
|||
label: 'ui small label'
|
||||
},
|
||||
apiSettings: {
|
||||
url: `${suburl}/api/v1/topics/search?q={query}`,
|
||||
url: `${suburl}/api/v1/topics/search?q={encodeURIComponent(query)}`,
|
||||
throttle: 500,
|
||||
cache: false,
|
||||
onResponse(res) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -354,6 +354,10 @@ code,
|
|||
z-index: 21;
|
||||
}
|
||||
|
||||
&.dropdown .menu > .header {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.text {
|
||||
&.red {
|
||||
color: #d95c5c !important;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
vertical-align: middle;
|
||||
|
||||
&.truncate {
|
||||
width: 85%;
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
|
||||
.octicon {
|
||||
float: left;
|
||||
margin: 5px -7px 0 -5px;
|
||||
margin: 0 -7px 0 -5px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
|
|
|
@ -483,13 +483,18 @@ a.ui.basic.green.label:hover {
|
|||
color: #dbdbdb;
|
||||
}
|
||||
|
||||
.ui.table thead th {
|
||||
background: #404552;
|
||||
color: #dbdbdb;
|
||||
.ui.table thead th,
|
||||
.ui.table > thead > tr > th {
|
||||
background: #404552 !important;
|
||||
color: #dbdbdb !important;
|
||||
}
|
||||
|
||||
.repository.file.list #repo-files-table tr {
|
||||
background: #2a2e3a;
|
||||
}
|
||||
|
||||
.repository.file.list #repo-files-table tr:hover {
|
||||
background-color: #393d4a;
|
||||
background-color: #393d4a !important;
|
||||
}
|
||||
|
||||
.ui.table {
|
||||
|
@ -602,6 +607,10 @@ a.ui.basic.green.label:hover {
|
|||
border: 1px solid #404552;
|
||||
}
|
||||
|
||||
.ui.list > .item > .content {
|
||||
color: #9e9e9e !important;
|
||||
}
|
||||
|
||||
.ui.active.button:active,
|
||||
.ui.button:active,
|
||||
.ui.button:focus {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue