annotate src/themes/modern.css @ 16:8bd52902156a

remove "this" from command functions
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 21:41:55 -0600
parents 2606bfb75529
children ab852c9f04c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 /**
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 * Modern theme
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 *
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 * Copyright (C) 2012, Sam Clarke (samclarke.com)
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 *
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 * SCEditor is licensed under the MIT license:
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 * http://www.opensource.org/licenses/mit-license.php
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 *
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 * Icons by Mark James (http://www.famfamfam.com/lab/icons/silk/)
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 * Licensed under the Creative Commons CC-BY license (http://creativecommons.org/licenses/by/3.0/)
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 */
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
12
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
13 @import "default.css";
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
14
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 .sceditor-container {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
16 border: 1px solid #999;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 .sceditor-container textarea {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
19 font-family: Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
20 background: #2e3436;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
21 color: #fff;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
22 margin: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
23 padding: 5px;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 div.sceditor-toolbar {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
26 background: #ccc;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
27 background: linear-gradient(to bottom, #cccccc 0%, #b2b2b2 100%);
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 div.sceditor-group {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
30 display: inline;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
31 background: transparent;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
32 margin: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
33 padding: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
34 border: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
35 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
36 .sceditor-button {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
37 padding: 4px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
38 margin: 2px 1px 2px 3px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
39 height: 16px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
40 border-radius: 12px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
41 background-clip: padding-box;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
42 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
43 .sceditor-button:hover,
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
44 .sceditor-button.active,
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
45 .sceditor-button.active:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
46 box-shadow: none;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
47 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
48 .sceditor-button:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
49 background: #fff;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
50 background: rgba(255, 255, 255, 0.75);
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
51 margin: 1px 0 1px 2px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
52 border: 1px solid #eee;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
53 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
54 .sceditor-button.disabled:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
55 margin: 2px 1px 2px 3px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
56 border: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
57 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
58 .sceditor-button.active {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
59 background: #b1b1b1;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
60 background: rgba(0, 0, 0, 0.1);
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
61 margin: 1px 0 1px 2px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
62 border: 1px solid #999;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
63 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
64 .sceditor-button.active:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
65 background: #fff;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
66 background: rgba(255, 255, 255, 0.25);
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
67 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
68 .sceditor-button:active,
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
69 .sceditor-button.active:active {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
70 margin: 1px 0 1px 2px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
71 border: 1px solid #999;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
72 box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
73 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
74 .sceditor-button div,
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
75 .sceditor-button svg {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
76 margin: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
77 }