| .navbar-container { | |
| position: fixed; | |
| height: 42px; | |
| width: 100%; | |
| background-color: #4267b2; | |
| border-bottom: 1px solid #29487d; | |
| z-index: 2; | |
| } | |
| .navbar-main { | |
| max-width: 1012px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin: 0 auto; | |
| } | |
| .navbar-left { | |
| display: flex; | |
| align-items: center; | |
| width: 500px; | |
| min-width: 200px; | |
| max-width: 400px; | |
| margin-right: 100px; | |
| .logo-icon { | |
| background-image: image_url("icon.png"); | |
| background-size: cover; | |
| background-position: center center; | |
| height: 24px; | |
| width: 24px; | |
| margin: 10px; | |
| } | |
| .search-container { | |
| width: 100%; | |
| position: relative; | |
| } | |
| .user-search { | |
| padding: 0 5px; | |
| border: 1px solid #3b5998; | |
| border-radius: 3px; | |
| height: 26px; | |
| font-size: 14px; | |
| width: 100%; | |
| box-sizing: border-box; | |
| &::placeholder { | |
| color: #90949c; | |
| font-weight: 100; | |
| } | |
| &:focus { | |
| outline: none; | |
| &::placeholder { | |
| color: #bec3c9; | |
| } | |
| } | |
| } | |
| .users-list { | |
| right: 0; | |
| left: 0; | |
| background-color: #fff; | |
| position: absolute; | |
| border: 1px solid #ccc; | |
| border-radius: 2px; | |
| box-shadow: 0 4px 6px 2px rgba(0, 0, 0, .10); | |
| } | |
| .users-list-item { | |
| display: block; | |
| padding: 8px; | |
| text-decoration: none; | |
| color: #1d2129; | |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", | |
| "Lucida Grande"; | |
| &:hover { | |
| background-color: #ecf0f7; | |
| } | |
| } | |
| } | |
| .navbar-right { | |
| display: flex; | |
| height: 42px; | |
| align-items: center; | |
| position: relative; | |
| .navbar-thumbnail { | |
| width: 24px; | |
| height: 24px; | |
| border: 1px solid rgba(0, 0, 0, .1); | |
| border-radius: 12px; | |
| margin-right: 8px; | |
| box-sizing: border-box; | |
| background-size: cover; | |
| background-origin: border-box; | |
| background-position: center center; | |
| image-rendering: auto; | |
| float: left; | |
| } | |
| a { | |
| padding: 4px; | |
| margin: 0 2px; | |
| display: flex; | |
| align-items: center; | |
| text-decoration: none; | |
| color: #FFF; | |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", | |
| "Lucida Grande"; | |
| font-size: 12px; | |
| font-weight: bold; | |
| div { | |
| height: 24px; | |
| width: 24px; | |
| color: #1d2129; | |
| background-size: 29px 1411px; | |
| background-image: image_url("icons.png"); | |
| &:hover { | |
| cursor: pointer; | |
| } | |
| } | |
| } | |
| .navbar-link { | |
| height: 24px; | |
| &:hover { | |
| background-color: #3d5e9e; | |
| border-radius: 2px; | |
| } | |
| } | |
| .navbar-friends { | |
| background-position: 0 -867px; | |
| &:hover { | |
| } | |
| &:active { | |
| background-position: 0 -892px; | |
| } | |
| } | |
| .navbar-messages { | |
| background-position: 0 -917px; | |
| &:hover { | |
| } | |
| &:active { | |
| background-position: 0 -942px; | |
| } | |
| } | |
| .navbar-notifications { | |
| background-position: 0 -767px; | |
| &:hover { | |
| } | |
| &:active { | |
| background-position: 0 -792px; | |
| } | |
| } | |
| .navbar-help { | |
| background-position: 0 -1017px; | |
| &:hover { | |
| } | |
| &:active { | |
| background-position: 0 -1042px; | |
| } | |
| } | |
| .dropdown-visible { | |
| display: block | |
| } | |
| button { | |
| border: 0; | |
| width: calc(100%); | |
| padding: 0 22px; | |
| font-size: 12px; | |
| line-height: 30px; | |
| color: #1D2129; | |
| cursor: pointer; | |
| &:hover { | |
| background-color: #4267B2; | |
| color: white; | |
| } | |
| } | |
| } | |
| .dd-background { | |
| display: none; | |
| position: fixed; | |
| top: 0; | |
| right: 0; | |
| bottom: 0; | |
| left: 0; | |
| } | |
| .navbar-settings { | |
| background-position: 0 -817px; | |
| &:hover { | |
| } | |
| &:active { | |
| background-position: 0 -842px; | |
| } | |
| } | |
| .dropdown-box { | |
| width: 100px; | |
| top: 43px; | |
| right: 10px; | |
| padding: 5px 0px; | |
| display: none; | |
| position: absolute; | |
| font-size: 14px; | |
| white-space: nowrap; | |
| justify-content: center; | |
| background-color: white; | |
| box-shadow: 0 3px 8px rgba(0, 0, 0, .3); | |
| border: 1px solid rgba(0, 0, 0, .25); | |
| border-radius: 3px; | |
| z-index: 5; | |
| } | |