dmpopidor / app / assets / stylesheets / blocks /
..
.gitkeep Update asset structure with webpacker gem 5 years ago
README.md Update asset structure with webpacker gem 5 years ago
_accessibility.scss Add an outline to table cell that is in focus. 4 years ago
_alerts.scss Update asset structure with webpacker gem 5 years ago
_buttons.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_combobox.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_datepicker.scss Updated css to try to help with datepicker next/prev buttons 5 years ago
_dropdowns.scss Update asset structure with webpacker gem 5 years ago
_font_awesomes.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_footers.scss Update asset structure with webpacker gem 5 years ago
_help_blocks.scss Update asset structure with webpacker gem 5 years ago
_html.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_input_groups.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_inverse_dropdowns.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_labels.scss Update asset structure with webpacker gem 5 years ago
_lists.scss Update asset structure with webpacker gem 5 years ago
_logos.scss Update asset structure with webpacker gem 5 years ago
_modal_dialogs.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_modal_permissions.scss Update asset structure with webpacker gem 5 years ago
_navbars.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_navs.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_new_plans_form.scss Update asset structure with webpacker gem 5 years ago
_new_window_popup.scss changed overflow setting for the guidance area (#2400) 4 years ago
_notification_areas.scss Update asset structure with webpacker gem 5 years ago
_org_links.scss Update asset structure with webpacker gem 5 years ago
_panels.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_profile_form.scss Update asset structure with webpacker gem 5 years ago
_progress.scss Update asset structure with webpacker gem 5 years ago
_project_details.scss Save button sticks to the bottom of the page when looking at a question 3 years ago
_question_container.scss IssueID #1209 - Display Themed Guidance For Organisation on "Customised Template" Preview. 5 years ago
_rda.scss Update asset structure with webpacker gem 5 years ago
_readonly_textarea.scss changed overflow setting for the guidance area (#2400) 4 years ago
_statuses.scss Update asset structure with webpacker gem 5 years ago
_tables.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_template_filters.scss refactoring css variables to be more descriptive when re-branding the site 5 years ago
_tinymce_content.scss Fix for making links have a higher color contrast to other text in blocks. (#2192) 4 years ago
_tooltips.scss Update asset structure with webpacker gem 5 years ago
_usage.sccs issue#2375 allow change of delimiter for csv download (#2403) 4 years ago
README.md

CSS Blocks

Blocks refer to reusable units within the CSS files. Where practicable, we should always try to define a general block or UX concept, rather than styling indivudual elements.

Example:

/* BAD */

/*<form id="new_user_form">...*/
#new_user_form {
  font-size: 1.2rem;
  margin-left: 14px;
  margin-right: 14px;
  border: thin solid silver;
}

/* BETTER */

/*<form class="bordered-form">...*/
.bordered-form {
  font-size: 1.2rem;
  margin-left: 14px;
  margin-right: 14px;
  border: thin solid silver;
}

/* BEST */

/*<form class="larger margined bordered">...*/
.larger {
  font-size: 1.2rem;
}
.margined {
  margin-left: 14px;
  margin-right: 14px;
}
.bordered {
  border: thin solid silver;
}