123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353 |
- /**
- * ===========================
- * **************** Agenda ***
- *
- * 1. Basic
- * 2. Fonts
- * 3. Header
- * 4. Separator
- * 5. Software key
- * 6. Toast
- * 7. Lists
- * 8. Options menu
- * 9. Button
- * 10. Input
- * 11. Table
- * ===========================
- */
- /* ============== Basic ============== */
- h1, h2, h3, h4, h5, ul, p {
- margin: 0;
- padding: 0;
- }
- .statusbar-placeholder {
- background-color: #320374;
- height: 26px;
- }
- #kui-app {
- width: 100%;
- height: 100%;
- font-family: "Open Sans";
- }
- .content-area {
- overflow: hidden;
- position: relative;
- }
- .overlay {
- width: 100%;
- height: 100%;
- background: rgba(0,0,0, .7);
- position: absolute;
- display: none;
- }
- /* ============== Fonts ============== */
- .kui-h1 {
- font-size: 17px;
- font-weight: 300;
- }
- .kui-h2 {
- font-size: 17px;
- font-weight: 600;
- }
- .kui-h3,
- .kui-h4,
- .kui-sec {
- font-size: 14px;
- font-weight: 400;
- }
- .kui-h5 {
- font-size: 14px;
- font-weight: 600;
- }
- .kui-pri,
- .kui-text,
- .kui-btn,
- .kui-link {
- font-size: 17px;
- font-weight: 400;
- }
- .kui-thi {
- font-size: 12px;
- font-weight: 400;
- }
- .kui-key-mid {
- font-size: 16px;
- font-weight: 700;
- text-align: center;
- text-transform: uppercase;
- }
- /* ============== Header ============== */
- .kui-header {
- height: 28px;
- line-height: 28px;
- background-color: #320374;
- color: #fff;
- text-align: center;
- }
- /* ============== Separator ============== */
- .kui-separator {
- color: #6a6a6a;
- height: 28px;
- background-color: #e6e6e6;
- line-height: 28px;
- padding-left: 10px;
- }
- /* ============== Software key ============== */
- .kui-software-key {
- height: 30px;
- background-color: #cccccc;
- display: flex;
- align-items: center;
- padding: 0 5px;
- color: #323232;
- }
- .kui-software-key h5 {
- width: 33.3333333333%;
- }
- .kui-software-key h5:first-child {
- text-align: left;
- }
- .kui-software-key h5:last-child {
- text-align: right;
- }
- /* ============== Toast ============== */
- .kui-toast {
- height: 36px;
- line-height: 36px;
- color: #fff;
- text-align: center;
- background-color: #323232;
- }
- .kui-toast .kui-pri {
- margin: 0;
- }
- .kui-toast-shadow {
- height: 6px;
- background-image: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
- }
- /* ============== Lists ============== */
- .kui-list {
- list-style: none;
- }
- .kui-list li {
- background-color: #fff;
- height: 60px;
- display: flex;
- align-items: center;
- padding: 0 10px;
- }
- .kui-list li .kui-list-img {
- width: 32px;
- height: 32px;
- border-radius: 10px;
- background-color: #2f3235;
- margin-right: 10px;
- }
- .kui-list-cont p {
- margin: 4px 0;
- }
- .kui-list-cont .kui-pri {
- color: #323232;
- }
- .kui-list-cont .kui-sec {
- color: #6a6a6a;
- }
- .kui-list li:focus {
- background-color: #873eff;
- outline: 0;
- }
- .kui-list li:focus .kui-pri,
- .kui-list li:focus .kui-sec {
- color: #fff;
- }
- /* ============== Options menu ============== */
- .kui-option-menu {
- width: 100%;
- position: absolute;
- overflow: hidden;
- bottom: 0;
- display: none;
- }
- .kui-option-menu .kui-option-title {
- margin: 0;
- color: #323232;
- text-align: center;
- background-color: #d8d8d8;
- height: 28px;
- line-height: 28px;
- }
- .kui-options {
- list-style: none;
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
- .kui-options li {
- height: 50px;
- line-height: 50px;
- padding-left: 10px;
- background-color: #fff;
- }
- .kui-options li:focus {
- outline: 0;
- color: #fff;
- background-color: #873eff;
- }
- /* ============== Button ============== */
- button.kui-btn {
- width: 220px;
- height: 36px;
- border-radius: 2px;
- background: #ccc;
- text-align: center;
- color: #323232;
- border: 0;
- display: block;
- margin: auto;
- }
- button.kui-btn:focus {
- outline: 0;
- color: #fff;
- background-color: #873eff;
- }
- /* ============== Input ============== */
- .kui-input-holder {
- height: 76px;
- padding: 10px;
- background-color: #fff;
- }
- .kui-input-holder.kui-focus-within {
- background-color: #873eff;
- outline: 0;
- }
- .kui-input-label {
- color: #323232;
- display: block;
- padding-bottom: 10px;
- }
- .kui-input-holder.kui-focus-within .kui-input-label {
- color: #fff;
- }
- .kui-input {
- height: 36px;
- width: 100%;
- border-radius: 2px;
- padding-left: 10px;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- border: 1px solid #aaaaaa;
- }
- .kui-input ::-moz-placeholder,
- .kui-input :-moz-placeholder {
- color: #323232;
- }
- .kui-input:focus {
- outline: 0;
- }
- /* ============== Table ============== */
- .kui-table,
- .kui-table th,
- .kui-table td {
- border: 1px solid #320374;
- border-collapse: collapse;
- }
- .kui-table {
- width: 100%;
- }
- .kui-table thead {
- background-color: #320374;
- color: #fff;
- }
- .kui-table tr:focus {
- outline: 0;
- background-color: #873eff;
- color: #fff;
- }
- .kui-table td {
- width: 50%;
- padding: 4px 5px;
- }
- .kui-table td:last-child {
- text-align: right;
- }
- /* KaiOS portrait devices (240x320) */
- @media only screen and (orientation : portrait) {
- .content-area {
- height: 236px;
- }
- .kui-option-menu {
- height: 178px;
- }
- .kui-options {
- height: 150px;
- }
- }
- /* KaiOS landscape devices (320x240) */
- @media screen and (orientation: landscape) {
- .content-area {
- height: 156px;
- }
- .kui-option-menu {
- height: 128px;
- }
- .kui-options {
- height: 100px;
- }
- }
- /*** The End ******/
|