This commit is contained in:
cutls 2020-09-17 21:05:08 +09:00
parent 7795adf173
commit 35c10e0c7d
4 changed files with 1364 additions and 1865 deletions

View File

@ -1,11 +1,11 @@
/*アイコンをクリックした時とかにでてくるユーザーデータ*/ /*アイコンをクリックした時とかにでてくるユーザーデータ*/
#his-data { #his-data {
background-repeat: no-repeat; background-repeat: no-repeat;
background-image: url("../img/loading.svg"); background-image: url('../img/loading.svg');
overflow-y: hidden; overflow-y: hidden;
} }
#his-data .btn .material-icons{ #his-data .btn .material-icons {
float:left; float: left;
} }
#his-data-content { #his-data-content {
display: flex; display: flex;
@ -15,7 +15,6 @@
font-size: 1.5rem; font-size: 1.5rem;
} }
#his-prof { #his-prof {
float: left;
width: 7.7rem; width: 7.7rem;
margin-right: 0.4rem; margin-right: 0.4rem;
} }
@ -26,16 +25,20 @@
#his-float-data { #his-float-data {
height: 100%; height: 100%;
overflow-y: hidden; overflow-y: hidden;
} }
#his-leftside { #his-leftside {
width: 38.4rem; width: 28.4rem;
max-width: 30vw;
} }
#his-float-timeline { #his-float-timeline {
max-width: 59.6rem; max-width: 47.5rem;
min-width: calc(100% - 29.4rem);
height: 100%; height: 100%;
overflow-y: hidden; overflow-y: hidden;
} }
#his-basic-prof { #his-basic-prof {
display: flex;
min-height: 10rem; min-height: 10rem;
} }
#his-field { #his-field {
@ -61,7 +64,7 @@
padding-left: 0.4rem; padding-left: 0.4rem;
} }
.his-var-content a span.ellipsis:after { .his-var-content a span.ellipsis:after {
content: "..."; content: '...';
} }
.his-var-content a:not(.mention) span:last-of-type { .his-var-content a:not(.mention) span:last-of-type {
display: none; display: none;
@ -90,10 +93,10 @@
padding-bottom: 60px; padding-bottom: 60px;
} }
#my-data-nav .btn { #my-data-nav .btn {
width: 10.7rem; width: 10.6rem;
} }
.active-back { #my-data-nav .active-back {
background-color: var(--active); display: none;
} }
#his-name .emojione, #his-name .emojione,
#his-name .emoji-img { #his-name .emoji-img {
@ -123,13 +126,13 @@
flex-wrap: wrap; flex-wrap: wrap;
} }
#his-sign-action .btn { #his-sign-action .btn {
flex-basis: 31.2%; flex-basis: calc(50% - 10.6px);
} }
#his-des .mention { #his-des .mention {
color: #039be5; color: #039be5;
cursor: pointer; cursor: pointer;
} }
#his-table{ #his-table {
max-height: 11.538rem; max-height: 11.538rem;
overflow-y: scroll; overflow-y: scroll;
} }
@ -140,12 +143,17 @@
font-size: 2rem; font-size: 2rem;
height: 100%; height: 100%;
} }
#hisdropdown{ #hisdropdown {
background-color: var(--bg); background-color: var(--bg);
} }
#hisdropdown li a { #hisdropdown li a {
color: white; color: white;
} }
#hisdropdown li:hover{ #hisdropdown li:hover {
background-color: var(--active); background-color: var(--active);
} }
#his-data-title {
width: 100%;
text-align: center;
font-size: 1.5rem;
}

View File

@ -554,6 +554,8 @@ function reset() {
$("#my-data-nav .anc-link").on("click", function() { $("#my-data-nav .anc-link").on("click", function() {
var target = $(this).attr("go") var target = $(this).attr("go")
if (target) { if (target) {
const title = $(this).html()
$('#his-data-title').html(title)
$("#my-data-nav .anc-link").removeClass("active-back") $("#my-data-nav .anc-link").removeClass("active-back")
$(this).addClass("active-back") $(this).addClass("active-back")
$(target).show() $(target).show()

View File

@ -144,7 +144,7 @@ function css(mainWindow) {
hisData + hisData +
";--active:" + active + ";--postbox:" + postbox + ";--modalfooter:" + ";--active:" + active + ";--postbox:" + postbox + ";--modalfooter:" +
modalFooter + ";--selected:" + selected + ";--selectedWithShare:" + selectedWithShare + modalFooter + ";--selected:" + selected + ";--selectedWithShare:" + selectedWithShare +
"--gray:" + gray + ";}" + ";--gray:" + gray + ";}" +
".customtheme #imagemodal{background: url(\"../img/pixel.svg\");}"; ".customtheme #imagemodal{background: url(\"../img/pixel.svg\");}";
} else { } else {
var css = compatibleTheme(json) var css = compatibleTheme(json)

File diff suppressed because it is too large Load Diff