_browser.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // Browser
  3. //
  4. .browser {
  5. border-radius: var(--#{$prefix}border-radius-lg);
  6. box-shadow: 0 0 0 1px var(--#{$prefix}border-color);
  7. background: var(--#{$prefix}bg-surface-secondary);
  8. overflow: hidden;
  9. }
  10. .browser-header {
  11. padding: .25rem 1rem;
  12. background: var(--#{$prefix}border-color-light) linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .03));
  13. border-bottom: 1px solid var(--#{$prefix}border-color);
  14. border-radius: calc(var(--#{$prefix}border-radius-lg) - 1px) calc(var(--#{$prefix}border-radius-lg) - 1px) 0 0;
  15. }
  16. .browser-dots {
  17. margin-right: 3rem;
  18. display: flex;
  19. }
  20. .browser-dots-colored {
  21. .browser-dot {
  22. &:nth-child(1) {
  23. background: #fb6058;
  24. }
  25. &:nth-child(2) {
  26. background: #fcbe3b;
  27. }
  28. &:nth-child(3) {
  29. background: #2ccb4c;
  30. }
  31. }
  32. }
  33. .browser-dot {
  34. margin-right: .5rem;
  35. width: .75rem;
  36. min-width: .75rem;
  37. height: .75rem;
  38. background: var(--#{$prefix}border-color);
  39. border-radius: 50%;
  40. border: 1px solid var(--#{$prefix}border-color-dark);
  41. }
  42. .browser-input {
  43. flex: 1;
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. text-decoration: none;
  48. padding: .25rem;
  49. color: var(--#{$prefix}muted);
  50. font-size: var(--#{$prefix}font-size-h5);
  51. border-radius: var(--#{$prefix}border-radius);
  52. line-height: 1;
  53. cursor: pointer;
  54. box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  55. background-image: linear-gradient(to bottom, var(--#{$prefix}bg-surface), var(--#{$prefix}bg-surface-secondary));
  56. &:hover {
  57. text-decoration: none;
  58. }
  59. }