_browser.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .browser {
  2. border-radius: $border-radius-lg;
  3. box-shadow: 0 0 0 1px $color-border-light;
  4. background: $color-white;
  5. }
  6. .browser-header {
  7. padding: .5rem 1rem;
  8. background: $color-gray linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba($color-text, .03));
  9. border-bottom: 1px solid $color-border-light;
  10. border-radius: calc(#{$border-radius} + 1px) calc(#{$border-radius} + 1px) 0 0;
  11. }
  12. .browser-dots {
  13. margin-right: 3rem;
  14. display: flex;
  15. }
  16. .browser-dot {
  17. margin-right: .5rem;
  18. width: .75rem;
  19. min-width: .75rem;
  20. height: .75rem;
  21. background: #d1d5db;
  22. border-radius: 50%;
  23. border: 1px solid rgba($color-text, .1);
  24. &:nth-child(1) { background: #FB6058; }
  25. &:nth-child(2) { background: #FCBE3B; }
  26. &:nth-child(3) { background: #2CCB4C; }
  27. }
  28. .browser-input {
  29. flex: 1;
  30. display: flex;
  31. align-items: center;
  32. justify-content: center;
  33. text-decoration: none;
  34. padding: .25rem;
  35. color: $color-muted;
  36. font-size: $font-size-h7;
  37. border-radius: $border-radius;
  38. line-height: 1rem;
  39. cursor: pointer;
  40. box-shadow: 0 0 0 1px rgba($color-text, .05), 0 1px 2px 0 rgba($color-text, 0.05);
  41. background-image: linear-gradient(to bottom, #ffffff, $color-gray);
  42. .icon {
  43. color: #37b24d;
  44. margin-right: .25rem;
  45. display: inline-block;
  46. }
  47. }
  48. .browser-noresize {
  49. .browser-image {
  50. img,
  51. picture {
  52. max-width: none;
  53. }
  54. }
  55. }