| 1 |
/*-------------------------------------------------------------- |
| 2 |
* Context Metaboxes |
| 3 |
--------------------------------------------------------------*/ |
| 4 |
|
| 5 |
/* Metabox collapse arrow indicators */ |
| 6 |
.js .cmb2-postbox.context-box { |
| 7 |
|
| 8 |
.handlediv { |
| 9 |
text-align: center; |
| 10 |
} |
| 11 |
|
| 12 |
.toggle-indicator { |
| 13 |
&:before { |
| 14 |
content: "\f142"; |
| 15 |
display: inline-block; |
| 16 |
font: normal 20px/1 dashicons; |
| 17 |
speak: none; |
| 18 |
-webkit-font-smoothing: antialiased; |
| 19 |
-moz-osx-font-smoothing: grayscale; |
| 20 |
text-decoration: none !important; |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
&.closed { |
| 25 |
.toggle-indicator { |
| 26 |
&:before { |
| 27 |
content: "\f140"; |
| 28 |
} |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
} |
| 33 |
|
| 34 |
.cmb2-postbox.context-box { |
| 35 |
|
| 36 |
margin-bottom: 10px; |
| 37 |
|
| 38 |
&.context-before_permalink-box { |
| 39 |
margin-top: 10px; |
| 40 |
} |
| 41 |
|
| 42 |
&.context-after_title-box { |
| 43 |
margin-top: 10px; |
| 44 |
} |
| 45 |
|
| 46 |
&.context-after_editor-box { |
| 47 |
margin-top: 20px; |
| 48 |
margin-bottom: 0; |
| 49 |
} |
| 50 |
|
| 51 |
&.context-form_top-box { |
| 52 |
|
| 53 |
margin-top: 10px; |
| 54 |
|
| 55 |
.hndle { |
| 56 |
font-size: 14px; |
| 57 |
padding: 8px 12px; |
| 58 |
margin: 0; |
| 59 |
line-height: 1.4; |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
.hndle { |
| 64 |
cursor: auto; |
| 65 |
} |
| 66 |
} |
| 67 |
|
| 68 |
.cmb2-context-wrap { |
| 69 |
|
| 70 |
margin-top: 10px; |
| 71 |
|
| 72 |
&.cmb2-context-wrap-form_top { |
| 73 |
margin-right: 300px; |
| 74 |
width: auto; |
| 75 |
} |
| 76 |
|
| 77 |
&.cmb2-context-wrap-no-title { |
| 78 |
|
| 79 |
.cmb2-metabox { |
| 80 |
padding: 10px; |
| 81 |
} |
| 82 |
} |
| 83 |
|
| 84 |
.cmb-th { |
| 85 |
padding: 0 2% 0 0; |
| 86 |
width: 18%; |
| 87 |
} |
| 88 |
|
| 89 |
.cmb-td { |
| 90 |
width: 80%; |
| 91 |
padding: 0; |
| 92 |
} |
| 93 |
|
| 94 |
.cmb-row { |
| 95 |
margin-bottom: 10px; |
| 96 |
|
| 97 |
&:last-of-type { |
| 98 |
margin-bottom: 0; |
| 99 |
} |
| 100 |
} |
| 101 |
|
| 102 |
} |
| 103 |
|
| 104 |
/* one column on the post write/edit screen */ |
| 105 |
@media only screen and (max-width: 850px) { |
| 106 |
|
| 107 |
.cmb2-context-wrap.cmb2-context-wrap-form_top { |
| 108 |
margin-right: 0; |
| 109 |
} |
| 110 |
|
| 111 |
} |
| 112 |
|