{"slug": "app-css", "title": "App.css", "summary": "The article titled \"App.css\" contains CSS code that defines the visual styling for a chat application interface. It includes styles for chat lists, message containers, buttons, input fields, and user avatars, using a purple and gray color scheme with specific fonts and rounded borders. The code also customizes elements like the active chat card, settings panel, and message feed layout.", "body_md": "App.css\n\n      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n      \nLearn more about bidirectional Unicode characters\n\n \n    Show hidden characters\n\n/* CHAT STYLES */\n\n* {\n\n    font-family: Avenir, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,\n\n      Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,\n\n      Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;\n\n    letter-spacing: 0.5px;\n\n  }\n\n \n\n  .ce-chat-list {\n\n    background-color: rgb(240, 240, 240) !important;\n\n  }\n\n \n\n  .ce-chats-container {\n\n    background-color: rgb(240, 240, 240) !important;\n\n  }\n\n \n\n  .ce-active-chat-card {\n\n    background-color: #cabcdc !important;\n\n    border: 4px solid #cabcdc !important;\n\n    border-radius: 0px !important;\n\n  }\n\n \n\n  .ce-chat-subtitle-text {\n\n    color: #595959 !important;\n\n  }\n\n \n\n  .ce-chat-form-container {\n\n    padding-bottom: 20px !important;\n\n  }\n\n \n\n  .ce-text-input {\n\n    border-radius: 6px !important;\n\n    border: 1px solid #3b2a50 !important;\n\n  }\n\n \n\n  .ce-primary-button {\n\n    border-radius: 6px !important;\n\n    background-color: #7554a0 !important;\n\n    position: relative;\n\n    bottom: 1px;\n\n  }\n\n \n\n  .ce-danger-button {\n\n    background-color: white !important;\n\n    border-radius: 22px !important;\n\n  }\n\n \n\n  .ce-settings {\n\n    background-color: rgb(240, 240, 240) !important;\n\n  }\n\n \n\n  .ce-autocomplete-input {\n\n    border-radius: 6px !important;\n\n    border: 1px solid #3b2a50 !important;\n\n  }\n\n \n\n  .ce-autocomplete-options {\n\n    border-radius: 6px !important;\n\n    border: 1px solid #3b2a50 !important;\n\n    background-color: white !important;\n\n  }\n\n \n\n  .ce-chat-settings-container {\n\n    padding-top: 12px !important;\n\n  }\n\n \n\n  .ce-chat-avatars-row {\n\n    display: none !important;\n\n  }\n\n \n\n  /* CUSTOM FEED */\n\n \n\n  .chat-feed {\n\n    height: 100%;\n\n    width: 100%;\n\n    overflow: scroll;\n\n    background-color: rgb(240, 240, 240);\n\n  }\n\n \n\n  .chat-title-container {\n\n    width: calc(100% - 36px);\n\n    padding: 18px;\n\n    text-align: center;\n\n  }\n\n \n\n  .chat-title {\n\n    color: #7554a0;\n\n    font-weight: 800;\n\n    font-size: 24px;\n\n  }\n\n \n\n  .chat-subtitle {\n\n    color: #7554a0;\n\n    font-weight: 600;\n\n    font-size: 12px;\n\n    padding-top: 4px;\n\n  }\n\n \n\n  .message-row {\n\n    float: left;\n\n    width: 100%;\n\n    display: flex;\n\n    margin-left: 18px;\n\n  }\n\n \n\n  .message-block {\n\n    width: 100%;\n\n    display: inline-block;\n\n  }\n\n \n\n  .message-avatar {\n\n    width: 44px;\n\n    height: 44px;\n\n    border-radius: 22px;\n\n    color: white;\n\n    text-align: center;\n\n    background-repeat: no-repeat;\n\n    background-position: center;\n\n    background-size: 48px;\n\n  }\n\n \n\n  .message {\n\n    padding: 12px;\n\n    font-size: 16px;\n\n    border-radius: 6px;\n\n    max-width: 60%;\n\n  }\n\n \n\n  .message-image {\n\n    margin-right: 18px;\n\n    object-fit: cover;\n\n    border-radius: 6px;\n\n    height: 30vw;\n\n    /* width: 30vw; */\n\n    max-height: 200px;\n\n    max-width: 200px;\n\n    min-height: 100px;\n\n    min-width: 100px;\n\n  }\n\n \n\n  .read-receipts {\n\n    position: relative;\n\n    bottom: 6px;\n\n  }\n\n \n\n  .read-receipt {\n\n    width: 13px;\n\n    height: 13px;\n\n    border-radius: 13px;\n\n    margin: 1.5px;\n\n    background-repeat: no-repeat;\n\n    background-position: center;\n\n    background-size: 14px;\n\n  }\n\n \n\n  .message-form-container {\n\n    position: absolute;\n\n    bottom: 0px;\n\n    width: calc(100% - 36px);\n\n    padding: 18px;\n\n    background-color: rgb(240, 240, 240);\n\n  }\n\n \n\n  .message-form {\n\n    overflow: hidden;\n\n    border-radius: 6px;\n\n    border: 1px solid #3b2a50;\n\n    background-color: white;\n\n  }\n\n \n\n  .message-input {\n\n    height: 40px;\n\n    width: calc(100% - 132px);\n\n    background-color: white;\n\n    border: 1px solid white;\n\n    padding: 0px 18px;\n\n    outline: none;\n\n    font-size: 15px;\n\n  }\n\n \n\n  .image-button {\n\n    cursor: pointer;\n\n    padding: 0px 12px;\n\n    height: 100%;\n\n  }\n\n \n\n  .send-button {\n\n    height: 42px;\n\n    background-color: white;\n\n    border: 1px solid white;\n\n    padding: 0px 18px;\n\n    cursor: pointer;\n\n  }\n\n \n\n  .send-icon {\n\n    top: 1px;\n\n    position: relative;\n\n    transform: rotate(-90deg);\n\n  }\n\n \n\n  .picture-icon {\n\n    top: 1px;\n\n    position: relative;\n\n    font-size: 14px;\n\n  }\n\n \n\n  /* FORM STYLES */\n\n  *,\n\n  *::after,\n\n  *::before {\n\n    margin: 0;\n\n    padding: 0;\n\n    box-sizing: border-box;\n\n    font-size: 62,5%;\n\n  }\n\n \n\n  .wrapper {\n\n    height: 100vh;\n\n      width: 100%;\n\n    background: rgb(117,84,160);\n\n    background: linear-gradient(90deg, rgba(117,84,160,1) 7%, rgba(117,84,160,1) 17%, rgba(106,95,168,1) 29%, rgba(99,103,174,1) 44%, rgba(87,116,184,1) 66%, rgba(70,135,198,1) 83%, rgba(44,163,219,1) 96%, rgba(22,188,237,1) 100%, rgba(0,212,255,1) 100%);  \n\n    display: flex;\n\n    justify-content: center;\n\n    align-items: center;\n\n  }\n\n \n\n  .input {\n\n    color: #333;\n\n    font-size: 1.2rem;\n\n      margin: 0 auto;\n\n    padding: 1.5rem 2rem;\n\n    border-radius: 0.2rem;\n\n    background-color: rgb(255, 255, 255);\n\n    border: none;\n\n    width: 90%;\n\n    display: block;\n\n    border-bottom: 0.3rem solid transparent;\n\n    transition: all 0.3s;\n\n    outline: none;\n\n    margin-bottom: 25px;\n\n  }\n\n \n\n  .form {\n\n    width: 400px;\n\n  }\n\n \n\n  .title {\n\n    text-align: center;\n\n    color: white;\n\n    margin-bottom: 30px;\n\n    width: 100%;\n\n    font-size: 2.3em;;\n\n  }\n\n \n\n  .button {\n\n    border-radius: 4px;\n\n    border: none;\n\n    background-color: white;\n\n    color: black;\n\n    text-align: center;\n\n    text-transform: uppercase;\n\n    font-size: 22px;\n\n    padding: 20px;\n\n    width: 200px;\n\n    transition: all 0.4s;\n\n    cursor: pointer;\n\n    margin: 5px;\n\n    width: 90%;\n\n  }\n\n  .button span {\n\n    cursor: pointer;\n\n    display: inline-block;\n\n    position: relative;\n\n    transition: 0.4s;\n\n  }\n\n  .button span:after {\n\n    content: '\\00bb';\n\n    position: absolute;\n\n    opacity: 0;\n\n    top: 0;\n\n    right: -20px;\n\n    transition: 0.5s;\n\n  }\n\n  .button:hover span {\n\n    padding-right: 25px;\n\n  }\n\n  .button:hover span:after {\n\n    opacity: 1;\n\n    right: 0;\n\n  }\n\n \n\n  .error {\n\n    color: white;\n\n    text-align: center;\n\n    margin-top: 20px;\n\n  }", "url": "https://wpnews.pro/news/app-css", "canonical_source": "https://gist.github.com/adrianhajdin/c3a3195dd091359f3402a572961abb98", "published_at": "2021-01-29 11:43:37+00:00", "updated_at": "2026-05-22 16:07:54.854916+00:00", "lang": "en", "topics": ["developer-tools"], "entities": [], "alternates": {"html": "https://wpnews.pro/news/app-css", "markdown": "https://wpnews.pro/news/app-css.md", "text": "https://wpnews.pro/news/app-css.txt", "jsonld": "https://wpnews.pro/news/app-css.jsonld"}}