Project

General

Profile

Feature #2499 » 2499.patch

Go MAEDA, 2024-09-25 08:54

View differences:

app/assets/stylesheets/application.css
6 6

  
7 7
html, body { min-height: 100vh; }
8 8
html {overflow-y:scroll;}
9
body { font-family: Verdana, sans-serif; font-size: 12px; color:#333; margin: 0; padding: 0; min-width: 900px; }
9
body { font-family: Verdana, sans-serif; font-size: 0.75rem; color:#333; margin: 0; padding: 0; min-width: 900px; }
10 10

  
11 11
h1, h2, h3, h4, h5, h6 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
12 12
#content h1, h2, h3, h4, h5, h6 {color: #555;}
13
h2 {font-size: 20px;}
14
h3 {font-size: 16px;}
15
h4 {font-size: 13px; border-bottom: 1px solid #ccc; font-weight:normal;}
13
h2 {font-size: 1.25rem;}
14
h3 {font-size: 1rem;}
15
h4 {font-size: 0.8125rem; border-bottom: 1px solid #ccc; font-weight:normal;}
16 16
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
17 17
.wiki h1 {font-size: 2em;}
18 18
.wiki h2 {font-size: 1.8em;}
......
120 120
@media screen and (min-width: 1600px) and (max-width: 1919px) {#sidebar{width: 320px;}}
121 121
@media screen and (min-width: 1920px) and (max-width: 2559px) {#sidebar{width: 360px;}}
122 122
@media screen and (min-width: 2560px) {#sidebar{width: 380px;}}
123
#sidebar h3{ font-size: 14px; margin-top:14px; color: #666;  }
123
#sidebar h3{ font-size: 0.875rem; margin-top:14px; color: #666;  }
124 124
#sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
125 125
* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
126 126
#sidebar .contextual { margin-right: 1em; }
......
430 430
#message_subject { max-width: 99%; }
431 431

  
432 432
#query_form_content {font-size:90%;}
433
#query_form_with_buttons > p.contextual {font-size:12px; margin:12px 0px;}
433
#query_form_with_buttons > p.contextual {font-size:0.75rem; margin:12px 0px;}
434 434

  
435 435
.query_sort_criteria_count {
436 436
  display: inline-block;
......
578 578
blockquote blockquote { margin-left: 0;}
579 579
abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; }
580 580
textarea.wiki-edit {width:99%; resize:vertical; box-sizing: border-box;}
581
body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;}
582
body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;}
581
body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 0.75rem;}
582
body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size:  0.75rem;}
583 583
li p {margin-top: 0;}
584 584
div.issue {
585 585
  background: #ffffdd;
......
804 804
#projects-index ul.projects div.root a.project {
805 805
  font-family: "Trebuchet MS", Verdana, sans-serif;
806 806
  font-weight: bold;
807
  font-size: 16px;
807
  font-size: 1rem;
808 808
  margin: 0 0 10px 0;
809 809
  /* @ToDo: Remove below lines when legacy icon styles are removed */
810 810
  background-image: none;
......
923 923
.tabular textarea {width:95%; resize:vertical;}
924 924
input#twofa_code, img#twofa_code { width: 140px; }
925 925
ul.twofa_backup_codes { list-style-type: none; padding: 0; display: inline-block; columns: 14em 2;}
926
ul.twofa_backup_codes code { font-size: 16px; line-height: 2em }
926
ul.twofa_backup_codes code { font-size: 1rem; line-height: 2em }
927 927

  
928 928
.tabular label{
929 929
  font-weight: bold;
......
1451 1451
div.wiki ul.toc.left  { float: left; margin-right: 12px; margin-left: 0; width: auto; clear: left
1452 1452
  ; }
1453 1453
div.wiki ul.toc ul { margin: 0; padding: 0; }
1454
div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
1454
div.wiki ul.toc li {list-style-type:none; margin: 0; font-size: 0.75rem;}
1455 1455
div.wiki ul.toc>li:first-child {margin-bottom: .5em; color: #777;}
1456
div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
1456
div.wiki ul.toc li li {margin-left: 1.5em; font-size: 0.625rem;}
1457 1457
div.wiki ul.toc a {
1458 1458
  font-size: 0.9em;
1459 1459
  font-weight: normal;
......
1618 1618
.badge {
1619 1619
  position:relative;
1620 1620
  font-weight:bold;
1621
  font-size: 10px;
1621
  font-size: 0.625rem;
1622 1622
  bottom: 4px;
1623 1623
  padding: 1px 3px;
1624 1624
  margin-right: 2px;
......
1695 1695

  
1696 1696
svg {
1697 1697
  &.s20 {
1698
    width: 18px;
1699
    height: 18px;
1698
    width: 1.25rem;
1699
    height: 1.25rem;
1700 1700
  }
1701 1701

  
1702 1702
  &.s18 {
1703
    width: 18px;
1704
    height: 18px;
1703
    width: 1.125rem;
1704
    height: 1.125rem;
1705 1705
  }
1706 1706

  
1707 1707
  &.s14 {
1708
    width: 14px;
1709
    height: 14px;
1708
    width: 0.875rem;
1709
    height: 0.875rem;
1710 1710
  }
1711 1711

  
1712 1712
  &.s12 {
1713
    width: 12px;
1714
    height: 12px;
1713
    width: 0.75rem;
1714
    height: 0.75rem;
1715 1715
  }
1716 1716
}
1717 1717

  
......
1743 1743
  overflow: hidden;
1744 1744
  padding-top: 0;
1745 1745
  padding-bottom: 0;
1746
  font-size: 8px;
1746
  font-size: 0.5rem;
1747 1747
  vertical-align: middle;
1748 1748
}
1749 1749
.icon-only:not(:has(svg))::after {
app/assets/stylesheets/responsive.css
71 71
  select,
72 72
  textarea,
73 73
  button {
74
    font-size: 14px;  /* Set font-size for standard elements to 14px */
74
    font-size: 0.875rem;  /* Set font-size for standard elements to 0.875rem (14px) */
75 75
  }
76 76

  
77 77
  select {
......
183 183
    left:0px;
184 184
    top:64px;
185 185
    width:100%;
186
    font-size:15px;
186
    font-size:0.9375rem;
187 187
    font-weight:normal;
188 188
  }
189 189
  #project-jump .drdn-content .autocomplete {
190 190
    height:40px;
191
    font-size:20px;
191
    font-size:1.25rem;
192 192
  }
193 193
  #project-jump .drdn-content a {
194 194
    padding:8px;
......
231 231
  \*----------------------------------------*/
232 232

  
233 233
  .mobile-toggle-button {
234
    font-size: 42px;
234
    font-size: 2.625rem;
235 235
    line-height: 64px;
236 236

  
237 237
    position: relative;
......
273 273
  }
274 274

  
275 275
  .search-magnifier--flyout {
276
    font-size: 25px;
276
    font-size: 1.5625rem;
277 277
    line-height: 54px;
278 278

  
279 279
    position: absolute;
......
301 301

  
302 302
  /* avoid zoom on search input focus for ios devices */
303 303
  .flyout-menu input[type='text'] {
304
    font-size: 16px;
304
    font-size: 1rem;
305 305
  }
306 306

  
307 307
  .flyout-menu h3 {
308
    font-size: 11px;
308
    font-size: 0.6875rem;
309 309
    line-height: 19px;
310 310

  
311 311
    height: 20px;
(2-2/5)