Kaynağa Gözat

Minor style changes to search results.

tags/v1.0^2
Benjamin Attal 10 yıl önce
ebeveyn
işleme
4a8dcc8b20
2 değiştirilmiş dosya ile 14 ekleme ve 25 silme
  1. +13
    -22
      static/sass/index.sass
  2. +1
    -3
      static/sass/main.sass

+ 13
- 22
static/sass/index.sass Dosyayı Görüntüle

@@ -5,9 +5,10 @@
@import mixins
@import variables

@font-face
font-family: "Inconsolata"
src: url("../../Inconsolata.otf") format("opentype")
$resultWidth: 830px
$sidebarWidth: 30px
$codeWidth: 500px
$metaWidth: 300px

div#search-field
@extend .t2
@@ -103,9 +104,8 @@ div#results
width: 80%

div.result
width: 60%
width: $resultWidth
height: 200px
font-family: Menlo, Monaco, "Inconsolata"
margin-top: 3%

table
@@ -116,14 +116,17 @@ div#results
tr
height: inherit

td
overflow: scroll

#sidebar
width: 15%
width: $sidebarWidth
background-color: #eee
border-right: 1px solid #ccc
height: inherit

#code
width: 50%
width: $codeWidth
height: inherit
border-right: 1px solid #ccc

@@ -131,28 +134,16 @@ div#results
overflow: scroll
width: 100%
height: inherit
background-color: #49483e

table
table-layout:fixed
border-collapse: collapse
border: none
background-color: #49483e

pre
margin: 0

.linenodiv
padding-left: 5px
padding-right: 5px
color: white

.hll
border-left: 1px solid #666
padding: 3%
overflow: scroll
font-family: monospace

#meta
width: 35%
width: $metaWidth

&.cascade
@extend .t3


+ 1
- 3
static/sass/main.sass Dosyayı Görüntüle

@@ -9,9 +9,7 @@ html, body
height: 100%
margin: 0
padding: 0

*
font-family: sans-serif
font-family: sans-serif

div#container
min-height: 100%


Yükleniyor…
İptal
Kaydet