You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

icons.scss 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. /**
  2. * @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>
  3. * @copyright Copyright (c) 2016, Joas Schilling <coding@schilljs.com>
  4. * @copyright Copyright (c) 2016, Lukas Reschke <lukas@statuscode.ch>
  5. * @copyright Copyright (c) 2016, Roeland Jago Douma <roeland@famdouma.nl>
  6. * @copyright Copyright (c) 2016, Vincent Chan <plus.vincchan@gmail.com>
  7. * @copyright Copyright (c) 2015, Thomas Müller <thomas.mueller@tmit.eu>
  8. * @copyright Copyright (c) 2015, Hendrik Leppelsack <hendrik@leppelsack.de>
  9. * @copyright Copyright (c) 2015, Jan-Christoph Borchardt <hey@jancborchardt.net>
  10. *
  11. * @license GNU AGPL version 3 or any later version
  12. *
  13. */
  14. /* GLOBAL ------------------------------------------------------------------- */
  15. [class^='icon-'], [class*=' icon-'] {
  16. background-repeat: no-repeat;
  17. background-position: center;
  18. min-width: 16px;
  19. min-height: 16px;
  20. }
  21. .icon-breadcrumb {
  22. background-image: url('../img/breadcrumb.svg?v=1');
  23. }
  24. /* LOADING ------------------------------------------------------------------ */
  25. .loading, .loading-small, .icon-loading, .icon-loading-dark, .icon-loading-small, .icon-loading-small-dark {
  26. position: relative;
  27. &:after {
  28. z-index: 2;
  29. content: '';
  30. height: 28px;
  31. width: 28px;
  32. margin: -16px 0 0 -16px;
  33. position: absolute;
  34. top: 50%;
  35. left: 50%;
  36. border-radius: 100%;
  37. -webkit-animation: rotate .8s infinite linear;
  38. animation: rotate .8s infinite linear;
  39. -webkit-transform-origin: center;
  40. -ms-transform-origin: center;
  41. transform-origin: center;
  42. border: 2px solid rgba($color-loading, 0.5);
  43. border-top-color: $color-loading;
  44. }
  45. }
  46. .icon-loading-dark:after,
  47. .icon-loading-small-dark:after {
  48. border: 2px solid rgba($color-loading-dark, 0.5);
  49. border-top-color: $color-loading-dark;
  50. }
  51. .icon-loading-small:after,
  52. .icon-loading-small-dark:after {
  53. height: 12px;
  54. width: 12px;
  55. margin: -8px 0 0 -8px;
  56. }
  57. /* Css replaced elements don't have ::after nor ::before */
  58. img, object, video, button, textarea, input, select, div[contenteditable=true] {
  59. .icon-loading {
  60. background-image: url('../img/loading.gif');
  61. }
  62. .icon-loading-dark {
  63. background-image: url('../img/loading-dark.gif');
  64. }
  65. .icon-loading-small {
  66. background-image: url('../img/loading-small.gif');
  67. }
  68. .icon-loading-small-dark {
  69. background-image: url('../img/loading-small-dark.gif');
  70. }
  71. }
  72. @keyframes rotate {
  73. from {
  74. transform: rotate(0deg);
  75. }
  76. to {
  77. transform: rotate(360deg);
  78. }
  79. }
  80. .icon-32 {
  81. background-size: 32px !important;
  82. }
  83. .icon-white {
  84. filter: invert(100%);
  85. &.icon-shadow {
  86. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  87. }
  88. }
  89. /* ICONS -------------------------------------------------------------------- */
  90. .icon-add {
  91. background-image: url('../img/actions/add.svg?v=1');
  92. }
  93. .icon-address {
  94. background-image: url('../img/actions/address.svg?v=1');
  95. }
  96. .icon-audio {
  97. background-image: url('../img/actions/audio.svg?v=1');
  98. }
  99. /* TODO: to be deprecated; use .icon-audio.icon-white.icon-shadow */
  100. .icon-audio-white {
  101. background-image: url('../img/actions/audio.svg?v=2');
  102. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  103. }
  104. .icon-audio-off {
  105. background-image: url('../img/actions/audio-off.svg?v=1');
  106. }
  107. /* TODO: to be deprecated; use .icon-audio-off.icon-white.icon-shadow */
  108. .icon-audio-off-white {
  109. background-image: url('../img/actions/audio-off.svg?v=1');
  110. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  111. }
  112. .icon-caret {
  113. background-image: url('../img/actions/caret.svg?v=1');
  114. }
  115. .icon-caret-dark {
  116. background-image: url('../img/actions/caret-dark.svg?v=1');
  117. }
  118. .icon-checkmark {
  119. background-image: url('../img/actions/checkmark.svg?v=1');
  120. }
  121. .icon-checkmark-white {
  122. background-image: url('../img/actions/checkmark-white.svg?v=1');
  123. }
  124. .icon-checkmark-color {
  125. background-image: url('../img/actions/checkmark-color.svg?v=1');
  126. }
  127. .icon-clippy {
  128. background-image: url('../img/actions/clippy.svg?v=2');
  129. }
  130. .icon-close {
  131. background-image: url('../img/actions/close.svg?v=1');
  132. }
  133. .icon-close-white {
  134. background-image: url('../img/actions/close-white.svg?v=1');
  135. }
  136. .icon-comment {
  137. background-image: url('../img/actions/comment.svg?v=1');
  138. }
  139. .icon-confirm {
  140. background-image: url('../img/actions/confirm.svg?v=2');
  141. }
  142. .icon-confirm-white {
  143. background-image: url('../img/actions/confirm-white.svg?v=2');
  144. }
  145. .icon-delete {
  146. background-image: url('../img/actions/delete.svg?v=1');
  147. &.no-permission {
  148. &:hover, &:focus {
  149. background-image: url('../img/actions/delete.svg?v=1');
  150. }
  151. }
  152. &:hover, &:focus {
  153. background-image: url('../img/actions/delete-hover.svg?v=1');
  154. filter: initial;
  155. }
  156. }
  157. .icon-delete-white {
  158. background-image: url('../img/actions/delete-white.svg?v=1');
  159. &.no-permission {
  160. &:hover, &:focus {
  161. background-image: url('../img/actions/delete-white.svg?v=1');
  162. }
  163. }
  164. &:hover, &:focus {
  165. background-image: url('../img/actions/delete-hover.svg?v=1');
  166. }
  167. }
  168. .icon-details {
  169. background-image: url('../img/actions/details.svg?v=1');
  170. }
  171. .icon-download {
  172. background-image: url('../img/actions/download.svg?v=1');
  173. }
  174. .icon-download-white {
  175. background-image: url('../img/actions/download-white.svg?v=1');
  176. }
  177. .icon-edit {
  178. background-image: url('../img/actions/edit.svg?v=1');
  179. }
  180. .icon-error {
  181. background-image: url('../img/actions/error.svg?v=1');
  182. }
  183. .icon-error-white {
  184. background-image: url('../img/actions/error-white.svg?v=1');
  185. }
  186. .icon-error-color {
  187. background-image: url('../img/actions/error-color.svg?v=1');
  188. }
  189. .icon-external {
  190. background-image: url('../img/actions/external.svg?v=1');
  191. }
  192. .icon-fullscreen {
  193. background-image: url('../img/actions/fullscreen.svg?v=1');
  194. }
  195. /* TODO: to be deprecated; use .icon-fullscreen.icon-white.icon-shadow */
  196. .icon-fullscreen-white {
  197. background-image: url('../img/actions/fullscreen.svg?v=1');
  198. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  199. }
  200. .icon-history {
  201. background-image: url('../img/actions/history.svg?v=1');
  202. }
  203. .icon-info {
  204. background-image: url('../img/actions/info.svg?v=1');
  205. }
  206. .icon-info-white {
  207. background-image: url('../img/actions/info-white.svg?v=1');
  208. }
  209. .icon-logout {
  210. background-image: url('../img/actions/logout.svg?v=1');
  211. }
  212. .icon-mail {
  213. background-image: url('../img/actions/mail.svg?v=1');
  214. }
  215. .icon-menu {
  216. background-image: url('../img/actions/menu.svg?v=1');
  217. }
  218. .icon-more {
  219. background-image: url('../img/actions/more.svg?v=1');
  220. }
  221. .icon-more-white {
  222. background-image: url('../img/actions/more-white.svg?v=1');
  223. }
  224. .icon-password {
  225. background-image: url('../img/actions/password.svg?v=1');
  226. }
  227. .icon-pause {
  228. background-image: url('../img/actions/pause.svg?v=1');
  229. }
  230. .icon-play {
  231. background-image: url('../img/actions/play.svg?v=1');
  232. }
  233. .icon-play-add {
  234. background-image: url('../img/actions/play-add.svg?v=1');
  235. }
  236. .icon-play-next {
  237. background-image: url('../img/actions/play-next.svg?v=1');
  238. }
  239. .icon-play-previous {
  240. background-image: url('../img/actions/play-previous.svg?v=1');
  241. }
  242. .icon-public {
  243. background-image: url('../img/actions/public.svg?v=1');
  244. }
  245. .icon-rename {
  246. background-image: url('../img/actions/rename.svg?v=1');
  247. }
  248. .icon-screen {
  249. background-image: url('../img/actions/screen.svg?v=1');
  250. }
  251. /* TODO: to be deprecated; use .icon-screen.icon-white.icon-shadow */
  252. .icon-screen-white {
  253. background-image: url('../img/actions/screen.svg?v=1');
  254. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  255. }
  256. .icon-screen-off {
  257. background-image: url('../img/actions/screen-off.svg?v=1');
  258. }
  259. /* TODO: to be deprecated; use .icon-screen-off.icon-white.icon-shadow */
  260. .icon-screen-off-white {
  261. background-image: url('../img/actions/screen-off.svg?v=1');
  262. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  263. }
  264. .icon-search {
  265. background-image: url('../img/actions/search.svg?v=1');
  266. }
  267. .icon-search-white {
  268. background-image: url('../img/actions/search-white.svg?v=1');
  269. }
  270. .icon-settings {
  271. background-image: url('../img/actions/settings.svg?v=1');
  272. }
  273. .icon-settings-dark {
  274. background-image: url('../img/actions/settings-dark.svg?v=1');
  275. }
  276. .icon-settings-white {
  277. background-image: url('../img/actions/settings-white.svg?v=1');
  278. }
  279. /* always use icon-shared, AdBlock blocks icon-share */
  280. .icon-shared,
  281. .icon-share {
  282. background-image: url('../img/actions/share.svg?v=1');
  283. }
  284. .icon-sound {
  285. background-image: url('../img/actions/sound.svg?v=1');
  286. }
  287. .icon-sound-off {
  288. background-image: url('../img/actions/sound-off.svg?v=1');
  289. }
  290. .icon-favorite {
  291. background-image: url('../img/actions/star-dark.svg?v=1');
  292. }
  293. .icon-star {
  294. background-image: url('../img/actions/star.svg?v=1');
  295. }
  296. .icon-star-dark {
  297. background-image: url('../img/actions/star-dark.svg?v=1');
  298. }
  299. .icon-starred {
  300. &:hover, &:focus {
  301. background-image: url('../img/actions/star.svg?v=1');
  302. }
  303. background-image: url('../img/actions/starred.svg?v=1');
  304. }
  305. .icon-star {
  306. &:hover, &:focus {
  307. background-image: url('../img/actions/starred.svg?v=1');
  308. }
  309. }
  310. .icon-tag {
  311. background-image: url('../img/actions/tag.svg?v=1');
  312. }
  313. .icon-toggle {
  314. background-image: url('../img/actions/toggle.svg?v=1');
  315. }
  316. .icon-toggle-background {
  317. background-image: url('../img/actions/toggle-background.svg?v=1');
  318. }
  319. .icon-toggle-pictures {
  320. background-image: url('../img/actions/toggle-pictures.svg?v=1');
  321. }
  322. .icon-triangle-e {
  323. background-image: url('../img/actions/triangle-e.svg?v=1');
  324. }
  325. .icon-triangle-n {
  326. background-image: url('../img/actions/triangle-n.svg?v=1');
  327. }
  328. .icon-triangle-s {
  329. background-image: url('../img/actions/triangle-s.svg?v=1');
  330. }
  331. .icon-upload {
  332. background-image: url('../img/actions/upload.svg?v=1');
  333. }
  334. .icon-upload-white {
  335. background-image: url('../img/actions/upload-white.svg?v=1');
  336. }
  337. .icon-user {
  338. background-image: url('../img/actions/user.svg?v=1');
  339. }
  340. .icon-video {
  341. background-image: url('../img/actions/video.svg?v=1');
  342. }
  343. /* TODO: to be deprecated; use .icon-video-off.icon-white.icon-shadow */
  344. .icon-video-white {
  345. background-image: url('../img/actions/video.svg?v=2');
  346. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  347. }
  348. .icon-video-off {
  349. background-image: url('../img/actions/video-off.svg?v=1');
  350. }
  351. /* TODO: to be deprecated; use .icon-video-off.icon-white.icon-shadow */
  352. .icon-video-off-white {
  353. background-image: url('../img/actions/video-off.svg?v=1');
  354. filter: invert(100%) drop-shadow(1px 1px 4px $color-box-shadow);
  355. }
  356. .icon-view-close {
  357. background-image: url('../img/actions/view-close.svg?v=1');
  358. }
  359. .icon-view-download {
  360. background-image: url('../img/actions/view-download.svg?v=1');
  361. }
  362. .icon-view-next {
  363. background-image: url('../img/actions/arrow-right.svg?v=1');
  364. }
  365. .icon-view-pause {
  366. background-image: url('../img/actions/view-pause.svg?v=1');
  367. }
  368. .icon-view-play {
  369. background-image: url('../img/actions/view-play.svg?v=1');
  370. }
  371. .icon-view-previous {
  372. background-image: url('../img/actions/arrow-left.svg?v=1');
  373. }
  374. /* PLACES ------------------------------------------------------------------- */
  375. .icon-calendar {
  376. background-image: url('../img/places/calendar.svg?v=1');
  377. }
  378. .icon-calendar-dark {
  379. background-image: url('../img/places/calendar-dark.svg?v=1');
  380. }
  381. .icon-contacts {
  382. background-image: url('../img/places/contacts.svg?v=1');
  383. }
  384. .icon-contacts-dark {
  385. background-image: url('../img/places/contacts-dark.svg?v=1');
  386. }
  387. .icon-files {
  388. background-image: url('../img/places/files.svg?v=1');
  389. }
  390. .icon-files-dark {
  391. background-image: url('../img/places/files-dark.svg?v=1');
  392. }
  393. .icon-file, .icon-filetype-text {
  394. background-image: url('../img/filetypes/text.svg?v=1');
  395. }
  396. .icon-folder, .icon-filetype-folder {
  397. background-image: url('../img/filetypes/folder.svg?v=1');
  398. }
  399. .icon-filetype-folder-drag-accept {
  400. background-image: url('../img/filetypes/folder-drag-accept.svg?v=1') !important;
  401. }
  402. .icon-home {
  403. background-image: url('../img/places/home.svg?v=1');
  404. }
  405. .icon-link {
  406. background-image: url('../img/places/link.svg?v=1');
  407. }
  408. .icon-music {
  409. background-image: url('../img/places/music.svg?v=1');
  410. }
  411. .icon-picture {
  412. background-image: url('../img/places/picture.svg?v=1');
  413. }
  414. /* CLIENTS ------------------------------------------------------------------- */
  415. .icon-desktop {
  416. background-image: url('../img/clients/desktop.svg?v=1');
  417. }
  418. .icon-phone {
  419. background-image: url('../img/clients/phone.svg?v=1');
  420. }
  421. .icon-tablet {
  422. background-image: url('../img/clients/tablet.svg?v=1');
  423. }
  424. /* APP CATEGORIES ------------------------------------------------------------------- */
  425. .icon-category-installed {
  426. background-image: url('../img/actions/user.svg?v=1');
  427. }
  428. .icon-category-enabled {
  429. background-image: url('../img/actions/checkmark.svg?v=1');
  430. }
  431. .icon-category-disabled {
  432. background-image: url('../img/actions/close.svg?v=1');
  433. }
  434. .icon-category-app-bundles {
  435. background-image: url('../img/categories/bundles.svg?v=1');
  436. }
  437. .icon-category-updates {
  438. background-image: url('../img/actions/download.svg?v=1');
  439. }
  440. .icon-category-files {
  441. background-image: url('../img/categories/files.svg?v=1');
  442. }
  443. .icon-category-social {
  444. background-image: url('../img/categories/social.svg?v=1');
  445. }
  446. .icon-category-office {
  447. background-image: url('../img/categories/office.svg?v=1');
  448. }
  449. .icon-category-auth {
  450. background-image: url('../img/categories/auth.svg?v=1');
  451. }
  452. .icon-category-monitoring {
  453. background-image: url('../img/categories/monitoring.svg?v=1');
  454. }
  455. .icon-category-multimedia {
  456. background-image: url('../img/categories/multimedia.svg?v=1');
  457. }
  458. .icon-category-organization {
  459. background-image: url('../img/categories/organization.svg?v=1');
  460. }
  461. .icon-category-customization {
  462. background-image: url('../img/categories/customization.svg?v=1');
  463. }
  464. .icon-category-integration {
  465. background-image: url('../img/categories/integration.svg?v=1');
  466. }
  467. .icon-category-tools {
  468. background-image: url('../img/actions/settings-dark.svg?v=1');
  469. }
  470. .icon-category-games {
  471. background-image: url('../img/categories/games.svg?v=1');
  472. }
  473. .icon-category-security {
  474. background-image: url('../img/actions/password.svg?v=1');
  475. }