Browse Source

Minor style changes to search results.

tags/v1.0^2
Benjamin Attal 10 years ago
parent
commit
8e3edb8080
2 changed files with 14 additions and 22 deletions
  1. +13
    -19
      static/sass/index.sass
  2. +1
    -3
      static/sass/main.sass

+ 13
- 19
static/sass/index.sass View File

@@ -6,6 +6,10 @@
@import variables @import variables


$minSearchFieldsWidth: 490px $minSearchFieldsWidth: 490px
$resultWidth: 830px
$sidebarWidth: 30px
$codeWidth: 500px
$metaWidth: 300px


.ui-datepicker .ui-datepicker
font-size: 70% font-size: 70%
@@ -283,9 +287,8 @@ div#results
width: 80% width: 80%


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


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


td
overflow: scroll

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


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


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


table table
table-layout:fixed table-layout:fixed
border-collapse: collapse border-collapse: collapse
border: none 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 #meta
width: 35%
width: $metaWidth


&.cascade &.cascade
@extend .t3 @extend .t3


+ 1
- 3
static/sass/main.sass View File

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

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


div#container div#container
min-height: 100% min-height: 100%


Loading…
Cancel
Save