2013-05-31 16:44:09 +00:00
|
|
|
title: $:/themes/tiddlywiki/snowwhite/base
|
2013-04-28 17:13:57 +00:00
|
|
|
tags: [[$:/tags/stylesheet]]
|
2013-02-03 23:02:23 +00:00
|
|
|
|
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
|
|
|
\define border-radius(radius)
|
|
|
|
```
|
|
|
|
-webkit-border-radius: $radius$;
|
|
|
|
-moz-border-radius: $radius$;
|
|
|
|
border-radius: $radius$;
|
|
|
|
```
|
|
|
|
\end
|
|
|
|
\define box-shadow(shadow)
|
|
|
|
```
|
|
|
|
-webkit-box-shadow: $shadow$;
|
|
|
|
-moz-box-shadow: $shadow$;
|
|
|
|
box-shadow: $shadow$;
|
|
|
|
```
|
|
|
|
\end
|
2013-05-15 19:59:54 +00:00
|
|
|
\define filter(filter)
|
|
|
|
```
|
|
|
|
-webkit-filter: $filter$;
|
|
|
|
-moz-filter: $filter$;
|
|
|
|
filter: $filter$;
|
|
|
|
```
|
|
|
|
\end
|
2013-05-15 21:30:22 +00:00
|
|
|
\define transition(transition)
|
|
|
|
```
|
|
|
|
-webkit-transition: $transition$;
|
|
|
|
-moz-transition: $transition$;
|
|
|
|
transition: $transition$;
|
|
|
|
```
|
|
|
|
\end
|
2013-07-04 13:19:30 +00:00
|
|
|
\define transform-origin(origin)
|
|
|
|
```
|
|
|
|
-webkit-transform-origin: $origin$;
|
|
|
|
-moz-transform-origin: $origin$;
|
|
|
|
transform-origin: $origin$;
|
|
|
|
```
|
|
|
|
\end
|
2013-04-27 10:28:46 +00:00
|
|
|
\define background-linear-gradient(gradient)
|
|
|
|
```
|
|
|
|
background-image: linear-gradient($gradient$);
|
|
|
|
background-image: -o-linear-gradient($gradient$);
|
|
|
|
background-image: -moz-linear-gradient($gradient$);
|
|
|
|
background-image: -webkit-linear-gradient($gradient$);
|
|
|
|
background-image: -ms-linear-gradient($gradient$);
|
|
|
|
```
|
|
|
|
\end
|
2013-02-03 23:02:23 +00:00
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Start with the normalize CSS reset, and then belay some of its effects
|
|
|
|
*/
|
|
|
|
|
2013-05-31 16:44:09 +00:00
|
|
|
{{$:/themes/tiddlywiki/snowwhite/reset}}
|
2013-02-03 23:02:23 +00:00
|
|
|
|
2013-04-26 17:02:02 +00:00
|
|
|
*, input[type="search"] {
|
2013-03-28 21:30:22 +00:00
|
|
|
box-sizing: border-box;
|
2013-04-26 17:02:02 +00:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
2013-03-28 21:30:22 +00:00
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Basic element styles
|
|
|
|
*/
|
|
|
|
|
2013-02-04 20:47:21 +00:00
|
|
|
html {
|
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
|
|
|
}
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
body {
|
2013-05-31 16:44:09 +00:00
|
|
|
font-size: {{$:/themes/tiddlywiki/snowwhite/metrics##fontsize}};
|
|
|
|
line-height: {{$:/themes/tiddlywiki/snowwhite/metrics##lineheight}};
|
2013-06-08 16:31:13 +00:00
|
|
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##foreground}};
|
2013-05-31 16:44:09 +00:00
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##pagebackground}};
|
2013-04-06 15:49:47 +00:00
|
|
|
word-wrap: break-word;
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 15:46:57 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
line-height: 1em;
|
2013-07-05 07:52:27 +00:00
|
|
|
font-weight: 300;
|
2013-05-31 15:46:57 +00:00
|
|
|
}
|
|
|
|
|
2013-02-04 15:29:38 +00:00
|
|
|
code, pre {
|
|
|
|
padding: 0 3px 2px;
|
|
|
|
<<border-radius 3px>>
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2013-02-05 19:12:23 +00:00
|
|
|
padding: 1px 2px;
|
2013-02-04 15:29:38 +00:00
|
|
|
color: #d14;
|
|
|
|
background-color: #f7f7f9;
|
|
|
|
border: 1px solid #e1e1e8;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
display: block;
|
2013-02-05 19:12:23 +00:00
|
|
|
padding: 1em;
|
|
|
|
margin: 0 0 1em;
|
2013-02-04 15:29:38 +00:00
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2013-03-19 22:39:24 +00:00
|
|
|
table {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th, table td {
|
|
|
|
padding: 0 0.5em 0 0.5em;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
2013-05-15 17:45:24 +00:00
|
|
|
.tw-tiddler-frame img, .tw-tiddler-frame svg, .tw-tiddler-frame canvas, .tw-tiddler-frame embed {
|
2013-04-27 14:44:56 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
embed {
|
|
|
|
width: 100%;
|
|
|
|
height: 20em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Links
|
|
|
|
*/
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
a.tw-tiddlylink {
|
|
|
|
text-decoration: none;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
2013-05-31 16:44:09 +00:00
|
|
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkforeground}};
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
2013-04-26 17:02:02 +00:00
|
|
|
.tw-sidebar-lists a.tw-tiddlylink {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-sidebar-lists a.tw-tiddlylink:hover {
|
|
|
|
color: #444;
|
2013-03-19 20:34:58 +00:00
|
|
|
}
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
a.tw-tiddlylink:hover {
|
2013-02-06 11:27:34 +00:00
|
|
|
text-decoration: underline;
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a.tw-tiddlylink-resolves {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.tw-tiddlylink-missing {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2013-07-04 15:20:44 +00:00
|
|
|
a.tw-tiddlylink-external {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Drag and drop styles
|
|
|
|
*/
|
|
|
|
|
2013-04-08 17:47:46 +00:00
|
|
|
.tw-tiddler-dragger {
|
2013-08-08 20:46:38 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: -10000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-dragger-inner {
|
|
|
|
position: absolute;
|
2013-04-08 17:47:46 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 8px 20px;
|
|
|
|
font-size: 16.9px;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 20px;
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 1);
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
background-color: #000;
|
|
|
|
<<border-radius 20px>>
|
|
|
|
}
|
|
|
|
|
2013-08-08 20:46:38 +00:00
|
|
|
.tw-tiddler-dragger-cover {
|
|
|
|
position: absolute;
|
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##pagebackground}};
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
.tw-import {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-drop-zone-fullscreen.tw-dragover:before {
|
|
|
|
z-index: 10000;
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: rgba(0,200,0,0.7);
|
|
|
|
text-align: center;
|
|
|
|
content: "Drop here";
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-drop-zone.tw-dragover:before {
|
|
|
|
z-index: 10000;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: rgba(0,200,0,0.7);
|
|
|
|
text-align: center;
|
|
|
|
content: "Drop here";
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Buttons
|
|
|
|
*/
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
.btn-invisible {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2013-04-27 15:35:59 +00:00
|
|
|
.btn-mini {
|
2013-04-27 11:11:56 +00:00
|
|
|
color: #e0e0e0;
|
|
|
|
}
|
|
|
|
|
2013-04-27 15:35:59 +00:00
|
|
|
.btn-mini:hover {
|
2013-04-27 11:11:56 +00:00
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Tags and missing tiddlers
|
|
|
|
*/
|
|
|
|
|
2013-07-04 12:31:14 +00:00
|
|
|
.tw-tag-list-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2013-02-08 11:12:33 +00:00
|
|
|
.tw-tags-wrapper {
|
|
|
|
margin: 0.25em 0 1em 0;
|
|
|
|
}
|
|
|
|
|
2013-03-26 09:47:22 +00:00
|
|
|
.tw-missing-tiddler-label {
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 11.844px;
|
|
|
|
line-height: 14px;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
border: 1px solid rgba(0,0,0,0.2);
|
|
|
|
<<border-radius 3px>>
|
|
|
|
<<box-shadow "inset 1px 1px 0 rgba(255,255,255,0.5)">>
|
|
|
|
}
|
|
|
|
|
2013-02-08 09:23:54 +00:00
|
|
|
.tw-tag-label {
|
2013-02-03 23:02:23 +00:00
|
|
|
display: inline-block;
|
2013-06-05 13:13:18 +00:00
|
|
|
padding: 2px 9px;
|
2013-02-03 23:02:23 +00:00
|
|
|
font-size: 11.844px;
|
2013-07-05 07:52:27 +00:00
|
|
|
font-weight: 300;
|
2013-02-03 23:02:23 +00:00
|
|
|
line-height: 14px;
|
2013-07-03 15:02:44 +00:00
|
|
|
color: #fff;
|
2013-02-03 23:02:23 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
2013-07-03 15:02:44 +00:00
|
|
|
background-color: #D5AD34;
|
2013-06-05 13:13:18 +00:00
|
|
|
<<border-radius 8px>>
|
2013-02-08 11:12:33 +00:00
|
|
|
}
|
|
|
|
|
2013-07-05 07:53:09 +00:00
|
|
|
.tw-tag-label svg {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Page layout
|
|
|
|
*/
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
.sidebar-header {
|
2013-05-27 17:00:50 +00:00
|
|
|
color: #acacac;
|
2013-03-20 14:41:29 +00:00
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
2013-07-04 15:20:44 +00:00
|
|
|
.sidebar-header .title a.tw-tiddlylink-resolves {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2013-05-01 15:56:34 +00:00
|
|
|
.sidebar-header .tw-sidebar-lists p {
|
2013-04-03 20:11:10 +00:00
|
|
|
margin-top: 0.2em;
|
|
|
|
margin-bottom: 0.2em;
|
2013-04-01 18:06:39 +00:00
|
|
|
}
|
|
|
|
|
2013-05-15 17:45:24 +00:00
|
|
|
.tw-search a svg {
|
2013-05-01 15:56:34 +00:00
|
|
|
height: 0.75em;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
.tw-search-results {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
2013-05-01 21:10:55 +00:00
|
|
|
.tw-page-controls {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2013-05-16 16:25:14 +00:00
|
|
|
.tw-page-controls a.tw-tiddlylink:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2013-05-15 17:45:24 +00:00
|
|
|
.tw-page-controls svg {
|
2013-05-01 21:10:55 +00:00
|
|
|
height: 1.5em;
|
2013-05-08 15:02:29 +00:00
|
|
|
min-width: 1px;
|
2013-05-02 07:17:36 +00:00
|
|
|
padding-right: 0.5em;
|
2013-05-15 17:45:24 +00:00
|
|
|
fill: #fff;
|
2013-05-15 19:59:54 +00:00
|
|
|
<<filter "drop-shadow(1px 1px 2px rgba(0,0,0,0.15))">>
|
2013-05-15 21:30:22 +00:00
|
|
|
<<transition "fill 150ms ease-in-out">>
|
2013-05-15 17:45:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-page-controls svg:hover {
|
|
|
|
fill: #000;
|
2013-05-31 18:57:27 +00:00
|
|
|
<<filter "drop-shadow(1px 1px 2px rgba(255,255,255,0.9))">>
|
2013-05-01 15:56:34 +00:00
|
|
|
}
|
|
|
|
|
2013-02-04 11:56:23 +00:00
|
|
|
.tw-menu-list-item {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2013-08-23 17:39:27 +00:00
|
|
|
.tw-menu-list-count {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-07-04 13:19:30 +00:00
|
|
|
.tw-open-tiddler-list {
|
|
|
|
<<transform-origin "0% 0%">>
|
|
|
|
}
|
|
|
|
|
2013-05-27 17:00:50 +00:00
|
|
|
.tw-menu-list-subitem {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2013-07-14 22:16:55 +00:00
|
|
|
@media (max-width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}}) {
|
2013-04-27 17:03:13 +00:00
|
|
|
.sidebar-header {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.story-river {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-14 22:16:55 +00:00
|
|
|
@media (min-width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}}) {
|
2013-04-27 17:03:13 +00:00
|
|
|
.sidebar-header {
|
|
|
|
position: fixed;
|
2013-07-14 22:16:55 +00:00
|
|
|
top: {{$:/themes/tiddlywiki/snowwhite/metrics##storytop}};
|
|
|
|
left: {{$:/themes/tiddlywiki/snowwhite/metrics##storyright}};
|
2013-04-27 17:03:13 +00:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2013-04-28 16:05:58 +00:00
|
|
|
margin: 0 0 0 -3em;
|
|
|
|
padding: 5em 0 2em 3em;
|
2013-04-27 17:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.story-river {
|
2013-07-14 22:16:55 +00:00
|
|
|
position: absolute;
|
|
|
|
left: {{$:/themes/tiddlywiki/snowwhite/metrics##storyleft}};
|
|
|
|
top: {{$:/themes/tiddlywiki/snowwhite/metrics##storytop}};
|
|
|
|
width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}};
|
2013-04-27 17:03:13 +00:00
|
|
|
padding: 3em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-20 12:14:12 +00:00
|
|
|
@media print {
|
2013-04-27 17:03:13 +00:00
|
|
|
.sidebar-header {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.story-river {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
2013-03-20 12:14:12 +00:00
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Tiddler styles
|
|
|
|
*/
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
.tw-tiddler-frame {
|
|
|
|
margin-bottom: 2em;
|
2013-05-31 16:44:09 +00:00
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##tiddlerbackground}};
|
2013-05-02 07:17:36 +00:00
|
|
|
}
|
|
|
|
|
2013-05-20 10:19:41 +00:00
|
|
|
.tw-tiddler-info {
|
2013-05-28 15:28:59 +00:00
|
|
|
overflow: hidden;
|
2013-05-20 10:19:41 +00:00
|
|
|
padding: 1em 3em 1em 3em;
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
<<box-shadow "inset 1px 2px 3px rgba(0,0,0,0.1)">>
|
|
|
|
}
|
|
|
|
|
2013-08-15 17:17:11 +00:00
|
|
|
.tw-view-field-name {
|
2013-08-16 16:23:23 +00:00
|
|
|
vertical-align: top;
|
2013-08-15 17:17:11 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 15%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-view-field-value {
|
2013-08-16 16:23:23 +00:00
|
|
|
vertical-align: top;
|
2013-08-15 17:17:11 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
|
2013-05-02 07:17:36 +00:00
|
|
|
@media screen {
|
|
|
|
.tw-tiddler-frame {
|
|
|
|
<<box-shadow "5px 5px 5px rgba(0, 0, 0, 0.1)">>
|
|
|
|
}
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
2013-04-27 17:03:13 +00:00
|
|
|
@media (max-width: 55em) {
|
|
|
|
.tw-tiddler-frame {
|
|
|
|
padding: 1em 1em 1em 1em;
|
|
|
|
}
|
2013-05-20 10:19:41 +00:00
|
|
|
|
|
|
|
.tw-tiddler-info {
|
|
|
|
margin: 0 -1em 0 -1em;
|
|
|
|
}
|
2013-04-27 17:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 55em) {
|
|
|
|
.tw-tiddler-frame {
|
|
|
|
padding: 2em 3em 3em 3em;
|
|
|
|
}
|
2013-05-20 10:19:41 +00:00
|
|
|
|
|
|
|
.tw-tiddler-info {
|
|
|
|
margin: 0 -3em 0 -3em;
|
|
|
|
}
|
2013-04-27 17:03:13 +00:00
|
|
|
}
|
|
|
|
|
2013-02-04 20:47:21 +00:00
|
|
|
.title {
|
2013-07-04 15:20:44 +00:00
|
|
|
font-weight: 300;
|
2013-02-03 23:02:23 +00:00
|
|
|
font-size: 33px;
|
|
|
|
line-height: 40px;
|
|
|
|
color: #182955;
|
|
|
|
}
|
|
|
|
|
2013-07-06 11:57:37 +00:00
|
|
|
.title img {
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
|
2013-06-08 07:12:35 +00:00
|
|
|
.tw-subtitle {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: #c0c0c0;
|
2013-07-04 15:20:44 +00:00
|
|
|
font-weight: 300;
|
2013-06-08 07:12:35 +00:00
|
|
|
}
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
.tw-tiddler-missing .title {
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-frame .tw-tiddler-controls {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2013-02-04 20:47:21 +00:00
|
|
|
.tw-tiddler-controls .tw-button {
|
2013-04-26 17:02:02 +00:00
|
|
|
margin: 0 0 0 0.33em;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
|
2013-05-31 12:09:31 +00:00
|
|
|
.tw-tiddler-controls svg {
|
2013-04-26 17:02:02 +00:00
|
|
|
height: 0.75em;
|
2013-05-15 17:45:24 +00:00
|
|
|
fill: #ccc;
|
2013-05-15 21:30:22 +00:00
|
|
|
<<transition "fill 150ms ease-in-out">>
|
2013-05-15 17:45:24 +00:00
|
|
|
}
|
|
|
|
|
2013-05-31 12:09:31 +00:00
|
|
|
.tw-tiddler-controls svg:hover {
|
2013-05-15 17:45:24 +00:00
|
|
|
fill: #888;
|
2013-03-22 10:17:31 +00:00
|
|
|
}
|
|
|
|
|
2013-05-02 07:17:36 +00:00
|
|
|
@media print {
|
|
|
|
.tw-tiddler-controls {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
.tw-tiddler-help { /* Help prompts within tiddler template */
|
2013-03-22 10:17:31 +00:00
|
|
|
color: #999;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-help a.tw-tiddlylink {
|
|
|
|
color: #888888;
|
2013-02-04 20:47:21 +00:00
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
.tw-tiddler-frame .tw-edit-texteditor input, .tw-tiddler-frame .tw-edit-texteditor textarea {
|
|
|
|
width: 100%;
|
|
|
|
padding: 3px 3px 3px 3px;
|
2013-05-29 21:43:09 +00:00
|
|
|
border: 1px solid #ccc;
|
2013-04-27 14:44:56 +00:00
|
|
|
line-height: 1.3em;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
margin: 0.25em 0 0.25em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-frame .tw-edit-texteditor input {
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
<<box-shadow "inset 0 1px 8px rgba(0, 0, 0, 0.15)">>
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas.tw-edit-bitmapeditor {
|
2013-06-05 14:47:54 +00:00
|
|
|
border: 3px dashed #F0F0F0;
|
2013-04-27 14:44:56 +00:00
|
|
|
cursor: crosshair;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
|
|
|
|
2013-06-06 19:55:43 +00:00
|
|
|
.tw-edit-bitmapeditor-width {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-edit-bitmapeditor-height {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-05-29 21:43:09 +00:00
|
|
|
/*
|
|
|
|
** Tiddler edit mode
|
|
|
|
*/
|
|
|
|
|
2013-06-09 18:28:50 +00:00
|
|
|
.tw-edit-tags-list {
|
|
|
|
margin: 1em 0 1em 0;
|
|
|
|
}
|
|
|
|
|
2013-07-04 11:50:31 +00:00
|
|
|
.tw-tag-editor-label {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2013-06-09 18:28:50 +00:00
|
|
|
.tw-remove-tag-button {
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tags-autocomplete-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tags-autocomplete {
|
|
|
|
position: absolute;
|
|
|
|
min-width: 20em;
|
|
|
|
border: 1px solid {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownborder}};
|
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownbackground}};
|
|
|
|
<<border-radius 4px>>
|
|
|
|
<<box-shadow "2px 2px 10px rgba(0, 0, 0, 0.5)">>
|
|
|
|
padding: 0 0 0 0;
|
|
|
|
margin: 0.25em 0 0 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tags-autocomplete a {
|
|
|
|
display: block;
|
|
|
|
padding: 0.25em 1em 0.25em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tags-autocomplete a:hover {
|
|
|
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkbackground}};
|
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkforeground}};
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-add-tag {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2013-06-09 18:41:48 +00:00
|
|
|
.tw-add-tag svg {
|
|
|
|
height: 1em;
|
2013-07-05 07:53:09 +00:00
|
|
|
width: 1em;
|
2013-06-09 18:41:48 +00:00
|
|
|
fill: #999;
|
|
|
|
}
|
|
|
|
|
2013-06-09 18:28:50 +00:00
|
|
|
.tw-add-tag-name {
|
|
|
|
display: inline-block;
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
|
2013-05-29 21:43:09 +00:00
|
|
|
.tw-tiddler-preview {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-preview-preview {
|
|
|
|
float: right;
|
|
|
|
width: 48%;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin: 4px 3px 3px 3px;
|
|
|
|
padding: 3px 3px 3px 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tiddler-preview-edit {
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
|
2013-08-15 17:17:11 +00:00
|
|
|
.tw-edit-fields > .tw-list-frame > div:nth-child(odd) {
|
2013-06-08 16:31:13 +00:00
|
|
|
background-color: #f0f4f0;
|
|
|
|
}
|
|
|
|
|
2013-08-15 17:17:11 +00:00
|
|
|
.tw-edit-fields > .tw-list-frame > div:nth-child(even) {
|
2013-06-08 16:31:13 +00:00
|
|
|
background-color: #e0e8e0;
|
|
|
|
}
|
|
|
|
|
2013-06-04 11:03:53 +00:00
|
|
|
.tw-edit-field-name {
|
|
|
|
display: inline-block;
|
|
|
|
width: 15%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-edit-field-value {
|
|
|
|
display: inline-block;
|
2013-06-08 16:31:13 +00:00
|
|
|
width: 75%;
|
2013-06-04 11:03:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-edit-field-remove {
|
|
|
|
display: inline-block;
|
2013-06-08 16:31:13 +00:00
|
|
|
width: 5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-edit-field-remove svg {
|
|
|
|
height: 1em;
|
2013-07-05 07:53:09 +00:00
|
|
|
width: 1em;
|
2013-06-08 16:31:13 +00:00
|
|
|
fill: #888;
|
|
|
|
vertical-align: middle;
|
2013-06-04 11:03:53 +00:00
|
|
|
}
|
|
|
|
|
2013-06-09 18:28:50 +00:00
|
|
|
.tw-edit-field-add {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2013-06-04 11:03:53 +00:00
|
|
|
.tw-edit-field-add-name {
|
|
|
|
display: inline-block;
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-edit-field-add-button {
|
|
|
|
display: inline-block;
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Dropdowns
|
|
|
|
*/
|
|
|
|
|
2013-02-03 23:02:23 +00:00
|
|
|
.tw-drop-down {
|
2013-02-04 10:54:55 +00:00
|
|
|
min-width: 20em;
|
2013-05-31 16:44:09 +00:00
|
|
|
border: 1px solid {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownborder}};
|
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##dropdownbackground}};
|
2013-02-03 23:02:23 +00:00
|
|
|
<<border-radius 4px>>
|
2013-02-04 20:47:21 +00:00
|
|
|
<<box-shadow "2px 2px 10px rgba(0, 0, 0, 0.5)">>
|
2013-02-03 23:02:23 +00:00
|
|
|
padding: 0.5em 0em 0.5em 0em;
|
2013-02-04 20:47:21 +00:00
|
|
|
margin: 0.25em 0 0 0;
|
2013-02-04 10:54:55 +00:00
|
|
|
white-space: nowrap;
|
2013-02-03 23:02:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-drop-down a {
|
|
|
|
display: block;
|
|
|
|
padding: 0em 1em 0em 1em;
|
|
|
|
}
|
|
|
|
|
2013-02-08 11:12:33 +00:00
|
|
|
.tw-drop-down a:hover {
|
2013-05-31 16:44:09 +00:00
|
|
|
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkbackground}};
|
|
|
|
background-color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##linkforeground}};
|
2013-02-08 11:12:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
.tw-drop-down .tw-tab-buttons button {
|
|
|
|
background-color: #ececec;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-drop-down .tw-tab-buttons button.tw-tab-selected {
|
|
|
|
background-color: #fff;
|
|
|
|
border-bottom: 1px solid #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-drop-down .tw-tab-contents a {
|
|
|
|
padding: 0 0.5em 0 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
** Modals
|
|
|
|
*/
|
|
|
|
|
2013-06-04 15:22:43 +00:00
|
|
|
.tw-modal-displayed {
|
|
|
|
-webkit-filter: blur(4px);
|
|
|
|
}
|
|
|
|
|
2013-02-10 18:44:23 +00:00
|
|
|
.modal-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
z-index: 1100;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #999;
|
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
|
|
|
<<border-radius 6px>>
|
|
|
|
<<box-shadow "0 3px 7px rgba(0,0,0,0.3)">>
|
|
|
|
}
|
|
|
|
|
2013-08-21 20:14:21 +00:00
|
|
|
@media (max-width: 55em) {
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
position: absolute;
|
|
|
|
top: 1em;
|
|
|
|
left: 1em;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 55em) {
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
width: 560px;
|
|
|
|
margin: -250px 0 0 -280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-02-10 18:44:23 +00:00
|
|
|
.modal-header {
|
|
|
|
padding: 9px 15px;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header h3 {
|
|
|
|
margin: 0;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-body {
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
padding: 14px 15px 15px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
text-align: right;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
<<border-radius "0 0 6px 6px">>
|
|
|
|
<<box-shadow "inset 0 1px 0 #fff">>;
|
|
|
|
}
|
|
|
|
|
2013-05-07 17:08:44 +00:00
|
|
|
/*
|
|
|
|
** Notifications
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tw-notification {
|
|
|
|
position: fixed;
|
|
|
|
top: 1em;
|
|
|
|
right: 1em;
|
|
|
|
z-index: 1000;
|
|
|
|
max-width: 20em;
|
|
|
|
padding: 0em 1em 0em 1em;
|
|
|
|
background-color: #ffd;
|
|
|
|
border: 1px solid #999;
|
|
|
|
border: 1px solid rgba(0,0,0,.3);
|
|
|
|
<<border-radius 6px>>
|
|
|
|
<<box-shadow "0 3px 7px rgba(0,0,0,0.3)">>
|
|
|
|
text-shadow: 0 1px 0 rgba(255,255,255, 0.8);
|
|
|
|
}
|
|
|
|
|
2013-04-27 14:44:56 +00:00
|
|
|
/*
|
|
|
|
** Tabs
|
|
|
|
*/
|
|
|
|
|
2013-03-18 22:18:54 +00:00
|
|
|
.tw-tab-set {
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tab-buttons {
|
2013-03-19 16:45:07 +00:00
|
|
|
font-size: 0.85em;
|
2013-03-18 22:18:54 +00:00
|
|
|
line-height: 100%;
|
2013-04-03 20:11:10 +00:00
|
|
|
padding-top: 1em;
|
2013-03-18 22:18:54 +00:00
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tab-buttons button {
|
|
|
|
color: #666;
|
|
|
|
background-color: #ccc;
|
2013-05-16 10:23:17 +00:00
|
|
|
border-left: 1px solid #bbb;
|
|
|
|
border-top: 1px solid #bbb;
|
|
|
|
border-right: 1px solid #bbb;
|
|
|
|
border-bottom: 1px solid #bbb;
|
2013-03-18 22:18:54 +00:00
|
|
|
margin-left: 0.25em;
|
|
|
|
margin-right: 0.25em;
|
2013-07-05 10:14:44 +00:00
|
|
|
font-weight: 300;
|
2013-03-18 22:18:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tab-buttons button.tw-tab-selected {
|
|
|
|
background-color: #ececec;
|
|
|
|
border-bottom: 1px solid #ececec;
|
|
|
|
}
|
|
|
|
|
2013-04-03 20:11:10 +00:00
|
|
|
.tw-tab-divider {
|
2013-05-16 10:23:17 +00:00
|
|
|
border-top: 1px solid #bbb;
|
2013-04-03 20:11:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-tab-content {
|
|
|
|
padding-top: 1em;
|
2013-03-18 22:18:54 +00:00
|
|
|
}
|
|
|
|
|
2013-04-27 10:43:11 +00:00
|
|
|
.tw-sidebar-tab-divider.tw-tab-divider {
|
|
|
|
border-top: none;
|
|
|
|
height: 1px;
|
2013-05-16 10:23:17 +00:00
|
|
|
<<background-linear-gradient "left, rgb(176,176,176) 0%, rgb(236,236,236) 250px">>
|
2013-04-27 10:43:11 +00:00
|
|
|
}
|
|
|
|
|
2013-04-27 10:28:46 +00:00
|
|
|
.tw-more-sidebar.tw-tab-set {
|
|
|
|
white-space: nowrap;
|
2013-04-28 21:50:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 55em) {
|
|
|
|
.tw-more-sidebar.tw-tab-set {
|
2013-05-01 15:02:38 +00:00
|
|
|
margin-left: -1em;
|
2013-04-28 21:50:27 +00:00
|
|
|
}
|
2013-04-27 10:28:46 +00:00
|
|
|
}
|
|
|
|
|
2013-04-26 20:30:11 +00:00
|
|
|
.tw-more-sidebar .tw-tab-buttons {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: right;
|
2013-04-27 10:28:46 +00:00
|
|
|
padding-top: 0em;
|
2013-04-28 16:05:58 +00:00
|
|
|
padding-left: 0em;
|
2013-04-26 20:30:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tw-more-sidebar .tw-tab-content {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2013-04-27 10:28:46 +00:00
|
|
|
padding-top: 0em;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-more-sidebar .tw-tab-buttons button {
|
|
|
|
background-color: #ececec;
|
|
|
|
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(224,224,224) 100%">>
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-bottom: none;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tw-more-sidebar .tw-tab-buttons button.tw-tab-selected {
|
|
|
|
background-color: #fff;
|
|
|
|
<<background-linear-gradient "left, rgb(236,236,236) 0%, rgb(255,255,255) 100%">>
|
|
|
|
border: none;
|
2013-04-26 20:30:11 +00:00
|
|
|
}
|
2013-05-31 16:44:09 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Alerts
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tw-alert {
|
|
|
|
<<border-radius 6px>>
|
|
|
|
margin: 0.5em 0.5em 0.5em 0.5em;
|
|
|
|
padding: 1em 1em 1em 1em;
|
|
|
|
border: 3px solid #DBB727;
|
|
|
|
background-color: rgb(250, 210, 50);
|
|
|
|
}
|
|
|
|
|
2013-08-03 15:52:23 +00:00
|
|
|
.tw-static-alert {
|
|
|
|
padding: 0em 0.2em 0.2em 3em;
|
|
|
|
color: #AAA;
|
|
|
|
}
|
|
|
|
|
2013-07-22 12:03:46 +00:00
|
|
|
/*
|
|
|
|
** Grids
|
|
|
|
*/
|
|
|
|
|
|
|
|
.tw-grid-frame td {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|