2 @import "bootstrap-custom";
4 /* Styles common to large and small screens */
6 .fillL { background-color: white; }
8 /* Default rules for the body of every page */
11 font-family: 'Helvetica Neue',Arial,sans-serif;
12 font-size: $typeheight;
15 background-color: #fff;
31 #container { position: relative; }
35 margin: 0 0 $lineheight/2 0;
39 vertical-align: middle;
40 margin-right: $lineheight/4;
47 [dir=rtl] { /* no-r2 */ text-align: right; }
49 [dir=ltr] { /* no-r2 */ text-align: left; }
54 display: inline-block;
58 background: transparent image-url("sprite.png") no-repeat 0 0;
59 background-image: image-url("sprite.svg");
64 .icon.search { /* no-r2 */ background-position: 0 0; }
65 .icon.donate { /* no-r2 */ background-position: -20px 0; }
66 .icon.zoomin { /* no-r2 */ background-position: -40px 0; }
67 .icon.zoomout { /* no-r2 */ background-position: -60px 0; }
68 .icon.geolocate { /* no-r2 */ background-position: -80px 0; }
69 .active .icon.geolocate { /* no-r2 */ background-position: -80px -20px; }
70 .icon.layers { /* no-r2 */ background-position: -100px 0; }
71 .icon.key { /* no-r2 */ background-position: -120px 0; }
72 .icon.share { /* no-r2 */ background-position: -140px 0; }
73 .icon.clipboard { /* no-r2 */ background-position: -160px 0; }
74 .icon.link { /* no-r2 */ background-position: -180px 0; }
75 .icon.close { /* no-r2 */ background-position: -200px 0; }
76 .close-wrap:hover .icon.close,
77 .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
78 .icon.check { /* no-r2 */ background-position: -220px 0; }
79 .icon.note { /* no-r2 */ background-position: -240px 0; }
80 .icon.note.grey { /* no-r2 */ background-position: -240px -20px; }
81 .icon.query { /* no-r2 */ background-position: -260px 0; }
87 text-decoration: none;
88 -webkit-appearance: none;
91 text-decoration: underline;
95 /* General styles for tables */
99 margin-bottom: $lineheight;
102 padding: $lineheight/4;
103 line-height: $lineheight;
110 vertical-align: middle;
114 /* Utility for de-emphasizing content */
123 /* Rules for the header */
126 display: none !important;
128 background: image-url("menu-icon.png") no-repeat;
129 background-size: 30px 30px;
133 margin: 14px 10px 0 0;
138 height: $headerHeight;
143 h1, nav, nav > ul, nav > ul > li {
144 display: inline-block;
149 padding: $lineheight/2;
157 text-decoration: none;
164 vertical-align: middle;
190 .btn-outline-primary {
191 @include button-outline-variant($green, $white);
195 .btn-outline-primary {
200 border-top-color: $grey;
204 background-color: lighten($green, 30%);
209 // Small tweaks to the toggle to stop the primary colour showing through
210 // when the menu is shown
211 .show > .btn-outline-primary.dropdown-toggle {
212 background-color: $green;
213 border-color: $green;
216 box-shadow: 0 0 0 0.2rem fade-out($green, 0.5);
231 color: darken($darkgrey, 25%);
235 .btn-outline-secondary {
236 @include button-outline-variant($darkgrey);
241 .btn-outline-secondary {
242 @include button-outline-variant($darkgrey, $darkgrey, white, $darkgrey);
248 background-color: white;
252 &.show .btn-outline-secondary {
253 background-color: white;
260 img.user_thumbnail_tiny {
266 display: inline-block;
268 margin: 3px 0 3px 3px;
269 background-color: lighten($grey, 10%);
281 nav.primary, nav.secondary {
284 background-color: $green;
290 #compact-secondary-nav {
295 #compact-secondary-nav {
296 display: inline-block;
303 /* Utility for styling notification numbers */
306 padding: 2px $lineheight/4;
308 background: lighten($green, 30%);
314 /* Rules for the message shown in place of the map when javascript is disabled */
322 /* Rules for Leaflet maps */
324 .leaflet-control .control-button {
328 background-color: #333;
329 background-color: rgba(0,0,0,.6);
330 border-radius: 4px 0 0 4px;
335 background-color: black;
340 background-color: #333;
341 background-color: rgba(0,0,0,.5);
346 background-color: $vibrant-green;
354 .leaflet-control .zoomin,
355 .control-layers .control-button {
357 border-radius: 4px 0 0 0;
360 .leaflet-control .zoomout,
361 .control-key .control-button {
366 .control-locate .control-button,
367 .control-share .control-button {
368 border-radius: 0 0 0 4px;
371 /* Rules for the sidebar and main map area */
391 width: $sidebarWidth;
406 padding: $lineheight $lineheight $lineheight/2;
411 margin-top: $lineheight;
412 margin-bottom: $lineheight/2;
425 pointer-events: none;
450 .overlay-sidebar #sidebar {
478 padding: $lineheight/2 $lineheight $lineheight;
492 border-right: 1px solid #fff;
502 width: $sidebarWidth;
518 .leaflet-marker-draggable {
533 border-bottom: 1px solid $grey;
543 border:1px solid $grey;
548 border: 1px solid $grey;
550 border-top-color: $grey;
574 border: 2px solid #fff;
577 transition: border-color 0.08s ease-in;
584 border-bottom-right-radius: 3px;
588 text-stroke: 2px #fff;
589 background: rgba(255,255,255,.9);
591 input[type="radio"] {
596 &.active { border-color: darken($green, 10%); }
599 &.active { border-color: darken($green, 20%); }
609 li.disabled { color: $darkgrey; }
619 text-decoration: none;
620 background-color: $lightblue;
622 border-right: 1px solid #fff;
626 border-right: 1px solid #fff;
627 border-radius: 4px 0 0 4px;
631 border-radius: 0 4px 4px 0;
635 background-color: $blue;
647 font-family: monospace;
669 top: $lineheight/2 !important;
671 margin-right: 0px !important;
672 margin-top: 0px !important;
676 .leaflet-popup-scrolled {
677 padding-right: $lineheight;
678 border-bottom: 0px !important;
679 border-top: 0px !important;
682 .leaflet-popup-content-wrapper {
683 border-radius: 4px !important;
686 /* Rules for attribution text under the main map shown on printouts */
696 .attribution_license,
697 .attribution_project {
701 .attribution_notice {
705 .donate-attr { color: darken($green, 10%) !important; }
707 /* Rules for the sidebar */
711 padding: $lineheight/2 $lineheight;
712 // background: $offwhite;
713 // border-bottom: 1px solid $grey;
723 padding: $lineheight;
737 margin: $lineheight auto;
749 /* Rules for the search and direction forms */
751 header .search_forms,
759 padding: $lineheight/2;
760 background-color: $lightgrey;
765 border-radius: 2px 0 0 2px;
769 border-radius: 3px 0px 0px 3px;
775 transition: 300ms linear;
778 input[type=text].overflow {
784 box-shadow: 0px 0px 7px $vibrant-green;
787 input[type=submit].float {
791 border-radius: 0 2px 2px 0;
795 background-color: rgba($red, 0.4);
799 /* this next line is to polyfill the vertical alignment of text within a select element,
800 * which is different between firefox and chrome. */
837 select.routing_engines {
839 margin: 0px 0px 5px 25px;
854 margin: 0px 0px 5px 0px;
861 vertical-align: middle;
865 a.reverse_directions {
867 margin: 0px 0px 5px 25px;
871 /* Rules for the map key which appears in the popout sidebar */
874 .mapkey-table-key img {
880 padding: 0 $lineheight/4 $lineheight/4 $lineheight/4;
884 /* Rules for search sidebar */
886 #sidebar .search_results_entry {
889 &.selected { background: $list-highlight; }
892 .search_more .loader {
898 .search_results_error {
903 /* Rules for routing */
905 #sidebar_content>table {
906 padding: 5px 20px 10px 15px;
908 border-collapse: separate;
913 background-image: image-url('routing-sprite.png');
916 background-repeat: no-repeat;
918 @for $i from 0 through 25 {
919 div.direction.i#{$i} { background-position: #{($i)*-20}px 0px; }
923 padding: 0 $lineheight $lineheight/4;
926 td.instruction, td.distance {
927 padding-top: $lineheight/5;
928 padding-bottom: $lineheight/5;
929 border-bottom: 1px solid $grey;
940 background: $list-highlight;
942 .routing_engines, #route_from, #route_to { margin-left: 25px; }
943 .routing_marker { width: 15px; position: absolute; cursor: move; }
945 /* Rules for entity history */
950 border-bottom: $keyline;
958 /* Rules for the history sidebar */
960 #sidebar .changesets {
964 &.selected { background: $list-highlight; }
965 /* color is derived from changeset bbox fillColor in history.js */
977 .changeset_more .loader {
983 /* Rules for the browse sidebar */
987 padding: $lineheight/2 $lineheight;
988 border-bottom: 1px solid $grey;
992 word-wrap: break-word;
996 .browse-section:last-of-type {
1003 border: 1px solid $lightgrey;
1008 margin-bottom: 10px;
1011 padding: 5px 0 5px 10px;
1013 border: 1px solid $grey;
1014 border-radius: 4px 4px 0 0;
1015 background-color: $offwhite;
1021 background-color: #FFF;
1022 border: 1px solid $grey;
1024 border-radius: 0 0 4px 4px;
1029 background-color: $offwhite;
1030 border: 1px solid $grey;
1032 table-layout: fixed;
1033 border-collapse: separate;
1037 border-bottom: 1px solid $grey;
1040 tr:last-child th, tr:last-child td {
1048 word-wrap: break-word;
1049 white-space: pre-wrap;
1054 background-color: $offwhite;
1058 border-left: 1px solid $grey;
1059 background-color: #fff;
1062 .colour-preview-box {
1067 border: 1px solid rgba(0, 0, 0, .1);
1068 // add color via inline css on element: background-color: <tag value>;
1073 margin: 0 0 $lineheight/2 0;
1074 padding: 0 $lineheight/2;
1077 .note-comments li, .changeset-comments li {
1078 margin: $lineheight/2 0;
1081 margin: 10px 6px 0 6px;
1090 .subscribe-buttons {
1092 margin: 18px 10px 10px;
1096 .subscribe-buttons input {
1102 span.action-button:hover {
1104 text-decoration: underline;
1109 margin: 0 0 10px 10px;
1113 padding: $lineheight $lineheight $lineheight/2;
1118 padding-bottom: $lineheight/2;
1121 padding: 0 $lineheight;
1131 background: $list-highlight;
1138 /* Rules for export sidebar */
1141 padding: $lineheight;
1143 .export_area_inputs,
1148 .export_area_inputs {
1149 margin-bottom: $lineheight/2;
1150 input[type="text"] {
1158 background: $lightgrey;
1159 border: 1px solid $grey;
1162 #maxlat { margin-top: -1px; }
1165 /* no-r2 */ margin-left: -1px;
1169 /* no-r2 */ margin-right: -1px;
1171 #minlat { margin-bottom: 0; }
1175 margin: $lineheight/4;
1179 margin-top: $lineheight;
1180 margin-bottom: $lineheight;
1184 padding-left: $lineheight/2;
1187 margin-bottom: 10px;
1192 /* Rules for the routing sidebar */
1201 /* Rules for edit pages */
1217 /* Rules for non-map content pages */
1220 background: $lightgrey;
1224 h1, h2, h3, p, ul, ol {
1225 margin-bottom: $lineheight;
1229 margin-top: $lineheight/2;
1237 padding: $lineheight;
1240 /* Overrides for pages that use new layout conventions */
1246 .content-heading .content-inner {
1251 .header-illustration {
1252 background-position: 0 0;
1253 background-repeat: no-repeat;
1261 background-image: image-url("sign-up-illustration.png");
1265 background-image: image-url("confirm-illustration.png");
1269 background-image: image-url("terms-illustration.png");
1277 background-image: image-url("sign-up-illustration-arm.png");
1282 [dir=rtl] .header-illustration {
1283 transform: scaleX(-1);
1286 #content.maximised {
1295 /* Rules for small maps in content areas */
1301 border: 1px solid $grey;
1302 margin-bottom: $lineheight;
1306 /* Rules for the trace list shown by the traces tab etc */
1318 /* Rules for the new trace form */
1323 width: calc(100% - 150px);
1328 /* Rules for the edit trace form */
1331 .standard-form-row p {
1337 width: calc(100% - 150px);
1342 /* Rules for the user profile page */
1347 .userinformation-inner {
1362 .admin-user-info small {
1363 margin-bottom: $lineheight/2;
1365 margin-right: $lineheight;
1370 border-bottom: 1px solid $grey;
1371 padding-bottom: $lineheight;
1374 margin-bottom: $lineheight/2;
1379 margin-top: $lineheight;
1383 .activity-details p {
1389 // Silly exception; remove when user page is redesigned.
1393 p#no_home_location {
1394 margin: $lineheight;
1397 margin-top: $lineheight/4;
1402 /* Rules for the user map */
1404 .content_map .leaflet-popup-content {
1405 margin: $lineheight/2;
1409 /* Rules for user popups on maps */
1415 margin-top: 0 0 0 60px;
1418 img.user_thumbnail {
1420 margin: 0 $lineheight/2 0 0;
1424 /* Rules for the user list */
1430 vertical-align: middle;
1439 #user_list_actions {
1441 margin-top: $lineheight/2;
1444 /* Rules for the diary list page */
1448 padding-top: $lineheight;
1449 padding-bottom: $lineheight/2;
1450 border-top: 1px solid $grey;
1453 margin-top: $lineheight/2;
1457 background-color: #fee;
1461 margin-bottom: $lineheight;
1465 margin-bottom: $lineheight/2;
1469 img.user_thumbnail {
1480 padding-top: $lineheight;
1483 /* Rules for the diary entry page */
1490 border: 1px solid $grey;
1492 margin-bottom: $lineheight;
1495 border-top: 1px solid $grey;
1496 padding-top: $lineheight;
1497 margin-top: $lineheight/2;
1503 border-top: 1px dashed $grey;
1504 padding-top: $lineheight/2;
1505 padding-bottom: $lineheight/2;
1507 margin-top: $lineheight/2;
1508 padding-top: $lineheight;
1509 border-top: 1px solid $grey;
1512 background-color: #fee;
1515 margin-bottom: $lineheight/2;
1524 .diary_entries-show img.user_thumbnail {
1529 .diary-subscribe-buttons {
1535 /* Rules for the log in page */
1537 #login_auth_buttons {
1541 #login_auth_buttons li {
1543 padding: $lineheight/4 $lineheight/2;
1546 /* Rules for the account confirmation page */
1550 border: 1px solid $grey;
1551 padding: $lineheight;
1552 margin-bottom: $lineheight;
1557 list-style: inherit;
1561 list-style-type: lower-alpha;
1566 background: $lightblue;
1568 background: darken($lightblue, $hovercolor);
1573 /* Rules for the account settings page */
1575 #accountForm .user_map {
1579 border: 1px solid $grey;
1582 #accountForm .user_image {
1586 #accountForm #user_image {
1590 #accountForm ul.accountImage-options {
1603 display: inline !important;
1606 .content_map.settings_map {
1611 /* Rules for the oauth settings page */
1613 .oauth_clients .buttons .oauth-edit {
1614 border-radius: 2px 0 0 2px;
1617 .oauth_clients .buttons .oauth-delete {
1618 border-radius: 0 2px 2px 0;
1621 /* Rules for the oauth authorization page */
1623 .oauth-authorize ul {
1627 /* Rules for messages pages */
1631 border: 1px solid $grey;
1633 input[type="submit"] {
1637 border-top: 1px solid $grey;
1641 background: $offwhite;
1654 padding: $lineheight/4;
1665 border-right: 1px solid $lightgrey;
1669 .inbox-row .inbox-mark-read {
1674 margin-bottom: $lineheight;
1675 padding: $lineheight/4 0px 4px 0px;
1676 border-bottom: 1px solid $grey;
1683 .info-line .user_thumbnail_tiny {
1684 vertical-align: middle;
1688 white-space: nowrap;
1697 .inbox-row-unread .inbox-mark-unread {
1701 .messages-show .message-buttons {
1702 margin-top: $lineheight;
1703 margin-bottom: $lineheight * 1.5;
1704 padding-top: $lineheight;
1705 border-top: 1px solid $lightgrey;
1708 .messages-show .buttons .mark-unread-button {
1712 /* Rules for "flash" notice boxes shown at the top of the content area */
1715 padding: $lineheight;
1718 background-color: #ff7070;
1722 background-color: #ffe0cc;
1726 background-color: #CBEEA7;
1730 display: inline-block;
1731 margin-left: $lineheight / 2;
1732 vertical-align: middle;
1735 margin-top: $lineheight * 0.5;
1736 margin-bottom: $lineheight * 0.5;
1749 /* Rules for highlighting fields with rails validation errors */
1752 display: inline-block;
1758 background-color: #ff7070;
1761 /* Rules for rails validation error boxes */
1765 border: 2px solid #ff7070;
1766 padding: 0 $lineheight/2;
1767 margin-bottom: $lineheight;
1768 background-color: #f0f0f0;
1771 margin: 0 -10px 10px -10px;
1772 padding: $lineheight/4 $lineheight/4 $lineheight/4 15px;
1775 background-color: #c00;
1783 padding: $lineheight/4;
1787 /* Rules for forms */
1791 margin-bottom: $lineheight;
1793 label.standard-label {
1795 margin-bottom: $lineheight/4;
1796 font-size: $typeheight;
1800 label.standard-label.secondary {
1801 display: inline-block;
1802 font-weight: normal;
1805 font-weight: normal;
1812 margin-top: $lineheight;
1813 padding-top: $lineheight;
1814 border-top: 1px solid $lightgrey;
1816 .horizontal-list .standard-form-row {
1818 padding-right: 10px;
1820 .standard-form-row {
1821 margin-bottom: $lineheight/2;
1828 list-style-type: none;
1830 input[type="checkbox"],
1831 input[type="radio"] {
1837 #remember_me_openid {
1845 input[type="checkbox"],
1846 input[type="radio"] {
1851 input[type="email"],
1853 input[type="password"],
1856 background-color: #fff;
1857 border: 1px solid $grey;
1863 &.field_with_errors {
1864 border: 2px solid #ff7070;
1875 /* Rules for user images */
1880 border: 1px solid $grey;
1881 margin-bottom: $lineheight;
1883 margin-right: $lineheight;
1886 img.user_thumbnail {
1889 border: 1px solid $grey;
1890 margin-right: $lineheight;
1893 img.user_thumbnail_tiny {
1898 border: 1px solid $grey;
1901 /* Rules for geo microformats */
1904 border-bottom: none;
1907 /* General styles for action lists / subnavs / pager navs */
1909 ul.secondary-actions {
1915 display: inline-block;
1922 border-left: 1px solid $grey;
1923 padding-left: $lineheight/2;
1924 margin-right: $lineheight/2;
1935 div.secondary-actions {
1940 /* Utility for managing inner content areas */
1942 .inner22 { padding: $lineheight;}
1944 .inner12 { padding: $lineheight/2 $lineheight;}
1946 .inner11 { padding: $lineheight/2;}
1948 .inner20 { padding: $lineheight 0;}
1950 .inner02 { padding: 0 $lineheight;}
1952 /* Utility for general button styles */
1954 input[type="button"],
1955 input[type="submit"],
1956 input[type="reset"],
1960 display: inline-block;
1961 padding: $lineheight/4 $lineheight/2;
1962 min-height: 20px + $lineheight/2;
1964 margin: 0 0 $lineheight/2 0;
1970 background: darken($blue, $hovercolor);
1971 text-decoration: none;
1974 background: $lightblue;
1976 background: darken($lightblue, $hovercolor);
1980 background: $lightgrey;
1982 background: $lightgrey;
1990 input[type="button"],
1991 input[type="submit"],
1992 input[type="reset"] {
1993 line-height: normal;
2002 input[type="submit"],
2003 input[type="button"],
2004 input[type="reset"],
2007 box-sizing: border-box;
2013 border-right:1px solid white;
2014 text-overflow: ellipsis;
2015 white-space: nowrap;
2019 .button:first-child,
2020 .button_to:first-child {
2021 border-radius:2px 0 0 2px;
2025 .button_to:last-child {
2026 border-radius:0 2px 2px 0;
2027 border-right-width: 0;
2031 .button_to:only-child,
2032 *[value="Hide"] + input:last-child,
2033 *[value="Hide"] + .button:last-child,
2034 *[value="Hide"] + .button_to:last-child {
2036 border-right-width: 0;
2038 /* if a 3-button set has a hidden middle button */
2039 *[value="Hide"] + input:nth-child(3),
2040 *[value="Hide"] + .button:nth-child(3),
2041 *[value="Hide"] + .button_to:nth-child(3) {
2042 border-radius:0 2px 2px 0;
2043 border-right-width: 0;
2045 /* if a 3-button set starts with a hidden button */
2046 *[value="Hide"] + input:nth-child(2):not(:last-child),
2047 *[value="Hide"] + .button:nth-child(2):not(:last-child),
2048 *[value="Hide"] + .button_to:nth-child(2):not(:last-child) {
2049 border-radius:2px 0 0 2px;
2050 border-right-width: 1px;
2054 /* Rules for doing distinct colour of alternate table rows */
2058 background: $offwhite;
2066 /* Rules for OpenID logo */
2069 vertical-align: text-bottom;
2073 /* Rules for rich text */
2079 background: $lightgrey;
2085 background: $lightgrey;
2087 white-space: pre-wrap;
2095 padding: $lineheight;
2096 background-color: $offwhite;
2103 border-left: $lineheight solid $offwhite;
2104 padding-left: $lineheight;
2110 .diary_post .richtext {
2111 margin-top: $lineheight;
2114 .comments .richtext {
2119 /* Rules for rich text editors */
2121 input.richtext_title[type="text"] {
2123 width: calc(100% - 235px);
2125 @media only screen and (max-width:768px) {
2130 .richtext_container {
2131 margin-bottom: $lineheight;
2135 width: calc(100% - 235px);
2136 display: inline-block;
2137 vertical-align: top;
2139 @media only screen and (max-width:768px) {
2144 display: inline-block;
2145 padding: $lineheight;
2146 background-color: $offwhite;
2150 background-image: image-url("loading.gif");
2151 background-repeat: no-repeat;
2152 background-position: center;
2162 display: inline-block;
2163 vertical-align: top;
2165 background-color: $offwhite;
2166 padding: $lineheight/2;
2174 border-bottom: 1px solid $grey;
2175 margin-bottom: $lineheight/4;
2176 padding-bottom: $lineheight/4;
2179 li h4, li span, li p {
2180 display: inline-block;
2181 vertical-align: top;
2192 margin-left: $lineheight/2;
2193 margin-bottom: $lineheight/4;
2194 white-space: nowrap;
2199 /* Rules for the user notes list */
2203 background-color: $lightgrey;
2215 /* Rules for the iD editor */
2222 /* Rules for the "Welcome" page */
2223 .site-welcome, .site-fixthemap {
2233 background-image: image-url("welcome-sprite.png");
2234 background-size: 500px 250px;
2240 padding-bottom: 20px;
2242 margin-bottom: 10px;
2254 /* no-r2 */ background-position: -50px 0;
2259 vertical-align: middle;
2263 /* no-r2 */ background-position: -100px 0;
2267 /* no-r2 */ background-position: -150px 0;
2271 /* no-r2 */ background-position: -200px 0;
2275 /* no-r2 */ background-position: -250px 0;
2279 /* no-r2 */ background-position: -300px 0;
2283 /* no-r2 */ background-position: -350px 0;
2292 text-decoration: none;
2296 background-color: #333;
2301 .site-about #content {
2302 background-color: $lightgrey;
2303 background-position: 50% 50%;
2304 background-repeat: no-repeat;
2305 background-size: cover;
2306 background-attachment: fixed;
2323 padding: 170px 40px 20px;
2325 background: rgba(0, 0, 0, .8);
2335 color: $vibrant-green;
2345 background-position: 0 50%;
2346 background-repeat: no-repeat;
2347 background-image: image-url('about/osm.png');
2348 background-size: cover;
2349 background-color: $vibrant-green;
2359 padding: 20px 20px 20px 40px;
2360 font: 500 20px/24px Helvetica, Arial, sans-serif;
2361 white-space: nowrap;
2363 background: $vibrant-green;
2367 display: inline-block;
2377 vertical-align: middle;
2378 background: 40px 40px image-url('about/sprite.png') no-repeat;
2382 background-position: 0px 0px;
2386 background-position: 0px -40px;
2390 background-position: 0px -80px;
2394 background-position: 0px -120px;
2398 background-position: 0px -160px;
2402 background-position: -45px -160px;
2409 @media only screen and (max-width:960px) {
2410 .header-illustration.new-user-arm {
2416 background: $lightgrey;
2422 white-space: nowrap;