Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d49c8f0 authored by Daniel J. Ramirez's avatar Daniel J. Ramirez
Browse files

Improved result templates.

parent 5389bc28
Loading
Loading
Loading
Loading
+51 −2
Original line number Diff line number Diff line
@@ -657,13 +657,34 @@ nav #eelo_links > * {
  margin-top: 8px;
  margin-bottom: 6px;
}
.result .result-content p {
.result .result-content p,
.result .result-content pre {
  margin-top: 8px;
  margin-bottom: 8px;
}
.result.result-torrent .extra-info > :not(:last-child) {
  margin-right: 16px;
}
.result.result-videos {
  position: relative;
}
.result.result-videos .result-content {
  display: flex;
  margin: 0px;
}
.result.result-videos .result-content .result_header {
  margin-top: 0;
}
.result.result-videos .result-content > .thumbnail {
  flex: 1;
}
.result.result-videos .result-content > :not(.thumbnail) {
  flex: 3;
  padding-left: 16px;
}
.result.result-videos .result-content .thumbnail > img {
  width: 100%;
}
.result .external-link {
  font-size: 14px;
  color: #39a441;
@@ -671,8 +692,18 @@ nav #eelo_links > * {
.result .extra-info {
  color: rgba(0, 0, 0, 0.4);
}
.result .code-block {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.result .code-block pre {
  white-space: pre-wrap;
}
.result.result-default,
.result.result-torrent {
.result.result-torrent,
.result.result-videos {
  margin-bottom: 32px;
}
.result.result-images {
@@ -751,6 +782,18 @@ nav #eelo_links > * {
  width: 100%;
  margin-top: 16px;
}
.infobox table tr {
  vertical-align: baseline;
}
.infobox table tr td {
  padding: 0;
  padding-bottom: 8px;
}
.infobox table tr > .label {
  text-align: right;
  color: rgba(0, 0, 0, 0.4);
  padding-right: 16px;
}
#image_result_mini_gallery_header {
  display: flex;
  align-items: center;
@@ -845,3 +888,9 @@ nav #eelo_links > * {
    margin-bottom: 8px;
  }
}
.highlight .lineno,
.highlighttable .lineno {
  margin-right: 16px;
  color: rgba(0, 0, 0, 0.4);
  display: none;
}
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+11 −0
Original line number Diff line number Diff line
.highlight, .highlighttable {
  .lineno {
    margin-right: @spacing_large;
    color: @text-muted-color;
    display: none;
  }
  .kd {}
  .kt {}
  .nf {}
  .o {}
}
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@

@corner-radius: 8px;

@dim-color-superlighter: rgba(0, 0, 0, 0.03);
@dim-color-lighter: rgba(0, 0, 0, 0.1);
@dim-color-light: rgba(0, 0, 0, 0.2);
@dim-color-normal: rgba(0, 0, 0, 0.4);
+2 −1
Original line number Diff line number Diff line
@@ -8,3 +8,4 @@
@import "search.less";
@import "results.less";
@import "preferences.less";
@import "code.less";
 No newline at end of file
Loading