You are here

apigee_edge.components.css in Apigee Edge 8

/*
 * Copyright 2018 Google Inc.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License version 2 as published by the
 * Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
 * License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc., 51
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

/* Forms */
.items--inline :not(.form-checkboxes) .item-property,
.items--inline :not(.form-checkboxes) .form-item {
  margin-bottom: 1rem;
  display: table;
  border-collapse: collapse;
  width: 100%;
}

.items--inline .item-property label,
.items--inline .form-item label {
  margin-bottom: 0;
  vertical-align: middle;
  font-weight: bold;
  word-break: break-all;
  padding-right: 1rem;
  display: table-cell;
  width: 160px;
  min-width: 160px;
}

.items--inline .form-item label + *,
.items--inline .item-property label + *:not(.wrapper--status) {
  width: 100%;
}

.apigee-edge--form .form-item label.form-required::after {
  vertical-align: super;
}

/* This fixes the ui datepicker position when displayed in a modal. */
.ui-datepicker {
  z-index: 1500 !important;
}

@media screen and (min-width: 768px) {
  .apigee-edge--form .form-checkboxes .form-item {
    width: 49%;
    display: inline-block;
  }
}

/* visually-hidden wrapper display problem. */
.apigee-edge--form fieldset legend {
  margin-bottom: 0;
  border-bottom: none;
}

.apigee-edge--form .fieldset-legend {
  font-size: 120%;
}

.apigee-edge--form small .machine-name-value + .admin-link::before {
  content: ' ';
}

.form-wrapper.form-required::after {
  display: none;
}

.form-wrapper.form-required .panel-title::after,
.form-wrapper.form-required .fieldset-legend::after {
  content: '';
  vertical-align: super;
  display: inline-block;
  background-image: url(../images/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
  width: 6px;
  height: 6px;
  margin: 0 0.3em;
}

#edit-details-displayname-machine-name-suffix {
  display: none;
}

File

css/apigee_edge.components.css
View source
  1. /*
  2. * Copyright 2018 Google Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU General Public License version 2 as published by the
  6. * Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  11. * License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License along
  14. * with this program; if not, write to the Free Software Foundation, Inc., 51
  15. * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. */
  17. /* Forms */
  18. .items--inline :not(.form-checkboxes) .item-property,
  19. .items--inline :not(.form-checkboxes) .form-item {
  20. margin-bottom: 1rem;
  21. display: table;
  22. border-collapse: collapse;
  23. width: 100%;
  24. }
  25. .items--inline .item-property label,
  26. .items--inline .form-item label {
  27. margin-bottom: 0;
  28. vertical-align: middle;
  29. font-weight: bold;
  30. word-break: break-all;
  31. padding-right: 1rem;
  32. display: table-cell;
  33. width: 160px;
  34. min-width: 160px;
  35. }
  36. .items--inline .form-item label + *,
  37. .items--inline .item-property label + *:not(.wrapper--status) {
  38. width: 100%;
  39. }
  40. .apigee-edge--form .form-item label.form-required::after {
  41. vertical-align: super;
  42. }
  43. /* This fixes the ui datepicker position when displayed in a modal. */
  44. .ui-datepicker {
  45. z-index: 1500 !important;
  46. }
  47. @media screen and (min-width: 768px) {
  48. .apigee-edge--form .form-checkboxes .form-item {
  49. width: 49%;
  50. display: inline-block;
  51. }
  52. }
  53. /* visually-hidden wrapper display problem. */
  54. .apigee-edge--form fieldset legend {
  55. margin-bottom: 0;
  56. border-bottom: none;
  57. }
  58. .apigee-edge--form .fieldset-legend {
  59. font-size: 120%;
  60. }
  61. .apigee-edge--form small .machine-name-value + .admin-link::before {
  62. content: ' ';
  63. }
  64. .form-wrapper.form-required::after {
  65. display: none;
  66. }
  67. .form-wrapper.form-required .panel-title::after,
  68. .form-wrapper.form-required .fieldset-legend::after {
  69. content: '';
  70. vertical-align: super;
  71. display: inline-block;
  72. background-image: url(../images/required.svg);
  73. background-repeat: no-repeat;
  74. background-size: 6px 6px;
  75. width: 6px;
  76. height: 6px;
  77. margin: 0 0.3em;
  78. }
  79. #edit-details-displayname-machine-name-suffix {
  80. display: none;
  81. }