summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/fomantic/build/semantic.css342
-rw-r--r--web_src/fomantic/semantic.json1
-rw-r--r--web_src/less/_base.less15
-rw-r--r--web_src/less/_explore.less2
-rw-r--r--web_src/less/_repository.less14
-rw-r--r--web_src/less/_review.less6
-rw-r--r--web_src/less/features/gitgraph.less2
7 files changed, 16 insertions, 366 deletions
diff --git a/web_src/fomantic/build/semantic.css b/web_src/fomantic/build/semantic.css
index 6ea20c3a8c..dd6637981b 100644
--- a/web_src/fomantic/build/semantic.css
+++ b/web_src/fomantic/build/semantic.css
@@ -24348,348 +24348,6 @@ i.icon.youtube.play:before {
Site Overrides
*******************************/
/*!
- * # Fomantic-UI - Image
- * http://github.com/fomantic/Fomantic-UI/
- *
- *
- * Released under the MIT license
- * http://opensource.org/licenses/MIT
- *
- */
-
-/*******************************
- Image
-*******************************/
-
-.ui.image {
- position: relative;
- display: inline-block;
- vertical-align: middle;
- max-width: 100%;
- background-color: transparent;
-}
-
-img.ui.image {
- display: block;
-}
-
-.ui.image svg,
-.ui.image img {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-/*******************************
- States
-*******************************/
-
-.ui.hidden.images,
-.ui.ui.hidden.image {
- display: none;
-}
-
-.ui.hidden.transition.images,
-.ui.hidden.transition.image {
- display: block;
- visibility: hidden;
-}
-
-.ui.images > .hidden.transition {
- display: inline-block;
- visibility: hidden;
-}
-
-.ui.disabled.images,
-.ui.disabled.image {
- cursor: default;
- opacity: var(--opacity-disabled);
-}
-
-/*******************************
- Variations
-*******************************/
-
-/*--------------
- Inline
- ---------------*/
-
-.ui.inline.image,
-.ui.inline.image svg,
-.ui.inline.image img {
- display: inline-block;
-}
-
-/*------------------
- Vertical Aligned
- -------------------*/
-
-.ui.top.aligned.image,
-.ui.top.aligned.image svg,
-.ui.top.aligned.image img {
- display: inline-block;
- vertical-align: top;
-}
-
-.ui.middle.aligned.image,
-.ui.middle.aligned.image svg,
-.ui.middle.aligned.image img {
- display: inline-block;
- vertical-align: middle;
-}
-
-.ui.bottom.aligned.image,
-.ui.bottom.aligned.image svg,
-.ui.bottom.aligned.image img {
- display: inline-block;
- vertical-align: bottom;
-}
-
-.ui.top.aligned.images .image,
-.ui.images .ui.top.aligned.image {
- align-self: flex-start;
-}
-
-.ui.middle.aligned.images .image,
-.ui.images .ui.middle.aligned.image {
- align-self: center;
-}
-
-.ui.bottom.aligned.images .image,
-.ui.images .ui.bottom.aligned.image {
- align-self: flex-end;
-}
-
-/*--------------
- Rounded
- ---------------*/
-
-.ui.rounded.images .image,
-.ui.rounded.image,
-.ui.rounded.images .image > *,
-.ui.rounded.image > * {
- border-radius: 0.3125em;
-}
-
-/*--------------
- Bordered
- ---------------*/
-
-.ui.bordered.images .image,
-.ui.bordered.images img,
-.ui.bordered.images svg,
-.ui.bordered.image img,
-.ui.bordered.image svg,
-img.ui.bordered.image {
- border: 1px solid rgba(0, 0, 0, 0.1);
-}
-
-/*--------------
- Circular
- ---------------*/
-
-.ui.circular.images,
-.ui.circular.image {
- overflow: hidden;
-}
-
-.ui.circular.images .image,
-.ui.circular.image,
-.ui.circular.images .image > *,
-.ui.circular.image > * {
- border-radius: 500rem;
-}
-
-/*--------------
- Fluid
- ---------------*/
-
-.ui.fluid.images,
-.ui.fluid.image,
-.ui.fluid.images img,
-.ui.fluid.images svg,
-.ui.fluid.image svg,
-.ui.fluid.image img {
- display: block;
- width: 100%;
- height: auto;
-}
-
-/*--------------
- Avatar
- ---------------*/
-
-.ui.avatar.images .image,
-.ui.avatar.images img,
-.ui.avatar.images svg,
-.ui.avatar.image img,
-.ui.avatar.image svg,
-.ui.avatar.image {
- margin-right: 0.25em;
- display: inline-block;
- width: 2em;
- height: 2em;
- border-radius: 500rem;
-}
-
-/*-------------------
- Spaced
- --------------------*/
-
-.ui.spaced.image {
- display: inline-block !important;
- margin-left: 0.5em;
- margin-right: 0.5em;
-}
-
-.ui[class*="left spaced"].image {
- margin-left: 0.5em;
- margin-right: 0;
-}
-
-.ui[class*="right spaced"].image {
- margin-left: 0;
- margin-right: 0.5em;
-}
-
-/*-------------------
- Floated
- --------------------*/
-
-.ui.floated.image,
-.ui.floated.images {
- float: left;
- margin-right: 1em;
- margin-bottom: 1em;
-}
-
-.ui.right.floated.images,
-.ui.right.floated.image {
- float: right;
- margin-right: 0;
- margin-bottom: 1em;
- margin-left: 1em;
-}
-
-.ui.floated.images:last-child,
-.ui.floated.image:last-child {
- margin-bottom: 0;
-}
-
-.ui.centered.image {
- display: block;
- margin-left: auto;
- margin-right: auto;
-}
-
-.ui.centered.images {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- align-items: stretch;
- justify-content: center;
-}
-
-/*--------------
- Sizes
----------------*/
-
-.ui.medium.images .image,
-.ui.medium.images img,
-.ui.medium.images svg,
-.ui.medium.image {
- width: 300px;
- height: auto;
- font-size: 1rem;
-}
-
-.ui.mini.images .image,
-.ui.mini.images img,
-.ui.mini.images svg,
-.ui.mini.image {
- width: 35px;
- height: auto;
- font-size: 0.78571429rem;
-}
-
-.ui.tiny.images .image,
-.ui.tiny.images img,
-.ui.tiny.images svg,
-.ui.tiny.image {
- width: 80px;
- height: auto;
- font-size: 0.85714286rem;
-}
-
-.ui.small.images .image,
-.ui.small.images img,
-.ui.small.images svg,
-.ui.small.image {
- width: 150px;
- height: auto;
- font-size: 0.92857143rem;
-}
-
-.ui.large.images .image,
-.ui.large.images img,
-.ui.large.images svg,
-.ui.large.image {
- width: 450px;
- height: auto;
- font-size: 1.14285714rem;
-}
-
-.ui.big.images .image,
-.ui.big.images img,
-.ui.big.images svg,
-.ui.big.image {
- width: 600px;
- height: auto;
- font-size: 1.28571429rem;
-}
-
-.ui.huge.images .image,
-.ui.huge.images img,
-.ui.huge.images svg,
-.ui.huge.image {
- width: 800px;
- height: auto;
- font-size: 1.42857143rem;
-}
-
-.ui.massive.images .image,
-.ui.massive.images img,
-.ui.massive.images svg,
-.ui.massive.image {
- width: 960px;
- height: auto;
- font-size: 1.71428571rem;
-}
-
-/*******************************
- Groups
- *******************************/
-
-.ui.images {
- font-size: 0;
- margin: 0 -0.25rem 0;
-}
-
-.ui.images .image,
-.ui.images > img,
-.ui.images > svg {
- display: inline-block;
- margin: 0 0.25rem 0.5rem;
-}
-
-/*******************************
- Theme Overrides
-*******************************/
-
-/*******************************
- Site Overrides
-*******************************/
-/*!
* # Fomantic-UI - Input
* http://github.com/fomantic/Fomantic-UI/
*
diff --git a/web_src/fomantic/semantic.json b/web_src/fomantic/semantic.json
index a94adab85c..3c6f3b7435 100644
--- a/web_src/fomantic/semantic.json
+++ b/web_src/fomantic/semantic.json
@@ -35,7 +35,6 @@
"grid",
"header",
"icon",
- "image",
"input",
"item",
"label",
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index bed672a35a..31f71d3c00 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -692,12 +692,9 @@ a.ui.card:hover,
border-color: var(--color-secondary);
}
-.ui.avatar.images .image,
-.ui.avatar.images img,
-.ui.avatar.images svg,
-.ui.avatar.image img,
-.ui.avatar.image svg,
-.ui.avatar.image,
+.ui.avatar img,
+.ui.avatar svg,
+.ui.avatar.img,
.ui.cards > .card img.avatar,
.ui.cards > .card .avatar img,
.ui.card img.avatar,
@@ -758,10 +755,6 @@ a.ui.card:hover,
padding-left: 0;
}
- .brand .ui.mini.image {
- width: 30px;
- }
-
.top.menu a.item:hover,
.top.menu .dropdown.item:hover,
.top.menu .dropdown.item.active {
@@ -1686,7 +1679,7 @@ a.ui.label:hover {
}
}
- .ui.avatar.image {
+ .ui.avatar {
height: 18px;
width: 18px;
display: block;
diff --git a/web_src/less/_explore.less b/web_src/less/_explore.less
index 3a31fe44d8..b07b33461e 100644
--- a/web_src/less/_explore.less
+++ b/web_src/less/_explore.less
@@ -75,7 +75,7 @@
padding-top: 25px;
}
- .ui.avatar.image {
+ img.ui.avatar {
width: 40px;
height: 40px;
}
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 219597190d..f5be0b34e6 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -846,8 +846,8 @@
display: none;
}
- .avatar.image,
- .avatar.image img {
+ img.avatar,
+ .avatar img {
width: 20px;
height: 20px;
margin: 0 .25rem;
@@ -908,8 +908,8 @@
line-height: 34px; /* this must be same as .badge height, to avoid overflow */
clear: both; // reset the "float right shabox", in the future, use flexbox instead
- > .avatar.image,
- > .avatar.image img {
+ > img.avatar,
+ > .avatar img {
position: relative;
top: -2px;
}
@@ -1125,7 +1125,7 @@
margin-left: 36px;
}
- .avatar.image {
+ img.avatar {
width: 28px;
height: 28px;
}
@@ -2497,7 +2497,7 @@
#search-user-box {
.results {
.result {
- .image {
+ img {
float: left;
margin-right: 8px;
width: 2em;
@@ -3305,7 +3305,7 @@ td.blob-excerpt {
display: flex;
margin-bottom: auto;
- img.avatar.image {
+ img.avatar {
height: 24px;
width: 24px;
}
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 2fa8efd67e..e3b88ed928 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -90,10 +90,10 @@
float: none;
margin: 0 .5rem 0 0;
flex-shrink: 0;
+ }
- &.image {
- margin: 0 !important;
- }
+ img.avatar {
+ margin: 0 !important;
}
.comment-content {
diff --git a/web_src/less/features/gitgraph.less b/web_src/less/features/gitgraph.less
index efb6071e49..f6b1be5ba6 100644
--- a/web_src/less/features/gitgraph.less
+++ b/web_src/less/features/gitgraph.less
@@ -134,7 +134,7 @@
padding-bottom: 1px;
}
- .author .ui.avatar.image {
+ .author img.ui.avatar {
width: auto;
height: 18px;
max-width: none;