annotate src/themes/square.css @ 47:16b61f228546 default tip

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 31 Oct 2022 10:41:24 -0600
parents ab852c9f04c3
children
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 * Square 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 * This theme is best suited to short toolbars that
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 * don't span multiple lines.
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 *
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 * Copyright (C) 2012, Sam Clarke (samclarke.com)
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 * SCEditor is licensed under the MIT license:
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 * http://www.opensource.org/licenses/mit-license.php
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 *
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 * 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
13 * 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
14 */
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
15
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
16 @import "default.css";
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
17
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 .sceditor-container {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
19 border: 1px solid #d6d6d6;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
20 border-radius: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
21 background-clip: padding-box;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 .sceditor-container textarea {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
24 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
25 background: #2e3436;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
26 color: #fff;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
27 margin: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
28 padding: 5px;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 div.sceditor-toolbar,
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 div.sceditor-group {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
32 background: #f2f2f2;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
33 background: linear-gradient(to bottom, #f2f2f2 0%, #dddddd 89%);
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
34 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
35 div.sceditor-toolbar {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
36 padding: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
37 border-bottom: 1px solid #bbb;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
38 background-size: 100% 32px;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
39 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
40 div.sceditor-group {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
41 margin: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
42 padding: 2px 4px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
43 border: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
44 border-right: 1px solid #ccc;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
45 border-left: 1px solid #eaeaea;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
46 border-radius: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
47 background-clip: padding-box;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
48 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
49 div.sceditor-group:last-child {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
50 border-right: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
51 }
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
52 div.sceditor-group:first-child {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
53 border-left: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
54 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
55 .sceditor-toolbar button {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
56 height: 16px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
57 padding: 5px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
58 margin: 1px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
59 border-radius: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
60 background-clip: padding-box;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
61 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
62 .sceditor-toolbar button div,
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
63 .sceditor-toolbar button svg {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
64 margin: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
65 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
66 .sceditor-toolbar button.active,
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
67 .sceditor-toolbar button:hover,
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
68 .sceditor-toolbar button:active,
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
69 .sceditor-toolbar button.active:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
70 margin: 0;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
71 box-shadow: none;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
72 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
73 .sceditor-toolbar button.active {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
74 background: #f4f4f4;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
75 border: 1px solid #ccc;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
76 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
77 .sceditor-toolbar button:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
78 background: #fefefe;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
79 border: 1px solid #ddd;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
80 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
81 .sceditor-toolbar button.disabled:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
82 margin: 1px;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
83 border: 0;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
84 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
85 .sceditor-toolbar button:active {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
86 background: #eee;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
87 border: 1px solid #ccc;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
88 }
43
ab852c9f04c3 use buttons
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
89 .sceditor-toolbar button.active:hover {
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
90 background: #f8f8f8;
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
91 border: 1px solid #ddd;
0
4c4fc447baea start with sceditor-3.1.1
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
92 }