_pages.scss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. .pages-list {
  2. list-style: none;
  3. margin: 0;
  4. padding: 0;
  5. border-top: 1px solid darken($content-bg, 5%);
  6. ul {
  7. list-style: none;
  8. margin: 0;
  9. padding: 0;
  10. }
  11. li {
  12. margin: 0;
  13. padding: 0;
  14. }
  15. .row {
  16. @include transition(all 0.2s ease);
  17. border-bottom: 1px solid darken($content-bg, 5%);
  18. line-height: 2.5rem;
  19. padding-right: 3rem;
  20. &:hover {
  21. background: lighten($content-bg,2%);
  22. }
  23. p.page-route {
  24. display: block;
  25. margin: -10px 0 5px 25px;
  26. line-height: 1;
  27. font-size: 0.9rem;
  28. color: darken($content-bg,40%);
  29. text-shadow: 1px 1px 0 $white;
  30. .spacer {
  31. color: darken($content-bg,10%);
  32. display: inline-block;
  33. margin: 0 0.3rem;
  34. }
  35. }
  36. // fix for hint alignment
  37. .hint--bottom:before, .hint--bottom:after {
  38. left: 4px;
  39. }
  40. .hint:after, [data-hint]:after {
  41. border-radius: 2px;
  42. }
  43. .badge.lang {
  44. background-color: #aaa;
  45. color: white;
  46. margin-left: 8px;
  47. }
  48. .badge.lang.info {
  49. background-color: $info-bg;
  50. }
  51. }
  52. .page-tools {
  53. display: inline-block;
  54. float: right;
  55. font-size: 1.4rem;
  56. i {
  57. margin-left: 10px;
  58. }
  59. }
  60. .page-home {
  61. font-size: 1.4rem;
  62. margin-left: 10px;
  63. color: darken($content-bg, 20%);
  64. vertical-align: middle;
  65. }
  66. .page-info {
  67. font-size: 1.1rem;
  68. margin-left: 10px;
  69. color: darken($content-bg, 20%);
  70. vertical-align: middle;
  71. }
  72. .page-icon {
  73. color: #0082BA;
  74. font-weight: 700;
  75. &.children-open:before {
  76. content: '\f056';
  77. }
  78. &.children-closed:before{
  79. content: '\f055';
  80. }
  81. &.not-routable {
  82. color: #CE431D;
  83. }
  84. &.not-visible {
  85. color: #999;
  86. }
  87. &.modular {
  88. color: #9055AF;
  89. }
  90. }
  91. }
  92. #page-filtering {
  93. margin: -2rem $padding-default 1rem;
  94. @include clearfix;
  95. .page-filters {
  96. width: 60%;
  97. float: left;
  98. @include breakpoint(mobile-only) {
  99. width: 100%;
  100. }
  101. }
  102. .page-search {
  103. position: relative;
  104. width: 40%;
  105. float: left;
  106. padding-left: 2rem;
  107. text-indent: 2.5rem;
  108. &:after {
  109. position: absolute;
  110. right: 15px;
  111. top: 10px;
  112. content: '\f002';
  113. font-family: 'FontAwesome';
  114. }
  115. @include breakpoint(mobile-only) {
  116. width: 100%;
  117. padding-top: 1rem;
  118. padding-left: 0rem;
  119. &:after {
  120. top: 1.5rem;
  121. }
  122. }
  123. }
  124. .page-shortcuts {
  125. @include clearfix;
  126. clear: both;
  127. padding-top:5px;
  128. .button {
  129. @include button-color(#aaa);
  130. }
  131. }
  132. .selectize-control.multi .selectize-input {
  133. padding: ($leading-margin / 4) ($leading-margin / 4);
  134. &.has-items {
  135. padding-top: 6px;
  136. padding-bottom: 4px;
  137. }
  138. input {
  139. font-size: $core-font-size;
  140. line-height: $core-line-height;
  141. }
  142. > div, > div.active {
  143. color: #777;
  144. padding: 2px 10px;
  145. &[data-value='Routable'] {
  146. background: #CE431D;
  147. color: $white;
  148. }
  149. &[data-value='NonRoutable'] {
  150. color: #CE431D;
  151. }
  152. &[data-value='Visible'] {
  153. background: #71B15E;
  154. color: $white;
  155. }
  156. &[data-value='NonVisible'] {
  157. color: #71B15E;
  158. }
  159. &[data-value='Modular'] {
  160. background: #9055AF;
  161. color: $white;
  162. }
  163. &[data-value='NonModular'] {
  164. color: #9055AF;
  165. }
  166. &[data-value='Published'] {
  167. background: #0093B8;
  168. color: $white;
  169. }
  170. &[data-value='NonPublished'] {
  171. color: #0093B8;
  172. }
  173. }
  174. }
  175. }
  176. .admin-form-wrapper {
  177. position: relative;
  178. }
  179. #admin-topbar {
  180. position: absolute;
  181. right: 0.5rem;
  182. height: 3.5rem;
  183. @include breakpoint(mobile-only){
  184. width: 100%;
  185. right: 0;
  186. top: .25rem;
  187. padding: 0 .5rem;
  188. }
  189. #admin-mode-toggle, #admin-lang-toggle {
  190. @extend %vertical-align;
  191. height: 37px;
  192. display: inline-block;
  193. vertical-align: inherit;
  194. @include breakpoint(mobile-only){
  195. width: 100%;
  196. }
  197. }
  198. #admin-lang-toggle {
  199. z-index:10;
  200. button {
  201. @include button-color(shade($info-bg, 20%));
  202. }
  203. .dropdown-menu {
  204. background: $info-bg;
  205. button {
  206. background: transparent;
  207. color: $white;
  208. width: 100%;
  209. }
  210. }
  211. }
  212. .switch-grav {
  213. border: 0;
  214. background-color: lighten($accent-bg,10%);
  215. }
  216. .switch-toggle {
  217. @include breakpoint(mobile-only) {
  218. width: 100%;
  219. }
  220. input:checked + label {
  221. color: $white;
  222. }
  223. input + label {
  224. color: lighten($accent-bg,65%);
  225. }
  226. input.highlight:checked {
  227. ~ a {
  228. background: lighten($tertiary-accent-bg,10%);
  229. }
  230. }
  231. }
  232. }
  233. body .selectize-dropdown .optgroup-header {
  234. color: $black;
  235. border-bottom: 1px solid #eee;
  236. background-color: #fafafa;
  237. }
  238. @for $i from 0 to 10 {
  239. .depth-#{$i} .row {
  240. padding-left: 3rem * ($i + 1);
  241. }
  242. }
  243. .hidden {
  244. display: none!important;
  245. }
  246. .switch-toggle input[type="radio"] {
  247. display: none!important;
  248. }