This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$("#tab-select").tabs(); | |
$("#tab1").css("background-color", "#fff") | |
$("#tab2").css("background-color", "#D8D8D8") | |
}); | |
$(document).on('click', '#tab1', function() { | |
$("#tab1").css("background-color", "#fff") | |
$("#tab2").css("background-color", "#D8D8D8") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$('.Btn-0__txt').click(function(){ | |
$(this).spin(); | |
}) | |
}); | |
$('<%= j(render partial:'/items/paginate')%>').appendTo("#load_project").hide().fadeIn("slow"); | |
$("#load_more").replaceWith("<%= | |
j( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* item.css | |
webpack使ってscoped cssにしたい | |
*/ | |
.item { | |
width: 100%; | |
} | |
.item-text { | |
color: red; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>canvas test</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<style type="text/css"> | |
body { | |
font-size: 100px; | |
} | |
.canvas { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.wordWrap": "off", | |
"window.zoomLevel": 0, | |
"workbench.colorTheme": "Dracula", | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", // スペースの表示 | |
"editor.insertSpaces": true, | |
"workbench.iconTheme": "vs-seti", | |
"workbench.activityBar.visible": true, // default | |
"flow.pathToFlow": "./node_modules/.bin/flow", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--base-background-color: #242424; /* Dark Gray */ | |
--content-box-color: #323232; /* Slightly lighter Gray */ | |
--work-name-color: #E8E8E8; /* Light Gray for better contrast */ | |
--maker-name-color: #A9A9A9; /* Medium Gray */ | |
--svg-color: #888888; /* Gray */ | |
--main-bg: #252525; /* Dark Gray */ | |
--content-header-bg: #202020; /* Very Dark Gray */ | |
--content-box-bg: #404040; /* Medium Dark Gray */ | |
--main-text-color: #FFFFFF; /* White for better contrast */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Twitterの「パーソナライズされた興味」のチェックボックスを全てオフにする | |
var checkedCheckboxes = Array.from(document.querySelectorAll('input[type="checkbox"]')).filter(c => c.checked); | |
var loopId = setInterval(() => { | |
if (checkedCheckboxes.length === 0) { | |
clearInterval(loopId); | |
console.log("Completed. All checkboxes are unchecked."); | |
return; | |
} |
OlderNewer