#ngGovUk - THIS LIBRARY HAS BEEN DEPRECATED
cjscommonplatform / nggovuk Goto Github PK
View Code? Open in Web Editor NEW****** DEPRECATED ********
License: Other
****** DEPRECATED ********
License: Other
#ngGovUk - THIS LIBRARY HAS BEEN DEPRECATED
We would need the following components and classes in the style guide to be able to include them in IDAM:
Thank you in advance.
The footer wrapping is broken at 991px and below.
Search for Inline checkboxes in this link
http://govuk-elements.herokuapp.com/form-elements/
Basically regular text in a < p > tag is smaller than text in a list '< ul > < li >'
Update documentation on github
Using horizontal forms like the screenshot, when validation errors have to be displayed for certain fields, the alignment is not correct with other that where no highlighted as the image below:
Also, regarding the error messages under the label for the form-horizontal (where label and input are aligned horizontally) I am able to get it using an
Also, in some forms the space between form-groups is more than the normal as the screenshot below. I know there is spacing feature for bootstrap, but is in the 4 alpha version (http://v4-alpha.getbootstrap.com/components/utilities/), is there anything similar to do so?
The div with class nav-side should be replaced with the aside tag inline with W3C standards.
Please refer:
Add documentation for the front page
Example input
tags in Checkboxes section are not closed at all, e.g.
<label for="checkbox-1" class="checkbox block-background" ng-class="{selected: isChecked1}">
<input id="checkbox-1" ng-model="isChecked1" value="waste-animal" type="checkbox">
Waste from animal carcasses
</label>
That produces an invalid HTML page.
Please add style classes which allow us to create
The screenshot has been provided by IdAM UX template IdAM_MVP_support_admin_v6_FINAL.pdf
When using horizontal forms where labels and inputs are aligned horizontally, the alignment of the label is to the top of the input. In the following screenshot, the "Address line 1" is aligned to the top but after tweaking the css for the "Address line 2" in is aligned to the center of the input. Is there any specific class to achieve that?
Thank you in advance
Update code preview plugin
gov.uk has a breadcrumb style (example from https://www.gov.uk/service-manual/making-software/apis.html)
and ngGovUk is using bootstrap breadcrumb
styles only:
The left border on the inset text block needs to extend above and below the text block equally.
At the moment it is larger below.
I found the style for stacked radio buttons and check buttons could me improved by setting the same width (from the one with biggest width) for all the buttons in the same group.
The class list in the docs example for Hidden text (progressive disclosure) reads:
<p class="main-summary summary" data-ng-click="isOpen = !isOpen">
note the ย which blocks the cascade of .summary styles to the arrow span within - when the class list is fixed the arrow is no longer positioned correctly (margin bottom declaration kicks in).
This also explains why the docs example does not show a pointer cursor.
The top level left nav items font should be GDS New Transport Bold 19px
I'd like to be able to controller the width of form fields, e.g. title should be ~30% of regular width.
This is something I'd like to have (but it's done in different type of form):
When I tried to apply this solution to the form (image 1) I'm working on at the moment I've got something like this:
Our current code:
<div class="form-group">
<label class="form-label" for="user-title-input">
Title <span class="text-muted">(optional)</span>
</label>
<input class="form-control" id="user-title-input" name="title" type="text"
data-ng-model="userIdam.title">
</div>
What I tried to add:
<div class="col-sm-3">...</div>
I also tried to use "col-sm-3" as a class of <input />
, but it didn't work as I'd expect:
Is there any way to control the width of form fields that I can use? If not, can you please provide a set of classes?
Thank you
These need to match the gov.uk style guide
http://govuk-elements.herokuapp.com/form-elements/#form-toggle-content
Footer font size is too large, this should be 16px.
reference https://www.gov.uk/
the docs fails to bootstrap on IE8 - as far as I'm aware the browser should be supported.
The gutter (spacing) between the left nav and content should be 30px.
plunker version being used is cpp-ui; this needs to be updated to use ng-gov-uk
make the nav in the docs app sticky
On pages with little content the footer is rendered un-naturally high in the page and with no white space.
I believe a content min-height + padding/margin top would improve the User Experience.
I currently need to create an Invalid Notification with a link next to it. However the current Notification and its padding is about three times bigger than the link element. It has to look like:
However, the current two elements have these paddings:
I am currently using icon-notification-invalid for the Notification and btn-plain for the link. Is there a way to align the two to look like they're supposed to or is it possible to create a new type of notification (maybe icon-notification-plain) that has a transparent background and looks like a link, but has the padding and spacing of a Notification element?
Another question that I need to raise after talking with one of the UX people is can we make the Notification element wrap around the text inside? I am currently using col-sm to restrict it and simulate the effect of the notification wrapping around the text inside, but I was told that this isn't the right way of doing it and that in the future, the notification frame should wrap around the text inside.
Thanks in advance.
Using the WAVE accessibility plugin for Chrome we get very low contrast errors for the .text-muted text colour (#DEE0E2 on white) and .badge colours (white text on #DEE0E2) - in fact without WAVE we can see they are barely legible. My thoughts on the project I'm working on is that we don't use text-muted at all and I'll be seeking User Research guidance on removing it anyway and also on not using default badges - seems to be a bootstrap only thing and not a gov.uk thing! But where it is used it will fail accessibility assessments.
I thought this would be best included in the global CSS rather than contained in our local CSS. But if an anchor tag does not have an href attribute, it is not treated as a link and there is the default cursor during a mouse hover/click. This is misleading with the UI pattern guide for error messages presented at the top of the pages.
Giving a blank href attribute currently works (href="") but this is something that can and is probably best defined in our CSS.
The combination of bootstrap 3 and ngGovUk breaks positioning on modal dialogs - overriding the bootstrap declaration:
.modal-dialog { left: 50%; }
with local css:
.modal-dialog { left: 0; }
fixes it
Get all files linting and validated
Hello,
I have not been able to find the right styling for the left hand menu during the registration process. There are some tables but if we need to use any of those, I would like the confirmation. Can you please advice whether it is necessary to be created or we need to use existing components with some tweaking?
Find the image below:
Thank you in advance.
Create a helper class that can be added to div that adds the correct vertical space between elements
eg:
not sure what the correct space should be ... trying to find the correct style guide!
update documentation for all components
Add https://badge.fury.io/ badges
I would like to get the same look as the following screenshots>
At the moment the difference between inactive and active (editable) inputs is not easy to recognise.
According to our UX team they should have opacity: 50%, but apparently they do not have it at all.
Can you please either let me know if we are doing it wrong or update CSS to display it more clearly.
This is example of our HTML code:
<div class="form-group" data-ng-class="{'cpp-form-error': viewuservm.form.firstName.$invalid}">
<label class="form-label" id="user-first-name" for="user-first-name-input">
First name
</label>
<div data-ng-if="viewuservm.form.firstName.$error.required">
<h6 class="cpp-form-error-message">First name is required</h6>
</div>
<input class="form-control" id="user-first-name-input" name="firstName" type="text"
data-ng-model="userIdam.firstName" data-ng-required="true">
</div>
Thanks
According to the following screenshot from the UX the links a the top and in the table should have the underline to none. I have been able to find in the end app.css file bundled these styles:
a {
color: #005ea5;
text-decoration: underline;
}
a {
color: #005ea5;
text-decoration: none;
}
The final result is always with the underline. Can you please advise to be able to accomplish the result as the image below?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.