Stackedit/css/main.css

410 lines
7.5 KiB
CSS
Raw Normal View History

2013-04-02 18:42:47 +00:00
@import url("bootstrap.css");
@import url("jgrowl.css");
2013-04-15 16:19:47 +00:00
@import url("prettify.css");
2013-04-02 18:42:47 +00:00
2013-03-24 14:54:26 +00:00
body {
2013-03-29 19:37:52 +00:00
background-color: #f5f5f5;
2013-04-21 16:27:52 +00:00
tab-size: 4;
2013-03-31 15:33:28 +00:00
}
2013-04-03 22:52:29 +00:00
.working {
cursor: progress;
}
2013-04-07 15:22:13 +00:00
.btn, .dropdown-menu {
2013-03-31 15:33:28 +00:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
2013-03-24 14:54:26 +00:00
}
2013-03-29 19:37:52 +00:00
/*
Override Bootstrap
*/
div, span, a, ul, li, textarea, input, button {
2013-03-29 19:37:52 +00:00
background-image: none !important;
filter: none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
2013-04-14 13:24:29 +00:00
.btn, .navbar-inner, .ui-layout-east, .ui-layout-south, .add-on {
2013-03-29 19:37:52 +00:00
border: none !important;
}
2013-04-03 22:52:29 +00:00
.dropdown-menu {
border: 1px solid #e2e2e2 !important;
2013-04-07 15:22:13 +00:00
text-align: left;
2013-04-03 22:52:29 +00:00
}
2013-04-10 18:14:59 +00:00
input,
2013-04-15 16:27:39 +00:00
select,
2013-04-14 13:24:29 +00:00
textarea,
2013-04-03 22:52:29 +00:00
.input-prepend .btn,
2013-04-10 18:14:59 +00:00
.input-prepend .add-on {
2013-04-03 22:52:29 +00:00
border: 1px solid #ebebeb !important;
}
2013-04-14 13:24:29 +00:00
.error {
2013-04-04 22:13:48 +00:00
border-color: #ff6661 !important;
2013-04-02 18:42:47 +00:00
}
2013-03-29 19:37:52 +00:00
.navbar-inner .btn {
background-color: #ddd;
}
.navbar-inner .btn:hover,
.navbar-inner .btn:focus,
.navbar-inner .btn:active,
.navbar-inner .btn.active,
.btn-group.open .btn.dropdown-toggle {
color: #333333;
background-color: #eee;
}
.navbar-inner .btn.disabled,
.navbar-inner .btn[disabled] {
color: #333333;
background-color: #ddd;
opacity: 0.3;
filter: alpha(opacity=30);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
2013-03-30 11:56:17 +00:00
background-color: #888;
2013-03-29 19:37:52 +00:00
}
.btn-primary {
2013-04-07 15:22:13 +00:00
background-color: #777;
2013-03-29 19:37:52 +00:00
}
2013-04-02 18:42:47 +00:00
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .input-append .add-on {
2013-03-31 01:00:03 +00:00
background-color: #f5f5f5;
}
2013-03-29 19:37:52 +00:00
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
2013-04-07 15:22:13 +00:00
.btn-primary[disabled],
.btn-group.open .btn.btn-primary.dropdown-toggle {
color: #fff;
background-color: #888;
2013-03-29 19:37:52 +00:00
}
.btn-group {
margin-left: 5px !important;
margin-right: 5px !important;
}
.btn-group > .btn + .dropdown-toggle {
padding-right: 12px;
padding-left: 12px;
}
.navbar-inner {
background-color: #ddd !important;
}
code {
color: #333333 !important;
}
h1 {
2013-04-21 22:28:46 +00:00
margin: 30px 0 30px;
2013-03-29 19:37:52 +00:00
}
p, pre, blockquote {
margin: 0 0 20px;
}
hr {
border-top: 1px solid #ddd;
margin: 30px 0;
}
2013-03-31 01:33:31 +00:00
#file-title {
line-height: 23px;
padding: 9px 15px 11px;
}
2013-03-31 01:00:03 +00:00
#file-title i {
2013-03-31 01:33:31 +00:00
margin: 4px 5px 0;
2013-03-31 01:00:03 +00:00
}
.dropdown-menu i {
margin-right: 5px;
}
#navbar {
position: static;
2013-03-24 23:21:55 +00:00
}
#menu-bar {
margin: 0 15px 10px 15px;
}
#wmd-button-bar {
2013-03-29 19:37:52 +00:00
margin-left: 15px;
2013-03-24 17:46:48 +00:00
}
2013-03-27 20:19:12 +00:00
#wmd-input,#wmd-preview {
position: absolute;
2013-03-24 14:54:26 +00:00
}
2013-04-26 23:08:13 +00:00
#wmd-input, #md-section-helper {
2013-03-24 16:26:43 +00:00
font-family: "Courier New", Courier, monospace;
2013-03-27 20:19:12 +00:00
resize: none;
2013-04-14 13:24:29 +00:00
border: none !important;
2013-03-24 14:54:26 +00:00
}
#wmd-preview {
overflow: auto;
}
.wmd-button-row {
margin: 10px 0;
2013-03-24 14:54:26 +00:00
height: 20px;
}
.wmd-spacer {
2013-03-29 19:37:52 +00:00
margin: 0 10px;
2013-03-24 14:54:26 +00:00
display: inline-block;
}
.wmd-prompt-background {
2013-04-04 22:13:48 +00:00
display: none;
2013-03-24 14:54:26 +00:00
}
.wmd-prompt-dialog {
border: 1px solid #999999;
background-color: #F5F5F5;
}
.wmd-prompt-dialog>div {
font-size: 0.8em;
font-family: arial, helvetica, sans-serif;
}
.wmd-prompt-dialog>form>input[type="text"] {
border: 1px solid #999999;
color: black;
}
.wmd-prompt-dialog>form>input[type="button"] {
border: 1px solid #888888;
font-family: trebuchet MS, helvetica, sans-serif;
font-size: 0.8em;
font-weight: bold;
2013-03-25 23:17:34 +00:00
}
.icon-code {
width: 15px;
2013-03-27 20:19:12 +00:00
background-position: -384px -168px;
2013-03-25 23:17:34 +00:00
}
.icon-numbered-list {
2013-03-27 20:19:12 +00:00
background-position: -408px -168px;
2013-03-25 23:17:34 +00:00
}
.icon-hr {
2013-03-27 20:19:12 +00:00
background-position: -432px -168px;
2013-03-25 23:17:34 +00:00
}
.icon-undo {
2013-03-27 20:19:12 +00:00
background-position: -456px -168px;
}
2013-04-09 07:58:06 +00:00
.icon-stackedit {
background-image: url("../img/icons.png") !important;
width: 16px;
height: 16px;
background-position: -1px 0;
}
2013-03-27 20:19:12 +00:00
.icon-gdrive {
2013-04-09 07:58:06 +00:00
background-image: url("../img/icons.png") !important;
2013-03-27 20:19:12 +00:00
width: 16px;
height: 16px;
2013-04-09 07:58:06 +00:00
background-position: -19px 0;
2013-03-25 23:17:34 +00:00
}
2013-04-01 16:46:48 +00:00
.icon-dropbox {
2013-04-09 07:58:06 +00:00
background-image: url("../img/icons.png") !important;
2013-04-01 16:46:48 +00:00
width: 16px;
height: 16px;
2013-04-09 07:58:06 +00:00
background-position: -37px 0;
}
.icon-github {
background-image: url("../img/icons.png") !important;
width: 16px;
height: 16px;
background-position: -55px 0;
}
.icon-blogger {
background-image: url("../img/icons.png") !important;
width: 16px;
height: 16px;
background-position: -73px 0;
}
.icon-tumblr {
background-image: url("../img/icons.png") !important;
width: 16px;
height: 16px;
background-position: -91px 0;
}
.icon-wordpress {
background-image: url("../img/icons.png") !important;
width: 16px;
height: 16px;
background-position: -109px 0;
2013-04-01 16:46:48 +00:00
}
2013-04-27 23:16:38 +00:00
.working-indicator {
background-image: none;
2013-03-27 22:09:27 +00:00
width: 43px;
height: 11px;
background-position: 0 0;
2013-03-31 01:33:31 +00:00
margin: 14px 15px 0;
2013-03-27 22:09:27 +00:00
}
2013-04-27 23:16:38 +00:00
.working-indicator.show {
background-image: url("../img/ajax-loader.gif");
}
2013-03-29 19:37:52 +00:00
.ui-layout-toggler-north .caret, .ui-layout-toggler-south .caret {
margin-top: 5px;
2013-03-26 23:32:36 +00:00
}
2013-03-27 20:19:12 +00:00
.ui-layout-toggler-north-open .caret,.ui-layout-toggler-south-closed .caret
{
border-bottom: 5px solid #525252;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
border-top: 0;
}
2013-03-27 20:19:12 +00:00
.ui-layout-toggler-north-closed .caret,.ui-layout-toggler-south-open .caret
{
border-top: 5px solid #525252;
border-right: 5px solid transparent;
border-left: 5px solid transparent;
border-bottom: 0;
}
2013-03-27 20:19:12 +00:00
.ui-layout-toggler-east .caret,.ui-layout-toggler-west .caret {
margin-top: 40px;
2013-03-26 23:32:36 +00:00
}
2013-03-27 20:19:12 +00:00
.ui-layout-toggler-east-open .caret,.ui-layout-toggler-west-closed .caret
{
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
border-left: 5px solid #525252;
border-right: 0;
}
2013-03-27 20:19:12 +00:00
.ui-layout-toggler-east-closed .caret,.ui-layout-toggler-west-opened .caret
{
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
border-right: 5px solid #525252;
border-left: 0;
2013-03-30 11:56:17 +00:00
}
2013-04-05 23:59:59 +00:00
/* Google picker */
.picker-dialog {
z-index: 1050 !important;
}
2013-04-14 13:24:29 +00:00
#modal-settings textarea {
2013-04-14 21:15:40 +00:00
height: 180px;
}
.tooltip-inner {
text-align: left;
2013-04-14 13:24:29 +00:00
}
2013-04-15 16:19:47 +00:00
table {
margin-bottom: 20px;
}
table th,
table td {
padding: 8px;
line-height: 20px;
text-align: left;
vertical-align: top;
border-top: 1px solid #dddddd;
}
table th {
font-weight: bold;
}
table thead th {
vertical-align: bottom;
}
table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
border-top: 0;
}
table tbody + tbody {
border-top: 2px solid #dddddd;
}
2013-04-21 22:28:46 +00:00
blockquote p {
margin-bottom: 0;
font-size: 17.5px;
font-weight: 300;
line-height: 1.25;
}
ul, ol {
margin-bottom: 20px;
}
blockquote p {
margin-bottom: 20px;
font-size: 14px;
line-height: 20px;
2013-04-26 23:08:13 +00:00
}
#md-section-helper {
position: absolute;
top: -100px;
height: 1px;
padding: 0 6px;
overflow-y: scroll;
z-index: -1;
}
.gecko #md-section-helper {
/* Firefox doesn't show the scrollbar if height is less than 40px */
height: 40px;
}
.opera #md-section-helper {
/* Opera needs to have the textarea in the viewport to evaluate size correctly */
top: 0;
2013-04-21 22:28:46 +00:00
}