_tabPanel.scss 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .tab-panel {
  2. height:100%;
  3. .scene-actions {
  4. overflow-y: auto;
  5. // Action title : Textures/Options/Viewer
  6. .actions-title {
  7. font-size : 1.1em;
  8. padding-bottom: 10px;
  9. border-bottom : 1px solid $color-bot;
  10. margin : 10px 0 10px 0;
  11. }
  12. .defaut-action {
  13. height : 20px;
  14. line-height: 20px;
  15. width : 100%;
  16. cursor : pointer;
  17. &:hover {
  18. background-color:$background-lighter;
  19. }
  20. &:active {
  21. background-color: $background-lighter2;
  22. }
  23. }
  24. // Radio button
  25. .action-radio {
  26. @extend .defaut-action;
  27. &:before {
  28. width : 1em;
  29. height : 1em;
  30. line-height: 1em;
  31. display : inline-block;
  32. font-family: 'FontAwesome', sans-serif;
  33. content : "\f10c";
  34. margin-right:10px;
  35. }
  36. // radio button active
  37. &.active {
  38. &:before {
  39. width : 1em;
  40. height : 1em;
  41. line-height: 1em;
  42. display : inline-block;
  43. font-family: 'FontAwesome', sans-serif;
  44. content : "\f192";
  45. color : $color-bot;
  46. margin-right:10px;
  47. }
  48. }
  49. }
  50. // Check button
  51. .action {
  52. @extend .defaut-action;
  53. &:before {
  54. width : 1em;
  55. height : 1em;
  56. line-height: 1em;
  57. display : inline-block;
  58. font-family: 'FontAwesome', sans-serif;
  59. content : "\f096";
  60. margin-right:10px;
  61. }
  62. &.active {
  63. &:before {
  64. width : 1em;
  65. height : 1em;
  66. line-height: 1em;
  67. display : inline-block;
  68. font-family: 'FontAwesome', sans-serif;
  69. content : "\f14a";
  70. color : $color-bot;
  71. margin-right:10px;
  72. }
  73. }
  74. }
  75. }
  76. }