Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

197 строки
4.5 KiB

  1. .timezone_picker_modal_container {
  2. user-select: none;
  3. cursor: default;
  4. position: absolute;
  5. z-index: 3;
  6. background-color: #fff;
  7. border-radius: 2px;
  8. top: 0;
  9. width: 100%;
  10. box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
  11. -moz-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
  12. -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
  13. }
  14. .timezone_picker_modal_container-enter {
  15. right: -100%;
  16. opacity: 0.5;
  17. }
  18. .timezone_picker_modal_container-enter.timezone_picker_modal_container-enter-active {
  19. right: 0;
  20. opacity: 1;
  21. transition: right 100ms ease-out, opacity 100ms ease-out;
  22. -ms-transition: right 100ms ease-out, opacity 100ms ease-out;
  23. -moz-transition: right 100ms ease-out, opacity 100ms ease-out;
  24. -o-transition: right 100ms ease-out, opacity 100ms ease-out;
  25. -webkit-transition: right 100ms ease-out, opacity 100ms ease-out;
  26. }
  27. .timezone_picker_modal_container-exit {
  28. right: 0;
  29. opacity: 1;
  30. }
  31. .timezone_picker_modal_container-exit.timezone_picker_modal_container-exit-active {
  32. right: -100%;
  33. opacity: 0.5;
  34. transition: right 100ms ease-in, opacity 100ms ease-in;
  35. -ms-transition: right 100ms ease-in, opacity 100ms ease-in;
  36. -moz-transition: right 100ms ease-in, opacity 100ms ease-in;
  37. -o-transition: right 100ms ease-in, opacity 100ms ease-in;
  38. -webkit-transition: right 100ms ease-in, opacity 100ms ease-in;
  39. }
  40. .timezone_picker_modal_header {
  41. font-size: 1em;
  42. position: relative;
  43. display: flex;
  44. flex-direction: row;
  45. justify-content: center;
  46. align-items: center;
  47. }
  48. .timezone_picker_header_title {
  49. flex: 1;
  50. text-align: left;
  51. }
  52. .timezone_picker_modal_header span.icon {
  53. height: 25px;
  54. width: 50px;
  55. }
  56. .timezone_picker_modal_header svg {
  57. width: 25px;
  58. height: 25px;
  59. fill: #fff;
  60. cursor: pointer;
  61. }
  62. .timezone_picker_container {
  63. min-width: 260px;
  64. min-height: 300px;
  65. display: flex;
  66. margin: 0 20px 20px;
  67. position: relative;
  68. }
  69. .timezone_picker_search {
  70. padding: 0 10px;
  71. position: relative;
  72. width: 100%;
  73. }
  74. .timezone_picker_search input {
  75. box-sizing: border-box;
  76. margin-bottom: 1%;
  77. padding: 10px 10px;
  78. width: 100%;
  79. height: 100%;
  80. font-size: 0.9rem;
  81. line-height: 2;
  82. border: none;
  83. border-bottom: 1px solid #adb5bd;
  84. outline: none;
  85. border-radius: 2px;
  86. transition: border .2s;
  87. }
  88. .timezone_picker_search input::-webkit-input-placeholder,
  89. .timezone_picker_search input::-moz-input-placeholder,
  90. .timezone_picker_search input:-ms-input-placeholder,
  91. .timezone_picker_search input:-moz-input-placeholder {
  92. color: #c6cace;
  93. }
  94. .timezone_picker_search .bootstrap-typeahead-input-main {
  95. color: #757575;
  96. }
  97. .timezone_picker_search input:focus {
  98. color: #4b4b4b;
  99. border-bottom: 1px solid #3498db;
  100. }
  101. /**
  102. * The react-bootstrap-typeahead library sort of assumes bootstrap is already in use for styling
  103. * so it refers to some bootstrap classes. We don't need to use bootstrap just for a few classes so
  104. * the relevant styles have been copied here
  105. */
  106. .clearfix:before,
  107. .clearfix:after {
  108. display: table;
  109. content: " ";
  110. }
  111. .clearfix:after {
  112. clear: both;
  113. }
  114. .open > .dropdown-menu {
  115. display: block;
  116. }
  117. .open > a {
  118. outline: 0;
  119. }
  120. .dropdown-menu {
  121. position: absolute;
  122. top: 100%;
  123. left: 0;
  124. z-index: 1000;
  125. display: none;
  126. float: left;
  127. min-width: 160px;
  128. padding: 5px 0;
  129. margin: 2px 0 0;
  130. font-size: 14px;
  131. text-align: left;
  132. list-style: none;
  133. background-color: #fff;
  134. -webkit-background-clip: padding-box;
  135. background-clip: padding-box;
  136. border: 1px solid #ccc;
  137. border: 1px solid rgba(0, 0, 0, .15);
  138. border-radius: 4px;
  139. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  140. box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  141. }
  142. .dropdown-menu > li > a {
  143. display: block;
  144. padding: 3px 20px;
  145. clear: both;
  146. font-weight: normal;
  147. line-height: 1.42857143;
  148. color: #333;
  149. white-space: nowrap;
  150. }
  151. .dropdown-menu > li > a:hover,
  152. .dropdown-menu > li > a:focus {
  153. color: #262626;
  154. text-decoration: none;
  155. background-color: #f5f5f5;
  156. }
  157. .dropdown-menu > .active > a,
  158. .dropdown-menu > .active > a:hover,
  159. .dropdown-menu > .active > a:focus {
  160. color: #fff;
  161. text-decoration: none;
  162. background-color: #337ab7;
  163. outline: 0;
  164. }
  165. .dropdown-menu > .disabled > a,
  166. .dropdown-menu > .disabled > a:hover,
  167. .dropdown-menu > .disabled > a:focus {
  168. color: #777;
  169. }
  170. .dropdown-menu > .disabled > a:hover,
  171. .dropdown-menu > .disabled > a:focus {
  172. text-decoration: none;
  173. cursor: not-allowed;
  174. background-color: transparent;
  175. background-image: none;
  176. filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  177. }