ToolbarStyle.uss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**********************************************************************************************************************/
  2. /* Toolbar */
  3. /**********************************************************************************************************************/
  4. .Toolbar {
  5. flex:0 0 auto;
  6. padding-bottom : 10px;
  7. }
  8. Button {
  9. align-items: center;
  10. margin-left: 1px;
  11. margin-right: 1px;
  12. margin-top: 1px;
  13. margin-bottom: 1px;
  14. flex-direction : row;
  15. border-left-width: 1px;
  16. border-right-width: 1px;
  17. border-bottom-width: 1px;
  18. border-top-width: 1px;
  19. border-top-left-radius: 3px;
  20. border-top-right-radius: 3px;
  21. border-bottom-left-radius: 3px;
  22. border-bottom-right-radius: 3px;
  23. padding-left:2px;
  24. padding-right:2px;
  25. padding-bottom:2px;
  26. padding-top:2px;
  27. }
  28. Button > Image {
  29. width: 16px;
  30. height: 16px;
  31. }
  32. .Collapse Button {
  33. margin-top: -1px;
  34. width: 26px;
  35. height: 26px;
  36. }
  37. Button > .unity-label {
  38. margin-left: 2px;
  39. margin-right: 0;
  40. margin-top: 0;
  41. margin-bottom: 0;
  42. padding-left: 0;
  43. padding-right: 0;
  44. padding-top: 0;
  45. padding-bottom: 0;
  46. -unity-text-align : middle-left;
  47. }
  48. .Collapse Button > Label {
  49. display: none;
  50. }
  51. .unity-button:checked {
  52. background-color: #747474;
  53. }
  54. PopupWindow {
  55. border-left-width :2px;
  56. border-right-width :2px;
  57. }
  58. .Dark PopupWindow{
  59. }
  60. .Collapse PopupWindow
  61. {
  62. color: rgba(255, 255, 255, 0);
  63. background-color: rgba(255, 255, 255, 0);
  64. border-color: rgba(255, 255, 255, 0);
  65. align-items: center;
  66. }
  67. .Collapse PopupWindow > VisualElement
  68. {
  69. padding-top: 4px;
  70. }