Skip to content
Snippets Groups Projects
stylesheet.css 8.26 KiB
Newer Older
Tim Repke's avatar
Tim Repke committed
/* yahoo stuff: */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}del,ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:baseline}sub{vertical-align:baseline}legend{color:#000}

/* wysihtml stuff */
Tim Repke's avatar
Tim Repke committed
    overflow: hidden;
    background: url(../../graphics/bg_pattern_r1.png);
    height: 100%;
}

body {
    width: 810px;
    min-height: 100%;
    margin: 0 auto;
    padding-top: 40px !important;
    padding-left: 10px !important;
}

body, textarea, input {
    font-family: Helvetica, Arial, Verdana;
Tim Repke's avatar
Tim Repke committed

strong {
    font-weight: bold;
}

.get-started {
    margin: 20px 0;
    color: #666;
    font-size: 11px;
    text-align: center;
}

.get-started a {
    color: #666;
}

#wysihtml5-editor-toolbar {
    position: relative;
}

header {
    display: block;
    border-radius: 4px;
    width: 810px;
    background: #f6f6f6;
    position: relative;
    z-index: 1;
    text-align: center;
    border: 1px solid #ddd\9; /* IE 8 and below */
    background-image: linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -o-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
    font-size: 0;
    text-align: center;
}

.commands {
    border-left: 1px solid #ddd;
    display: inline-block;
}

[data-wysihtml5-command],
[data-wysihtml5-action],
.fore-color {
    position: relative;
    border-right: 1px solid #ddd;
    border-left: 1px solid #fff;
    list-style: none;
    font-size: 12px;
    display: inline-block;
    cursor: pointer;
    height: 40px;
    width: 68px;
}

[data-wysihtml5-command]:after,
[data-wysihtml5-action]:after,
.fore-color:after {
    content: "";
    background-image: url(../../graphics/spr_toolbar_icons_r1.png);
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

[data-wysihtml5-command]:hover,
[data-wysihtml5-action]:hover,
.fore-color:hover {
    background-image: linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
    background-image: -o-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(229,240,226) 0%, rgb(255,255,255) 100%);
}

[data-wysihtml5-command="bold"]:after {
    background-position: 24px center;
}

[data-wysihtml5-command="italic"]:after {
    background-position: -48px center;
}

[data-wysihtml5-command="insertUnorderedList"]:after {
    background-position: -115px center;
}

[data-wysihtml5-command="insertOrderedList"]:after {
    background-position: -197px center;
}

[data-wysihtml5-command="formatBlock"][data-wysihtml5-command-value="h1"]:after {
    background-position: -344px center;
}

[data-wysihtml5-command="formatBlock"][data-wysihtml5-command-value="h2"]:after {
    background-position: -428px center;
}

[data-wysihtml5-command="createLink"]:after {
    background-position: -271px center;
}

[data-wysihtml5-command="insertImage"]:after {
    background-position: -513px center;
}

.fore-color:after {
    background-position: -741px center;
}

[data-wysihtml5-command="insertSpeech"]:after {
    background-position: -596px center;
}

[data-wysihtml5-action="change_view"]:after {
    background-position: -670px center;
}

.fore-color ul {
    display: none;
    position: absolute;
    z-index: 2;
    top: 40px;
    right: -1px;
    left: -2px;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    overflow: hidden;
}

.fore-color li {
    display: block;
    margin: 3px;
    width: auto;
    border: 0;
    height: 15px;
}

.fore-color li:after {
    display: none;
}

.fore-color:hover ul {
    display: block;
}

.fore-color [data-wysihtml5-command-value="silver"] {
    background: silver !important;
}


.fore-color [data-wysihtml5-command-value="gray"] {
    background: gray !important;
}

.fore-color [data-wysihtml5-command-value="maroon"] {
    background: maroon !important;
}

.fore-color [data-wysihtml5-command-value="red"] {
    background: red !important;
}

.fore-color [data-wysihtml5-command-value="purple"] {
    background: purple !important;
}

.fore-color [data-wysihtml5-command-value="green"] {
    background: green !important;
}

.fore-color [data-wysihtml5-command-value="olive"] {
    background: olive !important;
}

.fore-color [data-wysihtml5-command-value="navy"] {
    background: navy !important;
}

.fore-color [data-wysihtml5-command-value="blue"] {
    background: blue !important;
}

.fore-color .wysihtml5-command-active {
    outline: 1px solid #666;
    outline-offset: 1px;
}

.wysihtml5-commands-disabled .fore-color ul {
    display: none;
}

.wysihtml5-action-active,
.wysihtml5-command-active {
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.2);
    background: #eee !important;
}

.wysihtml5-commands-disabled [data-wysihtml5-command],
.wysihtml5-commands-disabled .fore-color {
    opacity: 0.4;
    cursor: default;
    background-image: none !important;
}

[data-wysihtml5-dialog] {
    color: #333;
    font-size: 14px;
    text-align: left;
    border-radius: 4px;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 5px 10px;
    background: #FFFBE0;
    position: absolute;
    width: 810px;
    text-align: center;
    top: 45px;
}

[data-wysihtml5-dialog] input {
    color: #333;
    border: 1px solid #ccc;
    padding: 3px;
    width: 300px;
}

[data-wysihtml5-dialog] input:focus {
    outline: 0;
    border: 1px solid #666;
}

[data-wysihtml5-dialog-action] {
    padding: 4px;
    color: #fff;
    cursor: pointer;
}

[data-wysihtml5-dialog-action="save"] {
    background: #007200;
}

[data-wysihtml5-dialog-action="cancel"] {
    background: #999;
}

section {
    position: absolute;
    width: 810px;
    top: 139px;
    bottom: 0;
}

textarea {
    width: 100%;
    background: transparent;
    height: 100%;
    border: 0;
    resize: none;
    white-space: pre;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 10px;
    word-wrap: normal;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

textarea:focus {
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.4);
    outline: 0;
}

a.fork {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
}

.submit-button {
    border-top: 1px solid #96d1f8;
    background: #db7878;
    background: -webkit-gradient(linear, left top, left bottom, from(#b00000), to(#db7878));
    background: -webkit-linear-gradient(top, #b00000, #db7878);
    background: -moz-linear-gradient(top, #b00000, #db7878);
    background: -ms-linear-gradient(top, #b00000, #db7878);
    background: -o-linear-gradient(top, #b00000, #db7878);
    padding: 10px 20px;
    -webkit-border-radius: 39px;
    -moz-border-radius: 39px;
    border-radius: 39px;
    -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
    -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
    box-shadow: rgba(0,0,0,1) 0 1px 0;
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    color: white;
    font-size: 14px;
    font-family: Helvetica, Arial, Sans-Serif;
    text-decoration: none;
    vertical-align: middle;
    margin:20px;
}
.submit-button:hover {
    border-top-color: #5eff00;
    background: #5eff00;
    color: #ccc;
}
.submit-button:active {
    border-top-color: #1b435e;
    background: #1b435e;
Tim Repke's avatar
Tim Repke committed
}