PluginProbe
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts / 2.3.1
Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts v2.3.1
2.7.7 2.7.6 2.7.5 2.7.4 trunk 1.3 2.0.4 2.0.6 2.1.91 2.2.4 2.2.7 2.2.9 2.3.1 2.3.10 2.4.10 2.4.2 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.6.0 2.6.1 2.7.0 All 28 releases
insert-php / admin / assets / css / revisions.less

revisions.less in Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts 2.3.1, at admin/assets/css/revisions.less

117 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2 prefixes:
3 .winp-rev- for revisions page
4 .winp-rbox- for revisions metabox (it used on pages revisions and edit)
5 */
6
7
8 /* REVISIONS PAGE*/
9
10 .winp-rev-header{
11 margin-bottom: 20px;
12 }
13
14 .winp-rev-title{
15 font-size: 18px;
16 min-width: 4rem;
17
18 }
19 .winp-rev-changed{
20 border: 1px solid #ee8;
21 background: #ffffe0;
22 }
23
24 .winp-rev-caption{
25 padding: 11px 11px;
26 margin: 0;
27 font-size: 16px;
28 font-weight: normal;
29 }
30
31 .winp-rev-compare-col, .winp-rev-compare-middle-col, .winp-rev-compare-middle-col{
32 display: block;
33 float: left;
34 }
35
36 .winp-rev-compare-col{
37 width: 47%;
38 }
39
40 .winp-rev-compare-middle-col{
41 width: 6%;
42 min-height: 1px;
43 }
44
45 .winp-rev-diff-header{
46 .revisions-controls{
47 height: auto;
48 padding-top: 0;
49 }
50 }
51
52 .winp-diff-section{
53 margin-bottom: 20px;
54 }
55
56 /*
57 swap diff highlights for left and right panel
58 'cause left panel only displayed
59 */
60 .CodeMirror-merge-l-chunk { background: #ffffe0; }
61 .CodeMirror-merge-l-chunk-start { border-top: 1px solid #ee8; }
62 .CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #ee8; }
63 .CodeMirror-merge-l-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }
64
65 .CodeMirror-merge-r-chunk { background: #eef; }
66 .CodeMirror-merge-r-chunk-start { border-top: 1px solid #88e; }
67 .CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #88e; }
68 .CodeMirror-merge-r-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }
69
70
71 /* METABOX */
72
73 .snippet-revisions{
74 th{
75 font-weight: 600;
76 }
77 }
78 .winp-rbox-no-items{
79 text-align: center;
80 }
81
82 #WINP_RevisionsMetaBox {
83 display: block;
84
85 button, h2, div.inside table {
86 opacity: 0.4;
87 }
88
89 p.winp-purchase-button {
90 position: absolute;
91 z-index: 1;
92 left: 40%;
93 left: calc(100%/2 - 120px);
94 top: 20%;
95 }
96
97 .revisions-actionbar {
98 padding-top: 10px;
99 }
100 }
101
102 #WINP_RevisionsMetaBox.hide-if-js {
103 display: none;
104 }
105
106 /* EDITOR PAGE */
107
108 /* hide default revision control in metabox "save"*/
109 .post-type-wbcr-snippets .misc-pub-revisions{
110 display: none;
111 }
112
113
114
115
116
117