Changeset View
Changeset View
Standalone View
Standalone View
swh/web/assets/src/bundles/browse/browse.css
/** | /** | ||||
* Copyright (C) 2018-2019 The Software Heritage developers | * Copyright (C) 2018-2019 The Software Heritage developers | ||||
* See the AUTHORS file at the top-level directory of this distribution | * See the AUTHORS file at the top-level directory of this distribution | ||||
* License: GNU Affero General Public License version 3, or any later version | * License: GNU Affero General Public License version 3, or any later version | ||||
* See top-level LICENSE file for more information | * See top-level LICENSE file for more information | ||||
*/ | */ | ||||
.swh-browse-nav li a { | .swh-browse-nav li a { | ||||
border-radius: 4px; | border-radius: 4px; | ||||
} | } | ||||
.scrollable-menu { | .scrollable-menu { | ||||
max-height: 180px; | max-height: 180px; | ||||
overflow-x: hidden; | overflow-x: hidden; | ||||
} | } | ||||
.swh-corner-ribbon { | |||||
width: 200px; | |||||
background: #fecd1b; | |||||
color: #e20026; | |||||
position: absolute; | |||||
text-align: center; | |||||
line-height: 50px; | |||||
letter-spacing: 1px; | |||||
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); | |||||
top: 55px; | |||||
right: -50px; | |||||
left: auto; | |||||
transform: rotate(45deg); | |||||
z-index: 2000; | |||||
} | |||||
.swh-loading { | .swh-loading { | ||||
display: none; | display: none; | ||||
text-align: center; | text-align: center; | ||||
margin-top: 10px; | margin-top: 10px; | ||||
} | } | ||||
.swh-loading.show { | .swh-loading.show { | ||||
display: block; | display: block; | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
td.swh-branch-message { | td.swh-branch-message { | ||||
min-width: 500px; | min-width: 500px; | ||||
max-width: 500px; | max-width: 500px; | ||||
} | } | ||||
td.swh-branch-date { | td.swh-branch-date { | ||||
min-width: 250px; | min-width: 250px; | ||||
} | } | ||||
@media screen and (max-width: 600px) { | |||||
.swh-corner-ribbon { | |||||
line-height: 30px; | |||||
top: 53px; | |||||
right: -65px; | |||||
} | |||||
} |