index.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-LauncherWidget {
  6. background: var(--md-grey-50);
  7. display: flex;
  8. flex-direction: column;
  9. flex-wrap: wrap;
  10. align-items: center;
  11. margin: 0;
  12. padding: 0;
  13. overflow: auto;
  14. outline: none;
  15. }
  16. .jp-LauncherWidget::before {
  17. content: 'Start a new activity';
  18. display: block;
  19. height: 60px;
  20. width: 100%;
  21. background: var(--jp-toolbar-background);
  22. border-bottom: 1px solid var(--jp-toolbar-border-color);
  23. box-shadow: var(--jp-toolbar-box-shadow);
  24. z-index: 10;
  25. text-align: center;
  26. font-size: 24px;
  27. padding-top: 36px;
  28. }
  29. .jp-LauncherWidget-body {
  30. padding-bottom: 12px;
  31. font-size: var(--jp-ui-font-size1);
  32. color: var(--jp-ui-font-color1);
  33. margin-left: auto;
  34. margin-right: auto;
  35. text-align: center;
  36. display: flex;
  37. align-items: center;
  38. flex-direction: column;
  39. flex-wrap: wrap;
  40. }
  41. .jp-LauncherWidget-logo {
  42. flex: 0 0 50px;
  43. margin-left: auto;
  44. margin-right: auto;
  45. width: 100%;
  46. background-color: var(--jp-layout-color1);
  47. background-size: 232px 50px;
  48. background-repeat: no-repeat;
  49. background-position: center;
  50. margin-top: 20px;
  51. }
  52. .jp-LauncherWidget-subtitle {
  53. background-color: var(--jp-layout-color1);
  54. font-size: var(--jp-ui-font-size2);
  55. width: 100%;
  56. margin-top: 4px;
  57. font-weight: 300;
  58. }
  59. .jp-LauncherWidget-header {
  60. padding-top: 16px;
  61. padding-bottom: 4px;
  62. }
  63. .jp-LauncherWidget-body {
  64. display: flex;
  65. flex-direction: row;
  66. margin-top: 8px;
  67. justify-content: center;
  68. align-items: center;
  69. }
  70. .jp-LauncherWidget-item {
  71. display: flex;
  72. flex-direction: column;
  73. cursor: pointer;
  74. width: 100px;
  75. border: 1px solid var(--md-grey-400);
  76. background: var(--jp-layout-color0);
  77. height: 100px;
  78. margin: 8px;
  79. box-shadow: 0px 1px 1px 1px rgba(0,0,0,.08);
  80. padding: 12px;
  81. transition: .2s box-shadow;
  82. }
  83. .jp-LauncherWidget-item:hover {
  84. box-shadow: 0px 2px 4px 1px rgba(0,0,0,.20);
  85. }
  86. .jp-LauncherWidget-image {
  87. display: block;
  88. vertical-align: middle;
  89. flex: 0 0 auto;
  90. margin: 0 auto;
  91. min-height: 68px;
  92. min-width: 52px;
  93. max-width: 52px;
  94. background-size: 52px 68px;
  95. background-repeat: no-repeat;
  96. cursor: pointer;
  97. }
  98. .jp-LauncherWidget-text {
  99. flex: 0 0 auto;
  100. text-overflow: ellipsis;
  101. order: 1;
  102. vertical-align: middle;
  103. margin: auto;
  104. }
  105. .jp-LauncherWidget-tour {
  106. margin-top: 14px;
  107. height: 14px;
  108. width: 100%;
  109. cursor: pointer;
  110. padding-bottom: 14px;
  111. border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
  112. background-position: top center;
  113. background-repeat: no-repeat;
  114. }