Overview

Paga allows you to customize the look and feel of it's pages, for display on your app. This section requires some knowledge of CSS.

Please see the following articles for an introduction to CSS

Default Paga Screenshots

You can change background colors, button colors and states, as well as include a custom logo etc. See the examples below

 

The full list of customizations are listed below.

Open the default Paga views, in the Google chrome browser, Open up the Chrome developer tools, and edit the styles there for a live preview of your changes. See the Editing Styles and the DOM article for more information.

Create CSS File

Create a css file with your client_id + "-style.css" as the file name.

Styles can be display name specific. in that case the file naming convention is client_id + display_name + "-style.css"

Default:		xxxxxxx-xxxxxxx-xxxxxxx-style.css
Display Names:	xxxxxxx-xxxxxxx-xxxxxxx-display_name-style.css

 

Logo

To have your custom logo displayed at the top of the pages, send a url that points to your logo to the Paga Operations Support team and requesting the change.

Ensure that your image size is appropriate for your main platform. For mobile applications, smaller images are preferable.

 

Hide Logo

You can also choose to remove your logo completely. This is useful in mobile applications to save on screen space, or in cases when the web pages are being loaded in a Web view, and the app already has a logo.

To hide the logo include the following in your css file.

.client-logo {
	display: none;
}

Bootstrap 3 provides the base classes for customization, all valid bootstrap 3 tags can be safely overridden if they apply.

Body & Headings

body {
	background-color: #xxxxxx;
}

h1, h2, h3, h4, h5, h6, p, i, ul {
	color: #xxxxxx;
}

Links

a {
	color: #F1630F;
}
a:hover, a:focus {
	color: #F1630F;
}

Form Inputs

.input-group-lg>.form-control, .input-group-lg>.input-group-addon,
	.input-group-lg>.input-group-btn>.btn {
	border-radius: 0;
	border: none;
}

.input-group-addon {
	background: #F1630F;
	color: #fff;
}
 
input {
	border-radius: 0;
	color: #404040;
}

input[type=text], input[type=password], input[type=email], input[type=tel]
	{
	padding: 15px;
	margin-bottom: 16px;
	height: auto;
	border-radius: 0;
}
 
input.form-control {
	color: #404040;
}
 
select.form-control {
	border-radius: 0;
}
 
.form-control:focus {
	border-color: #E9B166;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px
		rgba(233, 137, 102, .6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px
		rgba(233, 137, 102, .6);
}

Text

.text-gray {
	color: #C5C5C5;
}
.text-danger {
	color: #F7931E;
}
 
label {
	color: #C5C5C5;
}

 

Buttons

.btn {
	border-radius: 0;
	background: transparent;
	border: 2px solid #c5c5c5;
	color: #c5c5c5;
}

.btn:hover, .btn:focus {
	color: #fff;
}

.btn-primary, #selected-btn {
	border-color: #F7931E;
	color: #fff;
	background: transparent;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
	.btn-primary.active, .open .dropdown-toggle.btn-primary {
	background: transparent;
}

.btn-secondary:active, .btn-secondary:hover {
	background: transparent;
}
 
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary,
	.btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover,
	.btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus,
	.btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active,
	.btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active
	{
	background: transparent;
	color: #999;
	opacity: 0.3;
}
 
.button-subtext {
	color: #bbb;
}

Lists

.list-group {
	color: #C5C5C5;
}
 
.list-group-item {
	background: transparent;
	border-color: #c5c5c5;
}


ul.mobile-menu li a, ul.mobile-menu li:last-child a {
	border-color: #949494;
}
 
ul.mobile-menu li:first-child a {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

ul.mobile-menu li:last-child a {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

ul.mobile-menu li a:hover, ul.mobile-menu li a:active {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
}

Alerts

.alert-warning, .alert-danger {
	background-color: transparent;
	border-radius: 0;
	border-color: #F7931E;
}

Transaction Styles

Custom styles for the transaction history page.

.recent-transaction .date .day {
	color: #F7931E;
}
.recent-transaction .action .debit {
	color: #FDAEAE;
}
.recent-transaction .action .credit {
	color: #A5D883;
}

Miscellaneous

span.divider-text {
	color: #C5C5C5;
	background-color: #222;
}

.security-image {
	border-color: #F1630F;
}

#agentmap {
	height: 25em;
}

.security-image-register {
	border-color: #F1630F;
}

.panel-default {
	border-color: #6B6B6B;
}

.panel {
	background: rgba(255, 255, 255, 0.1);
}
 
hr {
	border-top-color: #888;
}

.primary-color {
	color: #F7931E;
}

div.modal-content {
	background-color: #3A3A3A;
	border: 2px solid #999;
	font-size: 13px;
}

 

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues