aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/base.css14
-rw-r--r--web_src/css/editor.css6
-rw-r--r--web_src/css/index.css1
-rw-r--r--web_src/css/modules/breadcrumb.css9
-rw-r--r--web_src/css/repository.css18
-rw-r--r--web_src/fomantic/build/semantic.css145
-rw-r--r--web_src/fomantic/semantic.json1
7 files changed, 24 insertions, 170 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index ed51892044..e10d3d1213 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -332,8 +332,7 @@ progress::-moz-progress-bar {
user-select: none;
}
-a,
-.ui.breadcrumb a {
+a {
color: var(--color-primary);
cursor: pointer;
text-decoration-skip-ink: all;
@@ -347,8 +346,7 @@ a.muted,
a:hover,
a.muted:hover,
a.muted:hover [class*="color-text"],
-.muted-links a:hover,
-.ui.breadcrumb a:hover {
+.muted-links a:hover {
color: var(--color-primary);
}
@@ -737,14 +735,6 @@ a.label,
padding-bottom: 7.42px !important;
}
-.ui.breadcrumb a:hover {
- text-decoration: underline !important;
-}
-
-.ui.breadcrumb .divider {
- color: var(--color-text-light-2);
-}
-
.ui.divider:not(.vertical,.horizontal) {
border-top-color: var(--color-secondary) !important;
border-bottom: none !important;
diff --git a/web_src/css/editor.css b/web_src/css/editor.css
index ba35036e4f..62ac915505 100644
--- a/web_src/css/editor.css
+++ b/web_src/css/editor.css
@@ -12,6 +12,12 @@
border-bottom: 0;
}
+.repo-editor-header {
+ display: flex;
+ margin: 1rem 0;
+ padding: 3px 0;
+}
+
.editor-toolbar {
border-color: var(--color-secondary);
}
diff --git a/web_src/css/index.css b/web_src/css/index.css
index d6ef1da9b9..e01dfb7a73 100644
--- a/web_src/css/index.css
+++ b/web_src/css/index.css
@@ -11,6 +11,7 @@
@import "./features/projects.css";
@import "./modules/tippy.css";
@import "./modules/modal.css";
+@import "./modules/breadcrumb.css";
@import "./code/linebutton.css";
@import "./markup/content.css";
@import "./markup/codecopy.css";
diff --git a/web_src/css/modules/breadcrumb.css b/web_src/css/modules/breadcrumb.css
new file mode 100644
index 0000000000..67830e562a
--- /dev/null
+++ b/web_src/css/modules/breadcrumb.css
@@ -0,0 +1,9 @@
+.breadcrumb .divider {
+ color: var(--color-text-light-2);
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+.breadcrumb > * {
+ display: inline;
+}
diff --git a/web_src/css/repository.css b/web_src/css/repository.css
index 259cfda3a1..32ff51c920 100644
--- a/web_src/css/repository.css
+++ b/web_src/css/repository.css
@@ -223,11 +223,6 @@
word-break: break-word;
}
-.repository.file.list .repo-path .section,
-.repository.file.list .repo-path .divider {
- display: inline;
-}
-
.repository.file.list #repo-files-table {
table-layout: fixed;
}
@@ -448,16 +443,15 @@
width: 16px;
}
-.repository.file.editor .treepath {
+.repo-editor-header {
width: 100%;
}
-.repository.file.editor .treepath input {
- vertical-align: middle;
- box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
- width: inherit;
- padding: 7px 8px;
- margin-right: 5px;
+.repo-editor-header input {
+ vertical-align: middle !important;
+ width: auto !important;
+ padding: 7px 8px !important;
+ margin-right: 5px !important;
}
.repository.file.editor .tabular.menu .svg {
diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css
index dd6637981b..be6547e47a 100644
--- a/web_src/fomantic/build/semantic.css
+++ b/web_src/fomantic/build/semantic.css
@@ -9,151 +9,6 @@
*
*/
/*!
- * # Fomantic-UI - Breadcrumb
- * http://github.com/fomantic/Fomantic-UI/
- *
- *
- * Released under the MIT license
- * http://opensource.org/licenses/MIT
- *
- */
-
-/*******************************
- Breadcrumb
-*******************************/
-
-.ui.breadcrumb {
- line-height: 1.4285em;
- display: inline-block;
- margin: 0 0;
- vertical-align: middle;
-}
-
-.ui.breadcrumb:first-child {
- margin-top: 0;
-}
-
-.ui.breadcrumb:last-child {
- margin-bottom: 0;
-}
-
-/*******************************
- Content
-*******************************/
-
-/* Divider */
-
-.ui.breadcrumb .divider {
- display: inline-block;
- opacity: 0.7;
- margin: 0 0.21428571rem 0;
- font-size: 0.92857143em;
- color: rgba(0, 0, 0, 0.4);
- vertical-align: baseline;
-}
-
-/* Link */
-
-.ui.breadcrumb a {
- color: #4183C4;
-}
-
-.ui.breadcrumb a:hover {
- color: #1e70bf;
-}
-
-/* Icon Divider */
-
-.ui.breadcrumb .icon.divider {
- font-size: 0.85714286em;
- vertical-align: baseline;
-}
-
-/* Section */
-
-.ui.breadcrumb a.section {
- cursor: pointer;
-}
-
-.ui.breadcrumb .section {
- display: inline-block;
- margin: 0;
- padding: 0;
-}
-
-/* Loose Coupling */
-
-.ui.breadcrumb.segment {
- display: inline-block;
- padding: 0.78571429em 1em;
-}
-
-/* Inverted */
-
-.ui.inverted.breadcrumb {
- color: #DCDDDE;
-}
-
-.ui.inverted.breadcrumb > .active.section {
- color: #FFFFFF;
-}
-
-.ui.inverted.breadcrumb > .divider {
- color: rgba(255, 255, 255, 0.7);
-}
-
-/*******************************
- States
-*******************************/
-
-.ui.breadcrumb .active.section {
- font-weight: 500;
-}
-
-/*******************************
- Variations
-*******************************/
-
-.ui.breadcrumb {
- font-size: 1rem;
-}
-
-.ui.mini.breadcrumb {
- font-size: 0.78571429rem;
-}
-
-.ui.tiny.breadcrumb {
- font-size: 0.85714286rem;
-}
-
-.ui.small.breadcrumb {
- font-size: 0.92857143rem;
-}
-
-.ui.large.breadcrumb {
- font-size: 1.14285714rem;
-}
-
-.ui.big.breadcrumb {
- font-size: 1.28571429rem;
-}
-
-.ui.huge.breadcrumb {
- font-size: 1.42857143rem;
-}
-
-.ui.massive.breadcrumb {
- font-size: 1.71428571rem;
-}
-
-/*******************************
- Theme Overrides
-*******************************/
-
-/*******************************
- Site Overrides
-*******************************/
-/*!
* # Fomantic-UI - Button
* http://github.com/fomantic/Fomantic-UI/
*
diff --git a/web_src/fomantic/semantic.json b/web_src/fomantic/semantic.json
index 3c6f3b7435..06d57a1849 100644
--- a/web_src/fomantic/semantic.json
+++ b/web_src/fomantic/semantic.json
@@ -22,7 +22,6 @@
"admin": false,
"components": [
"api",
- "breadcrumb",
"button",
"card",
"checkbox",