You are here

tft.css in Taxonomy File Tree 8

Same filename and directory in other branches
  1. 7.2 css/tft.css
  2. 7 css/tft.css
  3. 3.x css/tft.css
/* Hide the page title */

/* Menu */

#folder-menu-container {
  margin-bottom: 10px;
}

#folder-menu-container .folder-wrapper {
  padding: 10px;
  overflow: hidden;
}

#folder-menu-container h4 {
  margin: 0;
  float: left;
}

#tabs .tabs li.folder-menu-ops-link a.disabled {
  background-color: #ddd;
  cursor: default;
}


/* Folder content */

.tft-admin-folder-content-item {
  float: left;
  margin-right: 10px;
}

#folder-content-container {
  background-position: center center;
  background-repeat: no-repeat;
}

#folder-content-container .folder-wrapper {
  padding: 10px 0;
}

#folder-content-container table {
  width: 100%;
}

#folder-content-container tr.even {
  background-color: transparent;
}

#folder-content-container tr.odd {
  background-color: transparent;
}

#table-th-ops {
  width: 25%;
}

#folder-content-container a.ops-link {
  padding-left: 0;
  display: inline;
}

th.header {
  cursor: pointer;
}

th.header:hover,
th.headerSortDown,
th.headerSortUp {
  background: #eee;
}

th.header span {
  background-position: right top;
  background-repeat: no-repeat;
  padding-right: 20px;
}

th.headerSortDown span {
  background-image: url(../img/arrow-asc.png);
}

th.headerSortUp span {
  background-image: url(../img/arrow-desc.png);
}

#folder-content-container a {
  display: block;
  background-repeat: no-repeat;
  padding-left: 20px;
}

#folder-content-container a img {
  margin-left: -20px;
  min-width: 220px;
}

#folder-content-container a.file {
  background-image: url(../img/application-octet-stream.png);
}

/* Default icon */
#folder-content-container a.folder-folder-link {
  background-image: url(../img/folder.png);
}

/* Folder icon */

#folder-add-content-links {
  margin: 1em 0 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.folder-add-content-link {
  float: right;
  display: block;
}

.folder-add-content-link a {
  background-color: #ddd;
  color: #555;
  display: block;
  font-size: 0.833em;
  margin: 0 0 0 7px;
  padding: 5px 10px 5px 25px !important;
  text-decoration: none;
  background-position: 5px 4px;
}

#add-child-folder {
  background-image: url(../img/add-folder.png);
}

#add-child-file {
  background-image: url(../img/add-file-icon.png);
}

.folder-add-content-link a:hover {
  background-color: #eee;
  color: #777;
}

/* Folder tree */

.tft-hide-element {
  display: none;
}

#folder-explorer-container.tft-node-form {
  overflow: auto;
  height: 200px;
  border: 1px solid #eee;
  position: relative;
}

#folder-explorer-container ul {
  margin: 0.5em 0;
  list-style: none;
  padding: 0;
  clear: left;
}

#folder-explorer-container ul ul {
  padding-left: 1em;
}

#folder-explorer-container li {
  position: relative;
  overflow: hidden;
  list-style: none;
  background: none;
  padding: 0 0 0.2em 0.5em;
  display: block;
}

#folder-explorer-container li span.icon,
#tft-outline tr.draggable span.icon {
  background-image: url(../img/opened-closed.png);
  background-repeat: no-repeat;
  background-position: -10px 0;
  display: block;
  padding: 3px 0;
  float: left;
  width: 12px;
  height: 18px;
  position: relative;
  z-index: 100;
}

#folder-explorer-container li span.closed-icon,
#tft-outline tr.draggable span.closed-icon {
  background-position: left 5px;
  cursor: pointer;
}

#folder-explorer-container li span.opened-icon,
#tft-outline tr.draggable span.opened-icon {
  background-position: left -12px;
  cursor: pointer;
}

#folder-explorer-container li span.link-wrapper {
  display: block;
  margin-left: -12px;
  float: left;
  width: 90%;
}

#folder-explorer-container li a.folder-link {
  text-decoration: none;
  background: url(../img/folder.png) left 3px no-repeat;
  padding: 3px 3px 3px 20px;
  color: #353535;
  display: block;
  margin-left: 12px;
  width: 90%;
}

#folder-explorer-container li.active>a.folder-link {
  font-weight: bold;
}

li.closed ul {
  display: none;
}

#folder-explorer-container.tft-node-form li.active>.link-wrapper>a {
  background-color: #eee;
}


/* Admin */
#tft-outline {
  width: 85%;
}

#tft-manage-folders-form .form-item {
  float: left;
}

.tabledrag-parent-locked .handle {
  background-image: url(../img/draggable.png) !important;
}

#folder-menu-container .folder-wrapper {
  background: #009ee0;
}

#folder-menu-container .folder-wrapper #tabs ul li a.disabled {
  background-color: #8b8b8d !important;
}

#folder-add-content-links {
  background: #58585a;
}

#folder-explorer-container.tft-node-form li.active>.link-wrapper {
  background-color: #eee;
}

#folder-explorer-container.tft-node-form li.active>.link-wrapper>a {
  background-color: transparent;
}

#folder-menu-container .folder-wrapper {
  background: #009ee0;
  color: white;
  padding: 0 0 0 1em;
}

#folder-menu-container .folder-wrapper #tabs {
  float: right;
}

#folder-menu-container .folder-wrapper #tabs ul {
  display: flex;
  list-style: none;
  margin: 0;
}

#folder-menu-container .folder-wrapper #tabs ul #tft-back a {
  border: 0;
  background: #5aa449;
  color: white;
  display: inline-block;
  padding: .25em 1em;
  background-position: .5em center;
  background-repeat: no-repeat;
  padding-left: 3em;
  /*background-image:url("../img/prev-element-icon.png")*/
}

#folder-menu-container .folder-wrapper #tabs ul #manage-folders a {
  border: 0;
  background: #5aa449;
  color: white;
  display: inline-block;
  padding: .25em 1em;
  background-position: .5em center;
  background-repeat: no-repeat;
  padding-left: 2em;
  /*background-image:url("../img/sort-element-icon.png")*/
}

#folder-menu-container .folder-wrapper #tabs ul li {
  margin: 0;
}

#folder-menu-container .folder-wrapper #tabs ul li a {
  margin-right: 0;
  border-left: 1px solid white !important;
}

#folder-menu-container .folder-wrapper #tabs ul li a.disabled {
  background-color: #8b8b8d !important;
}

#folder-content-container a.folder-folder-link,
#folder-explorer-container li a.folder-link {
  padding-left: 2em;
  /*background:url(../img/folder-icon.png) left center no-repeat*/
}

#folder-content-container a.file {
  padding-left: 2em;
}

#folder-content-container #table-th-name {
  width: 40%;
}

#folder-add-content-links {
  background: #58585a;
}

#folder-add-content-links li a {
  border: 0;
  background: #5aa449;
  color: white;
  display: inline-block;
  padding: .25em 1em;
  background-position: .5em center;
  background-repeat: no-repeat;
  padding-left: 2em;
  /*background-image:url("../img/add-element-icon.png");*/
  margin: 0;
  padding-left: 1.5em;
  border-left: 1px solid white !important;
}

#folder-menu-ops-links {
  float: right;
}

body[class*="page-group-"][class*="-tft"] {
}

body[class*="page-group-"][class*="-tft"] .ui-dialog {
  padding: 3px;
  border: 0;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  width: auto !important;
}

body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-titlebar {
  padding: 0;
  position: relative;
  border-radius: 0;
  background: none;
  border: 0;
}

body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-content {
  padding: 0;
}

body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-titlebar-close {
  background-color: transparent !important;
  box-shadow: none !important;
  right: 0;
}

File

css/tft.css
View source
  1. /* Hide the page title */
  2. /* Menu */
  3. #folder-menu-container {
  4. margin-bottom: 10px;
  5. }
  6. #folder-menu-container .folder-wrapper {
  7. padding: 10px;
  8. overflow: hidden;
  9. }
  10. #folder-menu-container h4 {
  11. margin: 0;
  12. float: left;
  13. }
  14. #tabs .tabs li.folder-menu-ops-link a.disabled {
  15. background-color: #ddd;
  16. cursor: default;
  17. }
  18. /* Folder content */
  19. .tft-admin-folder-content-item {
  20. float: left;
  21. margin-right: 10px;
  22. }
  23. #folder-content-container {
  24. background-position: center center;
  25. background-repeat: no-repeat;
  26. }
  27. #folder-content-container .folder-wrapper {
  28. padding: 10px 0;
  29. }
  30. #folder-content-container table {
  31. width: 100%;
  32. }
  33. #folder-content-container tr.even {
  34. background-color: transparent;
  35. }
  36. #folder-content-container tr.odd {
  37. background-color: transparent;
  38. }
  39. #table-th-ops {
  40. width: 25%;
  41. }
  42. #folder-content-container a.ops-link {
  43. padding-left: 0;
  44. display: inline;
  45. }
  46. th.header {
  47. cursor: pointer;
  48. }
  49. th.header:hover,
  50. th.headerSortDown,
  51. th.headerSortUp {
  52. background: #eee;
  53. }
  54. th.header span {
  55. background-position: right top;
  56. background-repeat: no-repeat;
  57. padding-right: 20px;
  58. }
  59. th.headerSortDown span {
  60. background-image: url(../img/arrow-asc.png);
  61. }
  62. th.headerSortUp span {
  63. background-image: url(../img/arrow-desc.png);
  64. }
  65. #folder-content-container a {
  66. display: block;
  67. background-repeat: no-repeat;
  68. padding-left: 20px;
  69. }
  70. #folder-content-container a img {
  71. margin-left: -20px;
  72. min-width: 220px;
  73. }
  74. #folder-content-container a.file {
  75. background-image: url(../img/application-octet-stream.png);
  76. }
  77. /* Default icon */
  78. #folder-content-container a.folder-folder-link {
  79. background-image: url(../img/folder.png);
  80. }
  81. /* Folder icon */
  82. #folder-add-content-links {
  83. margin: 1em 0 0 0;
  84. padding: 0;
  85. list-style: none;
  86. overflow: hidden;
  87. }
  88. .folder-add-content-link {
  89. float: right;
  90. display: block;
  91. }
  92. .folder-add-content-link a {
  93. background-color: #ddd;
  94. color: #555;
  95. display: block;
  96. font-size: 0.833em;
  97. margin: 0 0 0 7px;
  98. padding: 5px 10px 5px 25px !important;
  99. text-decoration: none;
  100. background-position: 5px 4px;
  101. }
  102. #add-child-folder {
  103. background-image: url(../img/add-folder.png);
  104. }
  105. #add-child-file {
  106. background-image: url(../img/add-file-icon.png);
  107. }
  108. .folder-add-content-link a:hover {
  109. background-color: #eee;
  110. color: #777;
  111. }
  112. /* Folder tree */
  113. .tft-hide-element {
  114. display: none;
  115. }
  116. #folder-explorer-container.tft-node-form {
  117. overflow: auto;
  118. height: 200px;
  119. border: 1px solid #eee;
  120. position: relative;
  121. }
  122. #folder-explorer-container ul {
  123. margin: 0.5em 0;
  124. list-style: none;
  125. padding: 0;
  126. clear: left;
  127. }
  128. #folder-explorer-container ul ul {
  129. padding-left: 1em;
  130. }
  131. #folder-explorer-container li {
  132. position: relative;
  133. overflow: hidden;
  134. list-style: none;
  135. background: none;
  136. padding: 0 0 0.2em 0.5em;
  137. display: block;
  138. }
  139. #folder-explorer-container li span.icon,
  140. #tft-outline tr.draggable span.icon {
  141. background-image: url(../img/opened-closed.png);
  142. background-repeat: no-repeat;
  143. background-position: -10px 0;
  144. display: block;
  145. padding: 3px 0;
  146. float: left;
  147. width: 12px;
  148. height: 18px;
  149. position: relative;
  150. z-index: 100;
  151. }
  152. #folder-explorer-container li span.closed-icon,
  153. #tft-outline tr.draggable span.closed-icon {
  154. background-position: left 5px;
  155. cursor: pointer;
  156. }
  157. #folder-explorer-container li span.opened-icon,
  158. #tft-outline tr.draggable span.opened-icon {
  159. background-position: left -12px;
  160. cursor: pointer;
  161. }
  162. #folder-explorer-container li span.link-wrapper {
  163. display: block;
  164. margin-left: -12px;
  165. float: left;
  166. width: 90%;
  167. }
  168. #folder-explorer-container li a.folder-link {
  169. text-decoration: none;
  170. background: url(../img/folder.png) left 3px no-repeat;
  171. padding: 3px 3px 3px 20px;
  172. color: #353535;
  173. display: block;
  174. margin-left: 12px;
  175. width: 90%;
  176. }
  177. #folder-explorer-container li.active>a.folder-link {
  178. font-weight: bold;
  179. }
  180. li.closed ul {
  181. display: none;
  182. }
  183. #folder-explorer-container.tft-node-form li.active>.link-wrapper>a {
  184. background-color: #eee;
  185. }
  186. /* Admin */
  187. #tft-outline {
  188. width: 85%;
  189. }
  190. #tft-manage-folders-form .form-item {
  191. float: left;
  192. }
  193. .tabledrag-parent-locked .handle {
  194. background-image: url(../img/draggable.png) !important;
  195. }
  196. #folder-menu-container .folder-wrapper {
  197. background: #009ee0;
  198. }
  199. #folder-menu-container .folder-wrapper #tabs ul li a.disabled {
  200. background-color: #8b8b8d !important;
  201. }
  202. #folder-add-content-links {
  203. background: #58585a;
  204. }
  205. #folder-explorer-container.tft-node-form li.active>.link-wrapper {
  206. background-color: #eee;
  207. }
  208. #folder-explorer-container.tft-node-form li.active>.link-wrapper>a {
  209. background-color: transparent;
  210. }
  211. #folder-menu-container .folder-wrapper {
  212. background: #009ee0;
  213. color: white;
  214. padding: 0 0 0 1em;
  215. }
  216. #folder-menu-container .folder-wrapper #tabs {
  217. float: right;
  218. }
  219. #folder-menu-container .folder-wrapper #tabs ul {
  220. display: flex;
  221. list-style: none;
  222. margin: 0;
  223. }
  224. #folder-menu-container .folder-wrapper #tabs ul #tft-back a {
  225. border: 0;
  226. background: #5aa449;
  227. color: white;
  228. display: inline-block;
  229. padding: .25em 1em;
  230. background-position: .5em center;
  231. background-repeat: no-repeat;
  232. padding-left: 3em;
  233. /*background-image:url("../img/prev-element-icon.png")*/
  234. }
  235. #folder-menu-container .folder-wrapper #tabs ul #manage-folders a {
  236. border: 0;
  237. background: #5aa449;
  238. color: white;
  239. display: inline-block;
  240. padding: .25em 1em;
  241. background-position: .5em center;
  242. background-repeat: no-repeat;
  243. padding-left: 2em;
  244. /*background-image:url("../img/sort-element-icon.png")*/
  245. }
  246. #folder-menu-container .folder-wrapper #tabs ul li {
  247. margin: 0;
  248. }
  249. #folder-menu-container .folder-wrapper #tabs ul li a {
  250. margin-right: 0;
  251. border-left: 1px solid white !important;
  252. }
  253. #folder-menu-container .folder-wrapper #tabs ul li a.disabled {
  254. background-color: #8b8b8d !important;
  255. }
  256. #folder-content-container a.folder-folder-link,
  257. #folder-explorer-container li a.folder-link {
  258. padding-left: 2em;
  259. /*background:url(../img/folder-icon.png) left center no-repeat*/
  260. }
  261. #folder-content-container a.file {
  262. padding-left: 2em;
  263. }
  264. #folder-content-container #table-th-name {
  265. width: 40%;
  266. }
  267. #folder-add-content-links {
  268. background: #58585a;
  269. }
  270. #folder-add-content-links li a {
  271. border: 0;
  272. background: #5aa449;
  273. color: white;
  274. display: inline-block;
  275. padding: .25em 1em;
  276. background-position: .5em center;
  277. background-repeat: no-repeat;
  278. padding-left: 2em;
  279. /*background-image:url("../img/add-element-icon.png");*/
  280. margin: 0;
  281. padding-left: 1.5em;
  282. border-left: 1px solid white !important;
  283. }
  284. #folder-menu-ops-links {
  285. float: right;
  286. }
  287. body[class*="page-group-"][class*="-tft"] {
  288. }
  289. body[class*="page-group-"][class*="-tft"] .ui-dialog {
  290. padding: 3px;
  291. border: 0;
  292. top: 50% !important;
  293. left: 50% !important;
  294. transform: translate(-50%, -50%);
  295. width: auto !important;
  296. }
  297. body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-titlebar {
  298. padding: 0;
  299. position: relative;
  300. border-radius: 0;
  301. background: none;
  302. border: 0;
  303. }
  304. body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-content {
  305. padding: 0;
  306. }
  307. body[class*="page-group-"][class*="-tft"] .ui-dialog .ui-dialog-titlebar-close {
  308. background-color: transparent !important;
  309. box-shadow: none !important;
  310. right: 0;
  311. }