@awearsolutions/redis-commander
Version:
Redis web-based management tool written in node.js
512 lines (436 loc) • 10.8 kB
CSS
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.364 (October 15 2009)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
.syntaxhighlighter,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody
{
margin: 0 ;
padding: 0 ;
border: 0 ;
outline: 0 ;
background: none ;
text-align: left ;
float: none ;
vertical-align: baseline ;
position: static ;
left: auto ;
top: auto ;
right: auto ;
bottom: auto ;
height: auto ;
width: auto ;
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace ;
font-weight: normal ;
font-style: normal ;
min-height: inherit ; /* For IE8, FF & WebKit */
min-height: auto ; /* For IE7 */
/*
line-height: 1.1em !important;
font-size: 1em !important;
*/
font-size:12px ;
line-height:18px ;
}
.syntaxhighlighter
{
width: 99.9% ; /* 99% fixes IE8 horizontal scrollbar */
margin: 1em 0 1em 0 ;
padding: 1px ; /* adds a little border on top and bottom */
position: relative ;
}
.syntaxhighlighter .bold
{
font-weight: bold ;
}
.syntaxhighlighter .italic
{
font-style: italic ;
}
.syntaxhighlighter .line
{
}
.syntaxhighlighter .no-wrap .line .content
{
white-space: pre ;
}
.syntaxhighlighter .line table
{
border-collapse: collapse ;
}
.syntaxhighlighter .line td
{
vertical-align: top ;
}
.syntaxhighlighter .line .number
{
width: 3em ;
}
.syntaxhighlighter .line .number code
{
width: 2.7em ;
padding-right: .3em ;
text-align: right ;
display: block ;
}
.syntaxhighlighter .line .content
{
padding-left: .5em ;
}
.syntaxhighlighter .line .spaces
{
}
/* Disable border and margin on the lines when no gutter option is set */
.syntaxhighlighter.nogutter .line .content
{
border-left: none ;
}
.syntaxhighlighter .bar
{
display: none ;
}
.syntaxhighlighter .bar.show
{
display: block ;
}
.syntaxhighlighter.collapsed .bar
{
display: block ;
}
/* Adjust some properties when collapsed */
.syntaxhighlighter.collapsed .lines
{
display: none ;
}
.syntaxhighlighter .lines.no-wrap
{
overflow: auto ;
overflow-y: hidden ;
}
/* Styles for the toolbar */
.syntaxhighlighter .toolbar
{
position: absolute ;
right: 0px ;
top: 0px ;
font-size: 1px ;
padding: 8px 8px 8px 0 ; /* in px because images don't scale with ems */
}
.syntaxhighlighter.collapsed .toolbar
{
font-size: 80% ;
padding: .2em 0 .5em .5em ;
position: static ;
}
.syntaxhighlighter .toolbar a.item,
.syntaxhighlighter .toolbar .item
{
display: block ;
float: left ;
margin-left: 8px ;
background-repeat: no-repeat ;
overflow: hidden ;
text-indent: -5000px ;
}
.syntaxhighlighter.collapsed .toolbar .item
{
display: none ;
}
.syntaxhighlighter.collapsed .toolbar .item.expandSource
{
background-image: url(magnifier.png) ;
display: inline ;
text-indent: 0 ;
width: auto ;
float: none ;
height: 16px ;
padding-left: 20px ;
}
.syntaxhighlighter .toolbar .item.viewSource
{
background-image: url(page_white_code.png) ;
}
.syntaxhighlighter .toolbar .item.printSource
{
background-image: url(printer.png) ;
}
.syntaxhighlighter .toolbar .item.copyToClipboard
{
text-indent: 0 ;
background: none ;
overflow: visible ;
}
.syntaxhighlighter .toolbar .item.about
{
background-image: url(help.png) ;
}
/**
* Print view.
* Colors are based on the default theme without background.
*/
.syntaxhighlighter.printing,
.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
{
background: none ;
}
/* Gutter line numbers */
.syntaxhighlighter.printing .line .number
{
color: #bbb ;
}
/* Add border to the lines */
.syntaxhighlighter.printing .line .content
{
color: #000 ;
}
/* Toolbar when visible */
.syntaxhighlighter.printing .toolbar
{
display: none ;
}
.syntaxhighlighter.printing a
{
text-decoration: none ;
}
.syntaxhighlighter.printing .plain,
.syntaxhighlighter.printing .plain a
{
color: #000 ;
}
.syntaxhighlighter.printing .comments,
.syntaxhighlighter.printing .comments a
{
color: #008200 ;
}
.syntaxhighlighter.printing .string,
.syntaxhighlighter.printing .string a
{
color: blue ;
}
.syntaxhighlighter.printing .keyword
{
color: #069 ;
font-weight: bold ;
}
.syntaxhighlighter.printing .preprocessor
{
color: gray ;
}
.syntaxhighlighter.printing .variable
{
color: #a70 ;
}
.syntaxhighlighter.printing .value
{
color: #090 ;
}
.syntaxhighlighter.printing .functions
{
color: #ff1493 ;
}
.syntaxhighlighter.printing .constants
{
color: #0066CC ;
}
.syntaxhighlighter.printing .script
{
font-weight: bold ;
}
.syntaxhighlighter.printing .color1,
.syntaxhighlighter.printing .color1 a
{
color: #808080 ;
}
.syntaxhighlighter.printing .color2,
.syntaxhighlighter.printing .color2 a
{
color: #ff1493 ;
}
.syntaxhighlighter.printing .color3,
.syntaxhighlighter.printing .color3 a
{
color: red ;
}
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
*
* @version
* 2.1.364 (October 15 2009)
*
* @copyright
* Copyright (C) 2004-2009 Alex Gorbatchev.
*
* @license
* This file is part of SyntaxHighlighter.
*
* SyntaxHighlighter is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SyntaxHighlighter is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
*/
/************************************
* Default Syntax Highlighter theme.
*
* Interface elements.
************************************/
.syntaxhighlighter
{
background-color: #fff ;
}
/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
color: black ;
}
/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
background-color: #e0e0e0 ;
}
/* Gutter line numbers */
.syntaxhighlighter .line .number
{
color: #afafaf ;
}
/* Add border to the lines */
.syntaxhighlighter .line .content
{
border-left: 1px solid gray ;
color: #000 ;
}
.syntaxhighlighter.printing .line .content
{
border: 0 ;
}
/* First line */
.syntaxhighlighter .line.alt1
{
background-color: #fff ;
}
/* Second line */
.syntaxhighlighter .line.alt2
{
background-color: #F8F8F8 ;
}
.syntaxhighlighter .toolbar
{
background-color: #F8F8F8 ;
border: #E7E5DC solid 1px ;
}
.syntaxhighlighter .toolbar a
{
color: #a0a0a0 ;
}
.syntaxhighlighter .toolbar a:hover
{
color: red ;
}
/************************************
* Actual syntax highlighter colors.
************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{
color: #000 ;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{
color: #008200 ;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
color: blue ;
}
.syntaxhighlighter .keyword
{
color: #069 ;
font-weight: bold ;
}
.syntaxhighlighter .preprocessor
{
color: gray ;
}
.syntaxhighlighter .variable
{
color: #a70 ;
}
.syntaxhighlighter .value
{
color: #090 ;
}
.syntaxhighlighter .functions
{
color: #ff1493 ;
}
.syntaxhighlighter .constants
{
color: #0066CC ;
}
.syntaxhighlighter .script
{
background-color: yellow ;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{
color: #808080 ;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{
color: #ff1493 ;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{
color: red ;
}