summaryrefslogtreecommitdiffstats
path: root/web_src/less/_explore.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-08-25 21:48:53 +0200
committerGitHub <noreply@github.com>2020-08-25 22:48:53 +0300
commiteb4db0445bea4a8dff370d80a270765840fcb8ef (patch)
tree7cde26f9a5cad63b724afc2f4bc541562548e432 /web_src/less/_explore.less
parente90e122b395f2dc0aff9ee917a7377078c774d31 (diff)
downloadgitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.tar.gz
gitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.zip
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.
Diffstat (limited to 'web_src/less/_explore.less')
-rw-r--r--web_src/less/_explore.less160
1 files changed, 80 insertions, 80 deletions
diff --git a/web_src/less/_explore.less b/web_src/less/_explore.less
index e9a2546896..47ea240485 100644
--- a/web_src/less/_explore.less
+++ b/web_src/less/_explore.less
@@ -1,111 +1,111 @@
.explore {
- padding-top: 15px;
-
- .navbar {
- justify-content: center;
- padding-top: 15px !important;
- margin-top: -15px !important;
- margin-bottom: 15px !important;
- background-color: #fafafa !important;
- border-width: 1px !important;
-
- .svg {
- width: 16px;
- text-align: center;
- margin-right: 5px;
- }
+ padding-top: 15px;
+
+ .navbar {
+ justify-content: center;
+ padding-top: 15px !important;
+ margin-top: -15px !important;
+ margin-bottom: 15px !important;
+ background-color: #fafafa !important;
+ border-width: 1px !important;
+
+ .svg {
+ width: 16px;
+ text-align: center;
+ margin-right: 5px;
}
+ }
}
.ui.repository.list {
- .item {
- padding-bottom: 25px;
+ .item {
+ padding-bottom: 25px;
- &:not(:first-child) {
- border-top: 1px solid #eeeeee;
- padding-top: 25px;
- }
+ &:not(:first-child) {
+ border-top: 1px solid #eeeeee;
+ padding-top: 25px;
+ }
- .ui.header {
- font-size: 1.5rem;
- padding-bottom: 10px;
+ .ui.header {
+ font-size: 1.5rem;
+ padding-bottom: 10px;
- .name {
- word-break: break-all;
- }
+ .name {
+ word-break: break-all;
+ }
- .metas {
- color: #888888;
- font-size: 14px;
- font-weight: normal;
+ .metas {
+ color: #888888;
+ font-size: 14px;
+ font-weight: normal;
- span:not(:last-child) {
- margin-right: 5px;
- }
- }
+ span:not(:last-child) {
+ margin-right: 5px;
}
+ }
+ }
- .time {
- font-size: 12px;
- color: #808080;
- }
+ .time {
+ font-size: 12px;
+ color: #808080;
+ }
- .ui.tags {
- margin-bottom: 1em;
- }
+ .ui.tags {
+ margin-bottom: 1em;
+ }
- .ui.avatar.image {
- width: 24px;
- height: 24px;
- }
+ .ui.avatar.image {
+ width: 24px;
+ height: 24px;
}
+ }
}
.ui.repository.branches {
- .info {
- font-size: 12px;
- color: #808080;
- display: flex;
- white-space: pre;
- .commit-message {
- max-width: 72em;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- .overflow-visible {
- overflow: visible;
+ .info {
+ font-size: 12px;
+ color: #808080;
+ display: flex;
+ white-space: pre;
+ .commit-message {
+ max-width: 72em;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
+ }
+ .overflow-visible {
+ overflow: visible;
+ }
}
.ui.user.list {
- .item {
- padding-bottom: 25px;
+ .item {
+ padding-bottom: 25px;
- &:not(:first-child) {
- border-top: 1px solid #eeeeee;
- padding-top: 25px;
- }
+ &:not(:first-child) {
+ border-top: 1px solid #eeeeee;
+ padding-top: 25px;
+ }
- .ui.avatar.image {
- width: 40px;
- height: 40px;
- }
+ .ui.avatar.image {
+ width: 40px;
+ height: 40px;
+ }
- .description {
- margin-top: 5px;
+ .description {
+ margin-top: 5px;
- .svg:not(:first-child) {
- margin-left: 5px;
- }
+ .svg:not(:first-child) {
+ margin-left: 5px;
+ }
- a {
- color: #333333;
+ a {
+ color: #333333;
- &:hover {
- text-decoration: underline;
- }
- }
+ &:hover {
+ text-decoration: underline;
}
+ }
}
+ }
}