Giter VIP home page Giter VIP logo

pxweb-scb-style's Introduction

PxWeb SCB style

This is SCBs own alternative UI to use with default PxWeb.

The goal for this repo is to provide a setup that is easy to customize and simpler to maintain.

The original SASS code for PxWeb

Read about

About the repo

Goals

  • Make it easy to customize without deep knowledge of the HTML and CSS of PxWeb
  • Shrink the number of files
  • Shrink the total size of CSS
  • Make it possible to run PX Web with only system fonts
  • Offer a lightweight default font
  • Create a more maintainable CSS build
  • Make it easier to co-op with design

Stats

The alternative SCB style

50kb of CSS and 50kb of fonts

Default PxWeb

220kb of CSS and 120kb of fonts

Statistical database

310kb of CSS and 150kb of fonts

The number of request has been reduced from 25-28 to a meager 4-8 (Depending on font load).

CDN

This is not an official CDN but we use it to ease testing and development until we move the code to SCBs organization.

The latest build of this repo is hosted on Netlify

Official PX Web Repo

The official PX Web Repo

pxweb-scb-style's People

Contributors

likp avatar mikaelnordberg avatar privatemonkey avatar scblovj avatar

Watchers

 avatar  avatar

pxweb-scb-style's Issues

Choose SASS build package

We're using Dart SASS for our build but have node-sass installed. Node-SASS is a lot faster but does it have minify or compact?

Fix weak hover/focus

Some places focus is indicated just by color change. That is not sufficiently accessible

Mobile browsers hides options for multi selects

Chrome/Safari shows only a field one line tall.
Text is either option value (if only one selected) or "x selected".
On click will show system dialog for multi select.

Firefox shows all options.
On click will show system dialog for multi select

Since we already show number of selected options, the mobile experience is that this is shown twice.

Todo

  • Make sure padding is only implemented in "Select variable" select boxes
  • Replace select box options with spans in prototype. Hide options but make select box clickable
  • Do iPads and other tablets use system dialog for multi select?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.