/style/src/_dock.scss

https://github.com/ajanthanm/cssfilterlab · Sass · 195 lines · 150 code · 28 blank · 17 comment · 0 complexity · 610f45aef157f1eb0be9d93ddae70065 MD5 · raw file

  1. /*
  2. * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. .panel-view {
  17. display: none;
  18. }
  19. .panel-view.active {
  20. @include flex;
  21. @include northstar-bg;
  22. display: block;
  23. border-top: 1px solid rgba(255,255,255,.15);
  24. color: white;
  25. z-index: 0;
  26. position: relative;
  27. overflow: hidden;
  28. }
  29. .panel-view.active > :first-child {
  30. position: absolute;
  31. width: 100%;
  32. height: 100%;
  33. overflow: auto;
  34. top: 0px;
  35. left: 0px;
  36. margin: 0px;
  37. }
  38. .panel-tab-list {
  39. @include hbox;
  40. @include noflex;
  41. background: #2b2d2d;
  42. }
  43. /* Disable CSS Custom Filters. */
  44. #filter-dock .panel-tab-list {
  45. display: none;
  46. }
  47. .panel-tab {
  48. border-radius: 4px 4px 0 0;
  49. padding: 5px 10px;
  50. border-top: 1px solid rgba(0,0,0,0);
  51. border-right: transparent;
  52. color: #aaa;
  53. text-shadow: 0 1px 0 #000;
  54. font-size: 12px;
  55. cursor: pointer;
  56. white-space: nowrap;
  57. &.active{
  58. @include northstar-bg;
  59. position: relative;
  60. z-index: 10;
  61. border-top: 1px solid #6a6a6a;
  62. border-bottom: 2px solid #494D4E;
  63. border-right: 1px solid #555;
  64. color: white;
  65. text-shadow: 0 -1px 0 #000;
  66. top: 1px;
  67. padding-top:4px;
  68. }
  69. }
  70. .panel-container {
  71. z-index: 0;
  72. @include vbox;
  73. @include flex;
  74. }
  75. .panel-column {
  76. @include flexbox;
  77. @include flex;
  78. position: relative;
  79. }
  80. .panel-column.horizontal,
  81. .panel-column.horizontal > .panel-column-items {
  82. @include hbox;
  83. }
  84. .panel-column.vertical,
  85. .panel-column.vertical > .panel-column-items {
  86. @include vbox;
  87. }
  88. .panel-column-header {
  89. @include noflex;
  90. font-weight: bold;
  91. color: white;
  92. padding: 8px;
  93. background: $baseColorDark;
  94. }
  95. .panel-column-title {
  96. font-weight: normal;
  97. text-shadow: 0 -1px 0 #000;
  98. }
  99. .panel-column-close-button {
  100. float: right;
  101. }
  102. .panel-column-items {
  103. @include flexbox;
  104. @include flex;
  105. }
  106. .panel-column.horizontal > .panel-column-items > .panel-separator {
  107. width: 1px;
  108. @include noflex;
  109. background: #1f1f1f;
  110. border-right: 1px solid rgba(0,0,0,0);
  111. border-left: 1px solid rgba(0,0,0,0);
  112. cursor: col-resize;
  113. }
  114. .panel-column.vertical > .panel-column-items > .panel-separator {
  115. height: 3px;
  116. @include noflex;
  117. background: #1f1f1f;
  118. cursor: row-resize;
  119. }
  120. /* trim down on needless resizing handles */
  121. .panel-separator:first-of-type,
  122. .panel-column-handle {
  123. display: none;
  124. }
  125. .light {
  126. section{
  127. background: white;
  128. }
  129. .panel-tab-list{
  130. background: #D4D7D7;
  131. border-bottom: 1px solid #c4c6c6;
  132. }
  133. .panel-tab,
  134. .panel-view.active{
  135. background: #DFE2E2;
  136. border-top: 1px solid #DFE2E2;
  137. }
  138. .panel-view.active {
  139. color: black;
  140. }
  141. .panel-tab{
  142. border: none;
  143. color: $baseColorDark;
  144. margin: -1px 0 0;
  145. text-shadow: 0 1px 0 white;
  146. background: none;
  147. border-right: none;
  148. &.active{
  149. background: #DFE2E2;
  150. border-top: 1px solid #c4c6c6;
  151. border-right: 1px solid #c4c6c6;
  152. border-left: 1px solid #c4c6c6;
  153. border-radius: 4px 4px 0 0;
  154. box-shadow: inset 0 1px 0 #FFF;
  155. &:first-child{
  156. border-left: none;
  157. };
  158. }
  159. }
  160. }
  161. #main-view .light .panel-separator {
  162. border: none;
  163. background: #bcbcbc !important;
  164. }
  165. #active-filters {
  166. overflow-x: hidden;
  167. }